{{$company->company_name}}

{{$company->company_address}},
{{$company->city}}, Tanzania
Mob: {{$company->compny_phone}}
Email: {{$company->company_email}}

WORK-SHOP REQUISITION

REQ#. : {{$requisition->id}}
Created By. : {{$requisition->initiator}}
Date : {{\Carbon\Carbon::parse($requisition->date)->toFormattedDateString()}}
REQUESTED ITEMS
{{--*/ $total_amount = 0 /*--}} {{--*/ $total_amount_usd = 0 /*--}} {{--*/ $total_amount_tsh = 0 /*--}} {{--*/ $exchange_rate = 2250 /*--}} {{--*/ $currency = 'TSH' /*--}} @foreach($requisition->requisitionItems as $index=>$requisition_item) {{--*/ $loading_order_item = $route_assignment->loadingOrderItem /*--}} {{--*/ $vehicle_id = $loading_order_item->vehicle_id /*--}} {{----}} {{--@if($index == 0)--}} {{----}} {{--@elseif($index == 1)--}} {{----}} {{--@else--}} {{----}} {{--@endif--}} {{----}} {{--*/ $total_amount += $requisition_item->requisitionItemAccount->amount /*--}} {{--*/ $total_amount_usd += $sub_total_usd /*--}} {{--*/ $total_amount_tsh += $sub_total_tsh /*--}} @endforeach
S/N SparePart Description Cost Center Currency Amount
{!! $loading_order_item !!}
{{$requisition_item->id}} {{$requisition_item->requisitionItemAccount->account->name ? $requisition_item->requisitionItemAccount->account->name : $requisition_item->requisitionItemItem->item->name }} {{$requisition_item->remarks != '' ? $requisition_item->remarks : $requisition->remarks }}T327 DPYT940 DPXT957 DPX{{$requisition_item->requisitionItemCostCenter->costCenter->name ? $requisition_item->requisitionItemCostCenter->costCenter->name : $requisition_item->requisitionItemDepartment->department->dept_name}} {{$requisition_item->currency}} {{ $requisition_item->requisitionItemAccount->amount ? number_format($requisition_item->requisitionItemAccount->amount,2) : number_format(($requisition_item->requisitionItemItem->quantity * $requisition_item->requisitionItemItem->rate), 2)}}
TOTAL {{number_format($total_amount ? $total_amount : $amount_total ,2)}}
{{----}}