@section('page-title', 'Exception List')

Exception List

Dokumen Exception List (Damage Cargo VIN / Serial No), Exception List (A), dan Exception List (B)

@if(auth()->user()?->canModule('checker', 'create')) @endif
@if(session('success'))
{{ session('success') }}
@endif {{-- Filter & Pencarian --}}
@if(request()->hasAny(['search', 'status', 'type'])) Reset @endif
{{-- Tabel Exception List --}}
@forelse($exceptionLists as $item) @php $isTypeC = $item->isTypeC(); $isTypeB = $item->isTypeB(); @endphp @empty @endforelse
No Vessel & Voyage Date Shipping Agent Stevedoring Sheet Status Aksi
{{ $exceptionLists->firstItem() + $loop->index }}
MV. {{ $item->vessel_name ?: '-' }} @if($isTypeC) EXCEPTION LIST {{ $item->operation_type ?: 'DISCHARGING' }} @elseif($isTypeB) TIPE B (DAMAGE) @else TIPE A (SHORT/EXCESS) @endif
Voy: {{ $item->voyage ?: '-' }} @if($item->subtitle) | {{ $item->subtitle }} @endif @if($item->planning) | {{ $item->planning->no_planning }} @endif
{{ $item->formatted_date }} {{ $item->resolved_shipping_agent }} {{ $item->resolved_stevedoring }} @php $sheetCount = is_array($item->sheets) ? count($item->sheets) : 1; @endphp {{ $sheetCount > 1 ? $sheetCount : ($item->sheet_no ?: '1') }} @if($item->status === 'completed') Completed @else Draft @endif
@if(auth()->user()?->canModule('checker', 'edit')) @endif @if(auth()->user()?->canModule('checker', 'delete'))
@csrf @method('DELETE')
@endif

Belum ada Exception List

Buat dokumen Exception List pertama dengan mengklik tombol di bawah ini.

@if(auth()->user()?->canModule('checker', 'create')) Buat Exception List Sekarang @endif
@if($exceptionLists->hasPages())
{{ $exceptionLists->links() }}
@endif