@extends('frontend.layouts.master') @section('title') Career @endsection @section('content')

Job opportunities

@if(count($careers) > 0) @foreach($careers as $index=>$career)
{{ $index + 1 }}

{{ucwords(@$career->name)}}

Position: @if(@$career->type=="part_time") Part Time @else Full Time @endif
@if(@$career->end_date)
Apply until: {{date('M j, Y',strtotime(@$career->end_date))}}
@else
Apply until: {{date('M j, Y', strtotime('+3 days', strtotime(date("Y-m-d"))))}}
@endif @if(@$career->salary)
Salary: {{$career->salary}}
@endif
@if($career->from_link) Apply Now @else Contact us @endif
@endforeach
{{ $careers->links('vendor.pagination.default') }}
@endif
@endsection