@extends('layouts.main') @section('container')

Shipment Management

Manage available Shipments

@if (Auth::check() && Auth::user()->rolePermissions->contains('permission', 'admin_officer'))
Add Shipment
@endif
Showing {{ $shipments->firstItem() }}–{{ $shipments->lastItem() }} of {{ $totalShipments }} shipments
@forelse ($shipments as $shipment) @empty @endforelse
# Termin Number Shipment Number Vessel SPK Location Fuel Volume (L) Status Actions
{{ $shipments->firstItem() + $loop->index }} {{ 'Termin ' . $shipment->termin->termin_number ?? '-' }} {{ $shipment->vessel->vessel_name ?? '-' }} {{ $shipment->spk->spk_number ?? '-' }} {{ $shipment->location }} {{ $shipment->fuel->fuel_type ?? '-' }} {{ number_format($shipment->volume, 0, ',', '.') }} {{ ucfirst(str_replace('_', ' ', $shipment->status_shipment)) }}
Empty state
No Shipments Found

You haven't added any Shipments yet

{{ $shipments->links('pagination::bootstrap-5') }}
@forelse ($shipments as $shipment)
{{ ucfirst(str_replace('_', ' ', $shipment->status_shipment)) }}
  • Termin: {{ 'Termin ' . $shipment->termin->termin_number ?? '-' }}
  • Vessel: {{ $shipment->vessel->vessel_name ?? '-' }}
  • SPK: {{ $shipment->spk->spk_number ?? '-' }}
  • Location: {{ $shipment->location }}
  • Fuel: {{ $shipment->fuel->fuel_type ?? '-' }}
  • Volume: {{ number_format($shipment->volume, 0, ',', '.') }} Liter
@empty
Empty state
No Shipments Available

Get started by adding a new Shipment

@endforelse
{{ $shipments->links('pagination::bootstrap-5') }}
Shipment Details
Loading...
@endsection