{{--
--}}
{{--
--}}
{{--
Using the most basic table markup.
--}}
NO.: |
{{$requisition->id}} |
Initiator: |
{{$requisition->initiator}} |
Requested On: |
{{\Carbon\Carbon::parse($requisition->date)->toFormattedDateString()}} |
Required On: |
{{\Carbon\Carbon::parse($requisition->required_date)->toFormattedDateString()}} |
Uses: |
{{$requisition->request_for}} |
Initiator Remark: |
{{nl2br($requisition->remarks)}} |
{{--
--}}
Account |
Currency |
Amount |
|
{{--*/ $total_driver_payable = 0 /*--}}
@foreach($requisition->requisitionItems as $index_=>$requisition_item)
@if($requisition_item->requisitionItemAccount)
{{$requisition_item->requisitionItemAccount->account->name}} |
{{$requisition_item->currency}} |
{{number_format($requisition_item->requisitionItemAccount->amount)}}
{{--*/ $total_driver_payable += $requisition_item->requisitionItemAccount->amount /*--}}
|
X
|
@else
@endif
@endforeach
Total amount |
{{$total_driver_payable}} |
|
Item |
Currency |
Quantity |
|
{{--*/ $total_items = 0 /*--}}
@foreach($requisition->requisitionItems as $index=>$requisition_item)
@if($requisition_item->requisitionItemItem)
{{$requisition_item->requisitionItemItem->item->name}} |
{{$requisition_item->currency}} |
{{number_format($requisition_item->requisitionItemItem->quantity)}} |
{{--*/ $total_items +=$requisition_item->requisitionItemItem->quantity /*--}}
X
|
@endif
@endforeach