{{--*/ $cargo_detail = $route_assignment->loadingOrderDestinationRouteAssignments[0] /*--}} {{--*/ $loose_cargo = $cargo_detail->loadingOrderDestination->loadingOrderDestinationLooseCargo[0] /*--}} {{--*/ $cash_plan = $cargo_detail->loadingOrderDestination->loadingOrderDestinationShortageDeductionPlan()->where('type','CASH')->first() /*--}} {{--*/ $salary_plan = $cargo_detail->loadingOrderDestination->loadingOrderDestinationShortageDeductionPlan()->where('type','SALARY')->first() /*--}} {{--*/ $trip_plan = $cargo_detail->loadingOrderDestination->loadingOrderDestinationShortageDeductionPlan()->where('type','TRIP')->first() /*--}} {{--*/ $off_loads = $loading_order_destination_loose_cargo_offload /*--}} {{--*/ $upungufu = $loose_cargo->quantity - $off_loads->quantity /*--}} {{--*/ $destination_order_offload = $cargo_detail->loadingOrderDestination->destinationOrderOffload /*--}} {{--*/ $loading_order_item = $cargo_detail->loadingOrderDestination->loadingOrderItem /*--}}
MAC/{{\Carbon\Carbon::parse($route_assignment->created_at)->month}} @if($loading_order_item->delivery_order_number) /{{$loading_order_item->delivery_order_number}} @else /0000 @endif /{{$loading_order_item->cargo_type}} /{{$loading_order_item->id}}/{{\Carbon\Carbon::parse($route_assignment->created_at)->year}}

YAH: UPUNGUFU MZIGO (VIFURUSHI) VYA NGANO/MBOLEA/SEMENT/KEMIKALI
Mimi Dereva {{$route_assignment->driver_names}} ninaeendesha gari no {{$route_assignment->truck_registration}} wa
kampuni ya {{$company->company_name}} wa S.L.P 127
Morogoro, nilipakia Mzigo wa {{$route_assignment->client}} tarehe {{\Carbon\Carbon::parse($loading_order_item->date)->day}} / {{\Carbon\Carbon::parse($loading_order_item->date)->month}} / {{\Carbon\Carbon::parse($loading_order_item->date)->year}}.
Kutoka {{$route_assignment->getLoadingOrderItem()->city->name}}, {{$route_assignment->getLoadingOrderItem()->city->country->name}} kuupeleka {{$route_assignment->destination->name}}, {{$route_assignment->destination->country->name}} nilishusha mzigo tarehe {{\Carbon\Carbon::parse($destination_order_offload->date)->day}} / {{\Carbon\Carbon::parse($destination_order_offload->date)->month}} / {{\Carbon\Carbon::parse($destination_order_offload->date)->year}}.
Nimeufikisha mzigo huo ukiwa na upungufu wa mifuko {{$upungufu}} Na Upungufu huo ni
sawa na Tshs {{number_format($upungufu*$off_loads->rate)}} /=
Nikiwa na Akili timamu nakubali upungufu huo na pia nakubali kulipa Tshs {{number_format($upungufu*$off_loads->rate)}} /= na kiasi cha Tshs ..................... kukatwa katika mshahara wangu wa kila mwezi na Tshs .................... kutoka katika pesa ya safari mpaka deni hilo limalizike.
Na naahidi sitaleta upungufu wowote,kuanzia leo tarehe {{\Carbon\Carbon::now()->day}} / {{\Carbon\Carbon::now()->month}} / {{\Carbon\Carbon::now()->year}}.
Jina la dereva {{$route_assignment->driver_names}}
Sahihi ya dereva ……………………………………………
Dole gumba ……………………………………….
Tarehe {{\Carbon\Carbon::now()->toFormattedDateString()}}