@if (!$freightDatas->isEmpty())
| S.no | GR No | Dispatch Date | Truck No. | Party Name | From | To | Sub Total | + Halting | + Extra charge | Any Deduction | Net Amount | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $rowNum }} | {{ $freight->lr_no }} | {{ date('d-M-Y', strtotime($freight->date)) }} | {{ $freight->vehicle->vehicle_no ?? '' }} | @php $partyName = \App\Http\Helpers\CommonHelper::getPartyByFreightPaidBy( $freight->id, $freight->paid_by, ); @endphp {{ $partyName }} | {{ $freight->from_location }} | {{ $freight->to_location }} | @endif {{-- Item Details --}} {{-- | {{ $item->material_name ?? '-' }} | {{ $item->hsn_code ?? '-' }} | {{ $item->actual_weight ?? '-' }} | --}} {{----}} {{-- @php $totalMaterialAmount = $freight->items->sum('amount'); @endphp | --}} {{-- Charges (Only on first item row) --}} @if ($itemIndex === 0) | @endif | ||||
| {{ $rowNum }} | {{ $freight->lr_no }} | {{ date('d-M-Y', strtotime($freight->date)) }} | {{ $freight->vehicle->vehicle_no ?? '' }} | @php $partyName = \App\Http\Helpers\CommonHelper::getPartyByFreightPaidBy( $freight->id, $freight->paid_by, ); @endphp {{ $partyName }} | {{ $freight->from_location }} | {{ $freight->to_location }} | @php $partyId = match ($freight->paid_by) { 'Consignor' => $freight->consignor_id, 'Consignee' => $freight->consignee_id, 'Transporter' => $freight->party_id, }; @endphp |
Data Not Found
@endif