@extends('admin.layout.interface') @section('content')

Shipments

Shipments

{{ number_format($monthCount) }}

{{ $monthLabel }}
Invoices Shipped

{{ number_format($monthInvoices) }}

Linked invoices
Shipment Charges

{{ number_format($monthCharges, 2) }}

{{ $monthLabel }}

{{ $monthLabel }} Shipments

@if(session('success'))
{{ session('success') }}
@endif
@forelse ($totalData as $key => $data) @empty @endforelse
Sr# Shipment No Customer Date Invoices Charges Action
{{ $key + 1 }} {{ $data->shipment_number }} {{ $data->customer->name ?? '-' }} {{ $data->shipment_date ? $data->shipment_date->format('Y-m-d') : '-' }} @if($data->sales->isNotEmpty()) {{ $data->sales->pluck('bill_no')->implode(', ') }} ({{ $data->sales->count() }}) @else - @endif {{ $data->charges !== null ? number_format($data->charges, 2) : '-' }}
No shipments found for {{ $monthLabel }}.
@endsection