@include('site.client.controllers.upper-header') @include('site.client.controllers.header')

@lang('data.orderInfo')

@lang('data.numberToOrder')

{{ $row->code }}

@lang('data.orderDate')

{{\Carbon\Carbon::parse($row->created_at)->toDateString()}}

@lang('data.askingPrice')

{{$row->total_price}}

@lang('data.workerInfo')

@if($row->cv)
{{$row->cv->name}}
@lang('data.job') :{{$row->cv->job_title->name[App::getLocale()]}}

@lang('data.age') : {{$row->cv->age}} @lang('data.nationality') : {{$row->cv->nationality->name[App::getLocale()]}}

@lang('data.details')
@else
@lang('data.worker_name')

{{ $row->order_worker ? $row->order_worker->name : "Worker Deleted "}}

@lang('data.mobile')

{{$row->order_worker ? $row->order_worker->mobile : "worker deleted"}}

@lang('data.anotherMobileNumber')

{{$row->order_worker ? $row->order_worker->another_mobile : 'worker deleted'}}

@lang('data.address')

{{$row->order_worker ? $row->order_worker->address : 'worker deleted'}}

@lang('data.passportNumber')

{{$row->order_worker ? $row->order_worker->passport_number : 'worker deleted'}}

@lang('data.passportStart')

{{$row->order_worker ? $row->order_worker->passport_start : 'worker deleted'}}

@lang('data.passportEnd')

{{$row->order_worker ? $row->order_worker->passport_end : 'worker deleted'}}

@lang('data.type')

@if($row->order_worker) {{$row->order_worker->gender == 'male' ? 'رجل' : 'انثي'}} @else worker deleted @endif

@lang('data.nameFamilyMember')

{{$row->order_worker ? $row->order_worker->name_family_member : 'worker deleted'}}

@lang('data.mobileFamilyMember')

{{$row->order_worker ? $row->order_worker->mobile_family_member : 'worker deleted'}}

@lang('data.addressFamilyMember')

{{$row->order_worker ? $row->order_worker->address_family_member : 'worker deleted'}}

@lang('data.city')

{{$row->order_worker ? $row->order_worker->city->title['ar'] : 'worker deleted'}}

@lang('data.job')

{{$row->order_worker ? $row->order_worker->job_title->name['ar'] : 'worker deleted'}}

@lang('data.image')
@lang('data.passport_attachment')
@endif

@lang('data.processes')

@foreach($processes as $process) @endforeach
@lang('data.processes') @lang('data.startDate') @lang('data.endDate') @lang('data.status')
{{$process->process}} {{$process->start_date}} {{$process->end_date}} {{App::getLocale() == 'ar' ? process_order_status($process->status) : $process->status}}
@if($travel)

@lang('data.travel')

@lang('data.flightNumber')

{{$travel->number_flight}}

@lang('data.flightDate')

{{$travel->date_flight}}

@lang('data.flightArrive')

{{$travel->date_arrive_flight}}

@lang('data.destination')

{{$travel->destination}}

@lang('data.came_from')

{{$travel->came_from}}

@lang('data.visaNumber')

{{$travel->visa_number}}

@lang('data.visaStart')

{{$travel->visa_start}}

@lang('data.visaEnd')

{{$travel->visa_end}}

@endif

@lang('data.updateRequests')

@foreach($updates as $update) @endforeach
@lang('data.updateDate') @lang('data.foreignMessage') @lang('data.officeMessage')
{{\Carbon\Carbon::parse($update->created)->toDateString()}} {{$update->message && isset($update->message['en']) ? $update->message['en'] : 'لم تحدد بعد'}} {{$update->message && isset($update->message['ar']) ? $update->message['ar'] : 'لم تحدد بعد'}}
@lang('data.updateOrder')
@include('site.client.controllers.footer')