@if(count($tp_data) > 0) @foreach($tp_data as $row) @php $serviced = "-"; if ($row->status == 1) { $serviced = "Serviced"; } elseif($row->status == 2) { $serviced = "Restock"; } else { $serviced = "-"; } @endphp @endforeach @else @endif
{!! Form::select("supplier",["" => "Supplier"] + $page_data['supplier_filter_data']->toArray() ,null, ["class" => "form-control", "id" => 'thirdPartySupplierFilterId', 'required'=>'true']) !!} {!! Form::select("fleet_nr",["" => "Fleet Nr"] + $page_data['fleet_nr_filter_data']->toArray() ,null, ["class" => "form-control", 'id' => 'tpFleetNrFilterId', 'required'=>'true']) !!} Equipment Trip {!! Form::select("tpdriver",["" => "Driver"] + $page_data['driver_filter_data']->toArray() ,null, ["class" => "form-control", 'id' => 'tpDriverFilterId', 'required'=>'true']) !!} {!! Form::select("tporder",["" => "Order"] + $page_data['order_filter_data']->toArray() ,null, ["class" => "form-control", 'id' => 'tpOrderFilterId', 'required'=>'true']) !!} Fuel Qty Amount ODO Start ODO End KM Service@ Status Action
{{ Helper::convert_to_ddmmyy($row->date) }} {{ $row->supplier }} / {{ $row->location }} {{ $row->fleet_nr }} {{ $row->equipment }} {{ $row->trip }} {{ $row->driver }} {{ $row->order }} {{ $row->fuel }} {{ $row->quantity }} {{ $row->currency }} {{ number_format($row->amount,2) }} {{ $row->odo_start }} {{ $row->odo_end }} {{ $row->km }} {{ $row->service_at }}{{ $serviced }}
No records found!
@if(count($tp_data) > 0) {!! $tp_data->links() !!} @endif