@extends('admin.layout.app') @section('more-head') @endsection @section('main-content')

TRUCK LISTS

trucklists

{{-- --}} @foreach ($trucklists as $trucklist) {{-- --}} @php $truck_date = \Carbon\Carbon::now()->subDays(1)->format('Y-m-d'); @endphp @if($trucklist->date > $truck_date) @else @endif @endforeach {{-- --}}
No. Consignee Date EDITDELETEADD/VIEW TRUCKS
{{$loop->index + 1}} {{strtoupper($trucklist->consignee->name)}} {{strtoupper($trucklist->date)}} trucks->count() > 0) disabled="disabled" @else @endif>EDITADD TRUCKSVIEW TRUCKS
No. Consignee Date EDITDELETEADD/VIEW TRUCKS
@endsection @section('more-scripts') @endsection