@extends('layouts.main_without_top_button', ['title' => 'Emergence Fue Requisitions | LOGISTICS']) @section('navigation') @stop @section('title', 'Emergence Fue Requisition') @section('contentinner')
NO: {{ str_pad($requisition->id, 5, 0, STR_PAD_LEFT) }} Initiator: {{ $requisition->initiator}}
Requested: {{\Carbon\Carbon::parse($requisition->date)->toFormattedDateString()}} Required: {{\Carbon\Carbon::parse($requisition->required_date)->toFormattedDateString()}}
Uses: {{ $requisition->request_for }} Initiator Remark: {{ nl2br($requisition->remarks) }}
{{--
--}} {{--
--}} {{----}} {{--
--}} {{----}} {{--
--}} {{--
--}} {{--
--}} {{--
--}}
{{-- - 15 --}} {{--*/ $total_driver_payable = 0 /*--}} @foreach($requisition->requisitionItems as $index_=>$requisition_item) @if($requisition_item->requisitionItemAccount) @else @endif @endforeach
S/N Account Currency AmountCr Account 
{{++$index_}} {{$requisition_item->requisitionItemAccount->account->name}} {{$requisition_item->currency}} {{number_format($requisition_item->requisitionItemAccount->amount)}} {{--*/ $total_driver_payable += $requisition_item->requisitionItemAccount->amount /*--}} X
Total amount
{{--*/ $total_ammount = 0 /*--}} @foreach($emergence_fuel->emergenceFuelItems as $index => $item) {{--*/ $sub_ammount = ($emergence_fuel->price * $item->quantity) /*--}} {{--*/ $total_ammount += $sub_ammount /*--}} @endforeach
S/N Vehicle Quantity (Ltrs) Rate/Litres Amount Remarks
{{ ++$index }} {{ $item->vehicle->registration_number }} {{ number_format($item->quantity, 2) }} {{ number_format($emergence_fuel->price, 2) }} {{ number_format($sub_ammount, 2) }}
Total amount {{ number_format($total_ammount, 2) }}
@if(($requisition->status != 1 || $requisition->status != 7 || $requisition->status != 8) && Auth::user()->can('CANCEL OR REJECT REQUEST') ) REJECT @endif
@stop