{{-- ========================================================================= --}} {{-- MAIN PAPER SHEET DOCUMENT (Shared between View & Print Mode) --}} {{-- ========================================================================= --}}
| NO | CARGO NAME | TYPE | DISCHARGING | STEVEDORING | CARGODORING | NOMINATIVE OWNER |
|---|---|---|---|---|---|---|
| {{ $cRow['item_no'] }} | {{ $cRow['cargo'] }} | {{ (!empty($cRow['cargo_type']) && $cRow['cargo_type'] !== '-') ? $cRow['cargo_type'] : '-' }} | @if(!empty($cRow['discharging'])) {{ number_format($cRow['discharging']) }} {{ $cRow['unit'] ?? 'UNITS' }} @else - @endif | {{ (!empty($cRow['stevedoring']) && $cRow['stevedoring'] !== '-' && $cRow['stevedoring'] !== '0') ? $cRow['stevedoring'] : '-' }} | {{ (!empty($cRow['cargodoring']) && $cRow['cargodoring'] !== '-' && $cRow['cargodoring'] !== '0') ? $cRow['cargodoring'] : '-' }} | {{ $cRow['consignee'] }} |
| Tidak ada data cargo discharging. | ||||||
| TOTAL DISCHARGING | @if($totalDischargingPkgs > 0 && $totalDischargingUnits > 0) {{ number_format($totalDischargingUnits) }} UNITS + {{ number_format($totalDischargingPkgs) }} PKGS @elseif($totalDischargingPkgs > 0) {{ number_format($totalDischargingPkgs) }} PKGS @else {{ number_format($totalDischarging) }} UNITS @endif | {{ number_format($totalDischarging) }} TOTAL DISCHARGING | ||||
| NO | CARGO NAME | TYPE | LOADING | STEVEDORING | CARGODORING | NOMINATIVE OWNER |
|---|---|---|---|---|---|---|
| {{ $lRow['item_no'] }} | {{ $lRow['cargo'] }} | {{ (!empty($lRow['cargo_type']) && $lRow['cargo_type'] !== '-') ? $lRow['cargo_type'] : '-' }} | @if(!empty($lRow['loading'])) {{ number_format($lRow['loading']) }} {{ $lRow['unit'] ?? 'UNITS' }} @else - @endif | {{ (!empty($lRow['stevedoring']) && $lRow['stevedoring'] !== '-' && $lRow['stevedoring'] !== '0') ? $lRow['stevedoring'] : '-' }} | {{ (!empty($lRow['cargodoring']) && $lRow['cargodoring'] !== '-' && $lRow['cargodoring'] !== '0') ? $lRow['cargodoring'] : '-' }} | {{ $lRow['consignee'] }} |
| TOTAL LOADING | @if($totalLoadingPkgs > 0 && $totalLoadingUnits > 0) {{ number_format($totalLoadingUnits) }} UNITS + {{ number_format($totalLoadingPkgs) }} PKGS @elseif($totalLoadingPkgs > 0) {{ number_format($totalLoadingPkgs) }} PKGS @else {{ number_format($totalLoading) }} UNITS @endif | {{ number_format($totalLoading) }} TOTAL LOADING | ||||
| TYPE CARGO | DISCHARGING | LOADING | TOTAL |
|---|---|---|---|
| {{ $catLabel }} | {{ number_format((int) ($totalCargoSummary[$catKey]['discharging'] ?? 0)) }} | {{ number_format((int) ($totalCargoSummary[$catKey]['loading'] ?? 0)) }} | {{ number_format((int) ($totalCargoSummary[$catKey]['total'] ?? 0)) }} |
| TOTAL | {{ number_format($grandSumDisch) }} | {{ number_format($grandSumLoad) }} | {{ number_format($grandSumTotal) }} |
| NO | CARGO TYPE | NOMINATIVE OWNER | ISSUE | HANDLING PLAN | NOTE |
|---|---|---|---|---|---|
| {{ $shIdx + 1 }} | {{ $sh->cargo_type ?: '-' }} | {{ $sh->nominative_owner ?: '-' }} | {{ $sh->issue ?: '-' }} | {{ $sh->handling_plan ?: '-' }} | {{ $sh->note ?: '-' }} |
| TIDAK ADA SPECIAL HANDLING CARGO | |||||
| DATA OPERATING VESSEL | PLAN DATE | PLAN TIME | ACTUAL DATE | ACTUAL TIME | TIME DIFFERENCE |
|---|---|---|---|---|---|
| {{ $r['name'] }} | @if($r['has_date']) {{ !empty($r['plan_date']) ? \Carbon\Carbon::parse($r['plan_date'])->format('d/m/Y') : '-' }} @else - @endif | {{ !empty($r['plan_time']) ? $r['plan_time'] : '-' }} | @if($r['has_date']) {{ !empty($r['actual_date']) ? \Carbon\Carbon::parse($r['actual_date'])->format('d/m/Y') : '-' }} @else - @endif | {{ !empty($r['actual_time']) ? $r['actual_time'] : '-' }} | {{ (!empty($r['time_diff']) && $r['time_diff'] !== '-') ? $r['time_diff'] : '-' }} |
| Discharging STD Proformance | Discharging qty (Unit/pkgs) |
Approximately STD Duration Time
(hrs:min)
|
Discharging Actual Performance
Rate & Unit
|
Actual Duration Time
(hrs:min)
|
||
|---|---|---|---|---|---|---|
|
{{ $row['category'] ?? '-' }}
@if($stdRateDisplay)
({{ $stdRateDisplay }})
@endif
|
{{ (!empty($row['qty']) && $row['qty'] !== '0') ? $row['qty'] : '-' }} | {{ (!empty($row['std_duration_time']) && $row['std_duration_time'] !== '-') ? $row['std_duration_time'] : '00:00' }} | Hrs | {{ (!empty($row['actual_performance']) && $row['actual_performance'] !== '-') ? $row['actual_performance'] : '-' }} | {{ $row['actual_unit'] ?? ($row['std_unit'] ?? 'Unit/hrs') }} | {{ (!empty($row['actual_duration']) && $row['actual_duration'] !== '-') ? $row['actual_duration'] : '00:00' }} |
| TOTAL | {{ $seqDischargingTotals['std_duration_time'] ?? '0:00' }} | {{ $seqDischargingTotals['std_duration_formatted'] ?? '0hr00min' }} | TOTAL | {{ $seqDischargingTotals['actual_duration_time'] ?? '0:00' }} ({{ $seqDischargingTotals['actual_duration_formatted'] ?? '0hr00min' }}) | ||
| Loading STD Proformance | Loading qty (Unit/pkgs) |
Approximately STD Duration Time
(hrs:min)
|
Loading Actual Performance
Rate & Unit
|
Actual Duration Time
(hrs:min)
|
||
|---|---|---|---|---|---|---|
|
{{ $row['category'] ?? '-' }}
@if($stdRateDisplay)
({{ $stdRateDisplay }})
@endif
|
{{ (!empty($row['qty']) && $row['qty'] !== '0') ? $row['qty'] : '-' }} | {{ (!empty($row['std_duration_time']) && $row['std_duration_time'] !== '-') ? $row['std_duration_time'] : '00:00' }} | Hrs | {{ (!empty($row['actual_performance']) && $row['actual_performance'] !== '-') ? $row['actual_performance'] : '-' }} | {{ $row['actual_unit'] ?? ($row['std_unit'] ?? 'Unit/hrs') }} | {{ (!empty($row['actual_duration']) && $row['actual_duration'] !== '-') ? $row['actual_duration'] : '00:00' }} |
| TOTAL | {{ $seqLoadingTotals['std_duration_time'] ?? '0:00' }} | {{ $seqLoadingTotals['std_duration_formatted'] ?? '0hr00min' }} | TOTAL | {{ $seqLoadingTotals['actual_duration_time'] ?? '0:00' }} ({{ $seqLoadingTotals['actual_duration_formatted'] ?? '0hr00min' }}) | ||
| Shifting | Shifting qty (Unit/pkgs) | Actual Working Time |
Actual Duration Time
(hrs:min)
|
|---|---|---|---|
| {{ $row['category'] ?? '-' }} | {{ (!empty($row['qty']) && $row['qty'] !== '0') ? $row['qty'] : '-' }} | {{ (!empty($row['actual_performance']) && $row['actual_performance'] !== '-') ? $row['actual_performance'] : '-' }} | {{ (!empty($row['actual_duration']) && $row['actual_duration'] !== '-') ? $row['actual_duration'] : '00:00' }} |
| TOTAL | {{ (!empty($seqShiftingTotals['total_qty']) && $seqShiftingTotals['total_qty'] !== '0') ? number_format((float)$seqShiftingTotals['total_qty']) : '-' }} | - | {{ $seqShiftingTotals['actual_duration_time'] ?? '0:00' }} ({{ $seqShiftingTotals['actual_duration_formatted'] ?? '0hr00min' }}) |
| OPERATION STRATEGIC (PLAN) | PLAN DURATION TIME | OPERATION STRATEGIC (ACTUAL) | ACTUAL DURATION TIME | ||
|---|---|---|---|---|---|
| Total Approximately Duration Time | {{ $opStrat['total_approx_duration'] ?: '-' }} | Hrs | Actual Duration Time | {{ $opStrat['actual_duration'] ?: '-' }} | Hrs |
| Waiting Cargo / Document | {{ $opStrat['waiting_cargo_doc'] ?: '-' }} | Hrs | Waiting Cargo / Document | {{ $opStrat['actual_waiting_cargo_doc'] ?: '-' }} | Hrs |
| Idle Time / Stop Operation | {{ $opStrat['idle_time'] ?: '-' }} | Hrs | Idle Time / Stop Operation | {{ $opStrat['actual_idle_time'] ?: '-' }} | Hrs |
| Shifting | {{ $opStrat['shifting'] ?: '-' }} | Hrs | Shifting | {{ $opStrat['actual_shifting'] ?: '-' }} | Hrs |
| MEAL BREAK | {{ $opStrat['meal_break'] ?: '-' }} | Hrs | MEAL BREAK | {{ $opStrat['actual_meal_break'] ?: '-' }} | Hrs |
| AVAILABLE TIME | {{ $opStrat['available_time'] ?: '-' }} | Hrs | ACTUAL AVAILABLE TIME | {{ $opStrat['actual_available_time'] ?: '-' }} | Hrs |
| REALTIME OPERATION | {{ $opStrat['realtime_operation'] ?: '00:00' }} | Hrs |
| DEPLOYMENT | MAN POWER (PLAN) | ACTUAL | DIFFERENCE |
|---|---|---|---|
| OPERATIONAL : | |||
| - {{ strtoupper($row['role'] ?? '') }} | {{ $planDisplay }} | {{ $actDisplay }} | {{ $diffVal }} |
| LOGISTIC : | |||
| - {{ strtoupper($row['role'] ?? '') }} | {{ $planDisplay }} | {{ $actDisplay }} | {{ $diffVal }} |
| TOTAL MAN POWER | {{ ($mpTotals['total_man_power'] ?? 0) > 0 ? ($mpTotals['total_man_power'] . ' Men') : '-' }} | {{ ($mpTotals['total_actual'] ?? 0) > 0 ? ($mpTotals['total_actual'] . ' Men') : '-' }} | {{ abs((int)($mpTotals['total_diff'] ?? 0)) }} |
| NO | EQUIPMENT ITEM | CAPACITY | UNIT | PLAN (UNIT) | SHIFT/RIT PLAN | ACTUAL (UNIT) | SHIFT/RIT ACTUAL | REMARKS / NOTE |
|---|---|---|---|---|---|---|---|---|
| {{ $eq['no'] ?? ($eqIdx + 1) }} | {{ $eq['item'] ?? '-' }} | @endif{{ $sub['capacity'] ?? '-' }} | {{ $sub['unit'] ?? '-' }} | {{ !empty($sub['planning_unit']) ? $sub['planning_unit'] : '-' }} | {{ !empty($sub['shift_rit_rencana']) ? $sub['shift_rit_rencana'] : '-' }} | {{ !empty($sub['aktual_unit']) ? $sub['aktual_unit'] : '-' }} | {{ !empty($sub['shift_rit_aktual']) ? $sub['shift_rit_aktual'] : '-' }} | {{ !empty($sub['note']) ? $sub['note'] : '-' }} |
| COST CATEGORY | PERSONNEL FEE | SUPPORTING FEE |
|---|---|---|
| OPERATIONAL | {{ $formatRupiah($budOp['personnel_fee'] ?? '') }} | {{ $formatRupiah($budOp['supporting_fee'] ?? '') }} |
| LOGISTIC | {{ $formatRupiah($budLog['personnel_fee'] ?? '') }} | {{ $formatRupiah($budLog['supporting_fee'] ?? '') }} |
| SUBTOTAL | {{ $formatRupiah($budTotals['sum_personnel_fee'] ?? 0) }} | {{ $formatRupiah($budTotals['sum_supporting_fee'] ?? 0) }} |
| GRAND TOTAL | {{ $formatRupiah($budTotals['total_budget'] ?? 0) }} | |
Created By
Logistic Manager
Approved By
Operational Manager