{{$company->company_name}}

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

NORMAL 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 Account Description Cost Center Quantity UOM Currency Rate 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}} {{number_format($requisition_item->requisitionItemItem->quantity)}} {{$requisition_item->unit_of_measurement ? $requisition_item->unit_of_measurement->name : '' }} {{$requisition_item->currency}} {{number_format($requisition_item->requisitionItemItem->rate, 2)}} {{ $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($quantity_total)}} {{number_format($total_amount ? $total_amount : $amount_total ,2)}}
{{----}}