@section('page-title', 'Tally Sheet')

Tally Sheet

Dokumen Tally Sheet Discharging & Loading, tally hitungan kargo, units & pkgs

@if(auth()->user()?->canModule('checker', 'create'))
{{-- Dropdown Menu Pilihan Tipe --}}
@endif
@if(session('success'))
{{ session('success') }}
@endif {{-- Filter & Pencarian --}}
@if(request()->hasAny(['search', 'operation_type', 'type', 'status'])) Reset @endif
{{-- Tabel Tally Sheet --}}
@forelse($tallySheets as $ts) @php $isLoading = $ts->isLoading(); @endphp @empty @endforelse
No Vessel & Voyage Date Shipping Agent Stevedoring Sheet Status Aksi
{{ $tallySheets->firstItem() + $loop->index }}
MV. {{ $ts->vessel_name ?: '-' }} @if($isLoading) Loading @else Discharging @endif
Voy: {{ $ts->voyage ?: '-' }} @if($ts->planning) | {{ $ts->planning->no_planning }} @endif
{{ $ts->formatted_date }} {{ $ts->resolved_shipping_agent }} {{ $ts->resolved_stevedoring }} @php $sheetCount = is_array($ts->sheets) ? count($ts->sheets) : 1; @endphp {{ $sheetCount > 1 ? $sheetCount : ($ts->sheet_no ?: '1') }} @if($ts->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 Tally Sheet

Gunakan tombol "+ Buat Tally Sheet (Discharging)" atau "+ Buat Tally Sheet (Loading)" di atas untuk menambahkan dokumen baru.

@if($tallySheets->hasPages())
{{ $tallySheets->links() }}
@endif