shipment Changes

This commit is contained in:
Utkarsh Khedkar
2025-12-24 13:36:50 +05:30
11 changed files with 2352 additions and 1095 deletions

View File

@@ -1827,8 +1827,32 @@
<th>Amount ()</th>
</tr>
</thead>
<tbody id="modalOrdersTableBody">
<!-- Orders will be populated by JavaScript -->
<tbody>
@forelse($availableOrders as $order)
<tr>
<td>
<input type="checkbox" name="order_ids[]" value="{{ $order->id }}">
</td>
<td>
<a href="#" class="text-primary fw-bold">{{ $order->order_id }}</a>
</td>
<td>{{ $order->origin }}</td>
<td>{{ $order->destination }}</td>
<td>{{ $order->ctn }}</td>
<td>{{ $order->qty }}</td>
<td>{{ $order->ttl_qty }}</td>
<td>{{ $order->cbm }}</td>
<td>{{ $order->ttl_cbm }}</td>
<td>{{ $order->kg }}</td>
<td>{{ $order->ttl_kg }}</td>
<td class="fw-bold text-success">{{ number_format($order->ttl_amount, 2) }}</td>
</tr>
@empty
<tr>
<td colspan="12" class="text-muted text-center py-4">No available orders to add to shipment</td>
</tr>
@endforelse
</tbody>
</table>
</div>