{{$company->company_name}}

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

TRANSFER ORDER REQUISITION

REQ#. : {{$requisition->id}}
Created By. : {{$requisition->initiator}}
Date : {{\Carbon\Carbon::parse($requisition->date)->toFormattedDateString()}}
Transfer Order : {{ \App\Logistics\Facades\Logistics::add_leading_zeros($transfer_order_requisition->transferOrder->id)}}
Source Warehouse : {{$transfer_order_requisition->transferOrder->source_warehouse->name}}
Destination Warehouse : {{$transfer_order_requisition->transferOrder->destination_warehouse->name}}
REQUESTED ITEMS
@if($last_requisition_approval) @foreach($last_requisition_approval->requisitionApprovalItems as $index=>$requisition_approval_items) {{----}} @endforeach @endif @foreach($requisition->requisitionItems as $index=>$requisition_item) @if(!$requisition_item->is_approved) @if($requisition_item->is_rejected) @else @endif @endif @endforeach @if($rejected_amount_total > 0) @endif
S/N Status Item Description Allocation Quantity UOM Currency Rate Amount
{{++$number}} Approved {{$requisition_approval_item->requisitionApprovalItemItem->item->name }}{{$requisition->remarks}}{{''}} {{$requisition_approval_item->requisitionItem->requisitionItemCostCenter->costCenter->name}} {{$requisition_approval_item->requisitionApprovalItemItem->quantity}} {{$requisition_approval_item->requisitionApprovalItemItem->item->units}} {{'TSH'}} {{number_format($requisition_approval_item->requisitionApprovalItemItem->rate, 2)}} {{ number_format(($requisition_approval_item->requisitionApprovalItemItem->quantity*$requisition_approval_item->requisitionApprovalItemItem->rate), 2)}}
{{++$number}} Rejected {{$requisition_item->requisitionItemAccount->account->name ? $requisition_item->requisitionItemAccount->account->name : $requisition_item->requisitionItemItem->item->name }} {{$requisition_item->remarks != '' ? $requisition_item->remarks : $requisition->remarks }} {{$requisition_item->requisitionItemCostCenter->costCenter->name ? $requisition_item->requisitionItemCostCenter->costCenter->name : $requisition_item->requisitionItemDepartment->department->dept_name}} {{$requisition_item->requisitionItemItem->quantity}} {{$requisition_item->requisitionItemItem->item->unit->name}} {{$requisition_item->currency}} {{number_format($requisition_item->requisitionItemItem->item->stock_price, 2)}} {{ number_format(($requisition_item->requisitionItemItem->quantity * $requisition_item->requisitionItemItem->item->stock_price), 2)}}{{++$number}} Pending {{$requisition_item->requisitionItemAccount->account->name ? $requisition_item->requisitionItemAccount->account->name : $requisition_item->requisitionItemItem->item->name }} {{$requisition_item->remarks != '' ? $requisition_item->remarks : $requisition->remarks }} {{$requisition_item->requisitionItemCostCenter->costCenter->name ? $requisition_item->requisitionItemCostCenter->costCenter->name : $requisition_item->requisitionItemDepartment->department->dept_name}} {{$requisition_item->requisitionItemItem->quantity}} {{$requisition_item->requisitionItemItem->item->unit->name}} {{$requisition_item->currency}} {{number_format($requisition_item->requisitionItemItem->item->stock_price, 2)}} {{ number_format(($requisition_item->requisitionItemItem->quantity * $requisition_item->requisitionItemItem->item->stock_price), 2)}}
TOTAL {{number_format($amount_total ? $amount_total : $amount_total ,2)}}
TOTAL {{number_format(($amount_total - $rejected_amount_total > 0 ? $amount_total - $rejected_amount_total : 0) ,2)}}
{{----}}