No. | Consignee | Date | EDIT | {{--DELETE | --}}ADD/VIEW TRUCKS | |
---|---|---|---|---|---|---|
{{$loop->index + 1}} | {{strtoupper($trucklist->consignee->name)}} | {{strtoupper($trucklist->date)}} | trucks->count() > 0) disabled="disabled" @else @endif>EDIT | {{----}} @php $truck_date = \Carbon\Carbon::now()->subDays(1)->format('Y-m-d'); @endphp @if($trucklist->date > $truck_date) | ADD TRUCKS | @elseVIEW TRUCKS | @endif
No. | Consignee | Date | EDIT | {{--DELETE | --}}ADD/VIEW TRUCKS |