@extends('layouts.admin') @section('title', 'Shipments Management') @section('content')
Manage customer shipments, pricing, and delivery progress
| Tracking | Customer | Wt | Original | Disc | Final | Status | Pay | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ $shipment->tracking_number }} | {{ $customer?->name ?? 'N/A' }} @if($isPremium) P @endif | {{ number_format($shipment->weight,2) }}kg | £{{ number_format($shipment->original_price,2) }} | @if($shipment->discount_amount > 0) -£{{ number_format($shipment->discount_amount,2) }} @else — @endif | £{{ number_format($shipment->final_price,2) }} | @include('components.shipment-status-badge', ['status'=>$shipment->status]) | @if($shipment->invoice && strtolower($shipment->invoice->status) === 'paid') Paid @else Unpaid @endif | View @if(!$shipment->invoice || strtolower($shipment->invoice->status) !== 'paid') Edit @endif |
| No shipments found. | ||||||||