@extends('layouts.admin') @section('content') @php $isPaid = $shipment->invoice && strtolower($shipment->invoice->status) === 'paid'; $exchangeRate = 950; // adjust NGN/GBP @endphp
Receiver: {{ $shipment->receiver_name }}
🔒 Invoice is already paid; edit or delete is disabled.
@endifName: {{ $shipment->receiver_name }}
Address: {{ $shipment->receiver_address }}
Notes: {{ $shipment->notes ?? 'N/A' }}
Tracking Number: {{ $shipment->tracking_number }}
Weight: {{ $shipment->weight }} kg
Customer ID: {{ $shipment->user_id }}
Original Price: ₦{{ number_format($shipment->original_price * $exchangeRate, 2) }}
Discount: ₦{{ number_format($shipment->discount_amount * $exchangeRate, 2) }}
Final Price: ₦{{ number_format($shipment->final_price * $exchangeRate, 2) }}
Invoice Number: {{ $shipment->invoice->payment_reference ?? 'Not Generated' }}
Amount Due: ₦{{ number_format($shipment->final_price * $exchangeRate, 2) }}
Payment Method: {{ $shipment->invoice->payment_method ?? 'N/A' }}
Payment Date: {{ $shipment->invoice->paid_at?->format('d M Y, h:i A') ?? 'Not Paid Yet' }}
Created
{{ $shipment->created_at->format('d M Y — h:i A') }}
Last Updated
{{ $shipment->updated_at->format('d M Y — h:i A') }}