REQ#. : | {{$requisition->id}} | |
Created By. : | {{$requisition->initiator}} | |
Date : | {{\Carbon\Carbon::parse($requisition->date)->toFormattedDateString()}} |
REQUESTED ITEMS
FINE DETAILS | ACCOUNT'S DESCRIPTION | TOTAL | ||||||
---|---|---|---|---|---|---|---|---|
S/N | Driver | Truck | Narrations | Related To | Accounted As | TSH | ||
{{++$index}} | {{$requisition_item_taffic_fine_item->companyTrafficFine->driver}} | {{$requisition_item_taffic_fine_item->companyTrafficFine->truck}} | @endif{{$requisition_item_taffic_fine_item->companyTrafficFine->traffic_offence}} | {{$requisition_item_taffic_fine_item->companyTrafficFine->category}} | @if($first == $key){{$requisition_item->requisitionItemAccount->account->name}}
@if(!empty($requisition_item->remarks))
({{$requisition_item->remarks}} ) @elseif($requisition->remarks) ({{$requisition->remarks}} ) @endif |
@endif
{{--*/ $sub_total = 0 /*--}}
{{--*/ $sub_total_usd = 0 /*--}}
{{--*/ $amount = 0 /*--}}
{{--*/ $sub_total += 0 /*--}}
{{--*/ $currency = 'TSH' /*--}}
{{--*/ $sub_total_tsh += $requisition_item_taffic_fine_item->companyTrafficFine->charges+$requisition_item_taffic_fine_item->companyTrafficFine->penalty /*--}}
@if(sizeof($requisition_item->requisitionItemTafficFineItems) == 1)
{{number_format($sub_total_tsh)}} | @else @if($first == $key) @foreach($requisition->requisition_currencies as $requisition_currency)@endforeach @endif @if(sizeof($requisition_item->requisitionItemTafficFineItems) == ($key+1)) | {{number_format($sub_total_tsh)}} | @endif @endif {{--*/ $total_amount += $sub_total /*--}} {{--*/ $total_amount_usd += $sub_total_usd /*--}} {{--*/ $total_amount_tsh += $sub_total_tsh /*--}}
TOTAL | {{number_format($sub_total_tsh)}} |