{{$company->company_name}}

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

TRAFIC FINES 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 /*--}} {{--*/ $sub_total_tsh = 0 /*--}} @foreach($requisition->requisitionItems as $index=>$requisition_item) {{--*/ $requisition_item_dr_account = $requisition_item->requisitionItemDrAccounts /*--}} {{--*/ $vehicle_id = 1 /*--}} {{--*/ $first = 0 /*--}} @foreach($requisition_item->requisitionItemTafficFineItems as $key =>$requisition_item_taffic_fine_item) @if($first == $key) @endif @if($first == $key) @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) @else @if($first == $key) @foreach($requisition->requisition_currencies as $requisition_currency) @endforeach @endif @if(sizeof($requisition_item->requisitionItemTafficFineItems) == ($key+1)) @endif @endif {{--*/ $total_amount += $sub_total /*--}} {{--*/ $total_amount_usd += $sub_total_usd /*--}} {{--*/ $total_amount_tsh += $sub_total_tsh /*--}} @endforeach @endforeach
  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}}{{$requisition_item_taffic_fine_item->companyTrafficFine->traffic_offence}} {{$requisition_item_taffic_fine_item->companyTrafficFine->category}}{{$requisition_item->requisitionItemAccount->account->name}} @if(!empty($requisition_item->remarks))
({{$requisition_item->remarks}} ) @elseif($requisition->remarks)
({{$requisition->remarks}} ) @endif
{{number_format($sub_total_tsh)}}{{number_format($sub_total_tsh)}}
TOTAL {{number_format($sub_total_tsh)}}