@include('layouts.header')
{{-- @include('layouts.navigation2')--}}

{{$form_name}}

{{-- {{$data[0]}}--}}
LINER CODE:
{{$data[0]->liner_code}}
SHIPPING AGENT:
{{$data[0]->shipping_agent}}
@if($ref_code !== 'AMV' && $ref_code !== 'CRR' && $ref_code !== 'RUR')
LPO NUMBER:
{{$data[0]->lpo_number}}
@endif
@if($ref_code === 'AMV')
@foreach($data as $item) @endforeach
VESSEL NAME VOYAGE ETA LOA LAST PORT NEXT PORT LINE SERVICE VESSEL TYPE ETD
INWARD OUTWARD
{{$item->vessel_name}} {{$item->voyage_inward}} {{$item->voyage_outward}} {{$item->eta}} {{$item->loa}} {{$item->last_port}} {{$item->next_port}} {{$item->line}} {{$item->service}} {{$item->vessel_type}} {{$item->etd}}

USER NAME:

{{$data[0]['agent_name']}}

COMPANY NAME:

{{ $company }}

DATE:

{{$data[0]['created_at']->format('Y/m/d')}}

TIME:

{{$data[0]['created_at']->format('h:i a')}}

@endif @if($ref_code === 'CRR') {{-- @foreach($data as $item)--}} {{-- {{$item->vessel_name}}--}} {{-- @endforeach--}}
@foreach($data as $item) @endforeach
@foreach($data as $item) @endforeach
@foreach($data as $item) @endforeach
@foreach($data as $item) @endforeach
@foreach($data as $item) @endforeach
@foreach($data as $item) @endforeach
{{---------------------new----------------------------}}
@foreach($data as $item) @endforeach
@foreach($data as $item) @endforeach
@foreach($data as $item) @foreach($item->discharge as $dist) @endforeach @endforeach
LADEN EMPTY TOTAL
PORT OF DISCHARGE DAY 1 DAY 2 DAY 3 DAY 1 DAY 2 DAY 3
20' 40' 20' 40' 20' 40' 20' 40' 20' 40' 20' 40' 20' 40'
{{$dist->port_of_discharge}} {{$dist->laden_day1_20}} {{$dist->laden_day1_40}} {{$dist->laden_day2_20}} {{$dist->laden_day2_40}} {{$dist->laden_day3_20}} {{$dist->laden_day3_40}} {{$dist->empty_day1_20}} {{$dist->empty_day1_40}} {{$dist->empty_day2_20}} {{$dist->empty_day2_40}} {{$dist->empty_day3_20}} {{$dist->empty_day3_40}} {{$dist->total_20}} {{$dist->total_40}}
@foreach($data as $item) @foreach($item->bulk as $bulkitem) @endforeach @endforeach
BREAKBULK/OTHERS QTY MT CBM
{{$bulkitem->break_bulk}} {{$bulkitem->qty}} {{$bulkitem->mt}} {{$bulkitem->cbm}}

USER NAME:

{{$data[0]['agent_name']}}

COMPANY NAME:

{{ $company }}

DATE:

{{$data[0]['created_at']->format('Y/m/d')}}

TIME:

{{$data[0]['created_at']->format('h:i a')}}

@endif @if($ref_code === 'TDR')

VESSEL DETAILS

@foreach($data as $item) @if($item->plugging_or_vessel === 'vessel') @endif @endforeach
VESSEL NAME VOYAGE NUMBER CONTAINER STATUS ORDER NUMBER(LPO) PORT
{{$item->vessel_name}} {{$item->voyage_number}} {{$item->container_status}} {{$item->order_number}} {{$item->port}}

PLUGGING DETAILS

@foreach($data as $item) @if($item->plugging_or_vessel === 'plugging') @endif @endforeach
CONTAINER NUMBER SIZE SET TEMPERATURE PLUGGING DATE REMARKS
{{$item->container_number}} {{$item->size}} {{$item->set_temperature}} {{$item->plugging_date}} {{$item->remarks}}

@if($data AND $data[0]->attachment) @endif

USER NAME:

{{$data[0]['agent_name']}}

COMPANY NAME:

{{ $company }}

DATE:

{{$data[0]['created_at']->format('Y/m/d')}}

TIME:

{{$data[0]['created_at']->format('h:i a')}}

@endif @if($ref_code === 'LRA')
@foreach($data as $item) @endforeach
CONTAINER NO. PORT OF DISCHARGE WEIGHT
(TONNES)
REEFER
(YES / NO)
OOG
(YES / NO)
ESTIMATED DATE & TIME OF ARRIVAL TRANSPORT
COMPANY
{{$item->container_no}} {{$item->port_of_discharge}} {{$item->weight}} {{$item->reefer}} {{$item->oog}} {{$item->eta_of_arrival}} {{$item->transport_company}}

@if($data AND $data[0]->attachment) @endif

USER NAME:

{{$data[0]['agent_name']}}

COMPANY NAME:

{{ $company }}

DATE:

{{$data[0]['created_at']->format('Y/m/d')}}

TIME:

{{$data[0]['created_at']->format('h:i a')}}

@endif @if($ref_code === 'VDF')
@foreach($data as $item) @endforeach
@foreach($data as $item) @endforeach
@foreach($data as $item) @endforeach
{{-- ---------------- --}}
@foreach($data as $item) @endforeach
{{-- ---------------- --}}
@foreach($data as $item) @endforeach
@foreach($data as $item) @endforeach
@foreach($data as $item) @endforeach
@php $totalin = 0; $fcl20in = 0; $fcl40in = 0; $emp20in = 0; $emp40in = 0; $fcltra20in = 0; $fcltra40in = 0; $fclres20in = 0; $fclres40in = 0; $empres20in = 0; $empres40in = 0; $fclsob20in = 0; $fclsob40in = 0; $empsob20in = 0; $empsob40in = 0; $oog20in = 0; $oog40in = 0; $breakbulkin = 0; $masterpacksin = 0; $steelin = 0; $vehiclesin = 0; $drybulkin = 0; $othersin = 0; @endphp @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'in') @php $totalin += $vessel->amount @endphp @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'in') @if($vessel->row_ref === 'fcl_20') @php $fcl20in = ($vessel->qty * 150); $totalin += $fcl20in; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'in') @if($vessel->row_ref === 'fcl_40') @php $fcl40in = ($vessel->qty * 225); $totalin += $fcl40in; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'in') @if($vessel->row_ref === 'emp_20') @php $emp20in = ($vessel->qty * 80); $totalin += $emp20in; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'in') @if($vessel->row_ref === 'emp_40') @php $emp40in = ($vessel->qty * 120); $totalin += $emp40in; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'in') @if($vessel->row_ref === 'fcl_trans_20') @php $fcltra20in = ($vessel->qty * 80); $totalin += $fcltra20in; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'in') @if($vessel->row_ref === 'fcl_trans_40') @php $fcltra40in = ($vessel->qty * 144); $totalin += $fcltra40in; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'in') @if($vessel->row_ref === 'fcl_restow_20') @php $fclres20in = ($vessel->qty * 300); $totalin += $fclres20in; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'in') @if($vessel->row_ref === 'fcl_restow_40') @php $fclres40in = ($vessel->qty * 450); $totalin += $fclres40in; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'in') @if($vessel->row_ref === 'emp_restow_20') @php $empres20in = ($vessel->qty * 160); $totalin += $empres20in; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'in') @if($vessel->row_ref === 'emp_restow_40') @php $empres40in = ($vessel->qty * 240); $totalin += $empres40in; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'in') @if($vessel->row_ref === 'fcl_sob_20') @php $fclsob20in = ($vessel->qty * 150); $totalin += $fclsob20in; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'in') @if($vessel->row_ref === 'fcl_sob_40') @php $fclsob40in = ($vessel->qty * 225); $totalin += $fclsob40in; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'in') @if($vessel->row_ref === 'emp_sob_20') @php $empsob20in = ($vessel->qty * 80); $totalin += $empsob20in; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'in') @if($vessel->row_ref === 'emp_sob_40') @php $empsob40in = ($vessel->qty * 120); $totalin += $empsob40in; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'in') @if($vessel->row_ref === 'oog_20') @php $oog20in = ($vessel->qty * 250); $totalin += $oog20in; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'in') @if($vessel->row_ref === 'oog_40') @php $oog40in = ($vessel->qty * 500); $totalin += $oog40in; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'in') @if($vessel->row_ref === 'breakbulk') @php $breakbulkin = ($vessel->qty * 16.25); $totalin += $breakbulkin; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'in') @if($vessel->row_ref === 'master_packs') @php $masterpacksin = ($vessel->qty * 73.10); $totalin += $masterpacksin; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'in') @if($vessel->row_ref === 'steel') @php $steelin = ($vessel->qty * 73.10); $totalin += $steelin; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'in') @if($vessel->row_ref === 'vehicles') @php $vehiclesin = ($vessel->qty * 12.90); $totalin += $vehiclesin; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'in') @if($vessel->row_ref === 'dry_bulk') @php $drybulkin = ($vessel->qty * 15.25); $totalin += $drybulkin; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'in') @if($vessel->row_ref === 'others') @php $othersin = ($vessel->qty * 5.38); $totalin += $othersin; @endphp {{-- --}} @endif @endif @endforeach @endforeach
INWARD UNITS QUANTITY RATES AMOUNT
FCL 20' {{$vessel->qty ?? 'N/A'}} $ 150.00 $ {{number_format($fcl20in,2) ?? '0'}}
40' {{$vessel->qty ?? 'N/A'}} $ 225.00 $ {{number_format($fcl40in,2) ?? '0'}}
EMPTIES 20' {{$vessel->qty ?? 'N/A'}} $ 80.00 $ {{number_format($emp20in,2) ?? '0'}}
40' {{$vessel->qty ?? 'N/A'}} $ 120.00 $ {{number_format($emp40in,2) ?? '0'}}
FCL TRANSHIPMENT 20' {{$vessel->qty ?? 'N/A'}} $ 80.00 $ {{number_format($fcltra20in,2) ?? '0'}}
40' {{$vessel->qty ?? 'N/A'}} $ 144.00 $ {{number_format($fcltra40in,2) ?? '0'}}
FCL RESTOW 20' {{$vessel->qty ?? 'N/A'}} $ 300.00 $ {{number_format($fclres20in,2) ?? '0'}}
40' {{$vessel->qty ?? 'N/A'}} $ 450.00 $ {{number_format($fclres40in,2) ?? '0'}}
EMPTIES RESTOW 20' {{$vessel->qty ?? 'N/A'}} $ 160.00 $ {{number_format($empres20in,2) ?? '0'}}
40' {{$vessel->qty ?? 'N/A'}} $ 240.00 $ {{number_format($empres40in,2) ?? '0'}}
FCL SOB 20' {{$vessel->qty ?? 'N/A'}} $ 150.00 $ {{number_format($fclsob20in,2) ?? '0'}}
40' {{$vessel->qty ?? 'N/A'}} $ 225.00 $ {{number_format($fclsob40in,2) ?? '0'}}
EMPTIES SOB 20' {{$vessel->qty ?? 'N/A'}} $ 80.00 $ {{number_format($empsob20in,2) ?? '0'}}
40' {{$vessel->qty ?? 'N/A'}} $ 120.00 $ {{number_format($empsob40in,2) ?? '0'}}
OOG 20' {{$vessel->qty ?? 'N/A'}} $ 250.00 $ {{number_format($oog20in,2) ?? '0'}}
40' {{$vessel->qty ?? 'N/A'}} $ 500.00 $ {{number_format($oog40in,2) ?? '0'}}
BREAKBULK {{$vessel->qty ?? 'N/A'}} $ 16.25 $ {{number_format($breakbulkin,2) ?? '0'}}
MASTER PACKS {{$vessel->qty ?? 'N/A'}} $ 73.10 $ {{number_format($masterpacksin,2) ?? '0'}}
STEEL {{$vessel->qty ?? 'N/A'}} $ 73.10 $ {{number_format($steelin,2) ?? '0'}}
VEHICLES {{$vessel->qty ?? 'N/A'}} $ 12.90 $ {{number_format($vehiclesin,2) ?? '0'}}
DRY BULK {{$vessel->qty ?? 'N/A'}} $ 15.25 $ {{number_format($drybulkin,2) ?? '0'}}
OTHERS: {{$vessel->qty ?? 'N/A'}} $ 5.38 $ {{number_format($othersin,2) ?? '0'}}
SUB-TOTAL $ {{$totalin ?? '0'}}
@php $totalout = 0; $fcl20out = 0; $fcl40out = 0; $emp20out = 0; $emp40out = 0; $fcltra20out = 0; $fcltra40out = 0; $fclres20out = 0; $fclres40out = 0; $empres20out = 0; $empres40out = 0; $fclsob20out = 0; $fclsob40out = 0; $empsob20out = 0; $empsob40out = 0; $oog20out = 0; $oog40out = 0; $breakbulkout = 0; $masterpacksout = 0; $steelout = 0; $vehiclesout = 0; $drybulkout = 0; $othersout = 0; @endphp @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'out') @if($vessel->row_ref === 'fcl_20') @php $fcl20out = ($vessel->qty * 150); $totalout += $fcl20out; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'out') @if($vessel->row_ref === 'fcl_40') @php $fcl40out = ($vessel->qty * 225); $totalout += $fcl40out; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'out') @if($vessel->row_ref === 'emp_20') @php $emp20out = ($vessel->qty * 80); $totalout += $emp20out; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'out') @if($vessel->row_ref === 'emp_40') @php $emp40out = ($vessel->qty * 120); $totalout += $emp40out; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'out') @if($vessel->row_ref === 'fcl_trans_20') @php $fcltra20out = ($vessel->qty * 80); $totalout += $fcltra20out; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'out') @if($vessel->row_ref === 'fcl_trans_40') @php $fcltra40out = ($vessel->qty * 144); $totalout += $fcltra40out; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'out') @if($vessel->row_ref === 'fcl_restow_20') @php $fclres20out = ($vessel->qty * 300); $totalout += $fclres20out; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'out') @if($vessel->row_ref === 'fcl_restow_40') @php $fclres40out = ($vessel->qty * 450); $totalout += $fclres40out; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'out') @if($vessel->row_ref === 'emp_restow_20') @php $empres20out = ($vessel->qty * 160); $totalout += $empres20out; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'out') @if($vessel->row_ref === 'emp_restow_40') @php $empres40out = ($vessel->qty * 240); $totalout += $empres40out; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'out') @if($vessel->row_ref === 'fcl_sob_20') @php $fclsob20out = ($vessel->qty * 150); $totalout += $fclsob20out; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'out') @if($vessel->row_ref === 'fcl_sob_40') @php $fclsob40out = ($vessel->qty * 225); $totalout += $fclsob40out; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'out') @if($vessel->row_ref === 'emp_sob_20') @php $empsob20out = ($vessel->qty * 80); $totalout += $empsob20out; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'out') @if($vessel->row_ref === 'emp_sob_40') @php $empsob40out = ($vessel->qty * 120); $totalout += $empsob40out; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'out') @if($vessel->row_ref === 'oog_20') @php $oog20out = ($vessel->qty * 250); $totalout += $oog20out; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'out') @if($vessel->row_ref === 'oog_40') @php $oog40out = ($vessel->qty * 500); $totalout += $oog40out; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'out') @if($vessel->row_ref === 'breakbulk') @php $breakbulkin = ($vessel->qty * 16.25); $totalout += $breakbulkin; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'out') @if($vessel->row_ref === 'master_packs') @php $masterpacksout = ($vessel->qty * 73.10); $totalout += $masterpacksout; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'out') @if($vessel->row_ref === 'steel') @php $steelout = ($vessel->qty * 73.10); $totalout += $steelout; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'out') @if($vessel->row_ref === 'vehicles') @php $vehiclesout = ($vessel->qty * 12.90); $totalout += $vehiclesout; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'out') @if($vessel->row_ref === 'dry_bulk') @php $drybulkout = ($vessel->qty * 15.25); $totalout += $drybulkout; @endphp {{-- --}} @endif @endif @endforeach @endforeach @foreach($data as $item) @foreach($item->vesseldata as $vessel) @if($vessel->in_or_out === 'out') @if($vessel->row_ref === 'others') @php $othersout = ($vessel->qty * 5.38); $totalout += $othersout; @endphp {{-- --}} @endif @endif @endforeach @endforeach
OUTWARD UNITS QUANTITY RATES AMOUNT
FCL 20' {{$vessel->qty ?? 'N/A'}} $ 150.00 $ {{number_format($fcl20out,2) ?? '0'}}
40' {{$vessel->qty ?? 'N/A'}} $ 225.00 $ {{number_format($fcl40out,2)?? '0'}}
EMPTIES 20' {{$vessel->qty ?? 'N/A'}} $ 80.00 $ {{number_format($emp20out,2) ?? '0'}}
40' {{$vessel->qty ?? 'N/A'}} $ 120.00 $ {{number_format($emp40out,2) ?? '0'}}
FCL TRANSHIPMENT 20' {{$vessel->qty ?? 'N/A'}} $ 80.00 $ {{number_format($fcltra20out,2) ?? '0'}}
40' {{$vessel->qty ?? 'N/A'}} $ 144.00 $ {{number_format($fcltra40out,2) ?? '0'}}
FCL RESTOW 20' {{$vessel->qty ?? 'N/A'}} $ 300.00 $ {{number_format($fclres20out,2) ?? '0'}}
40' {{$vessel->qty ?? 'N/A'}} $ 450.00 $ {{number_format($fclres40out,2) ?? '0'}}
EMPTIES RESTOW 20' {{$vessel->qty ?? 'N/A'}} $ 160.00 $ {{number_format($empres20out,2) ?? '0'}}
40' {{$vessel->qty ?? 'N/A'}} $ 240.00 $ {{number_format($empres40out,2) ?? '0'}}
FCL SOB 20' {{$vessel->qty ?? 'N/A'}} $ 150.00 $ {{number_format($fclsob20out,2) ?? '0'}}
40' {{$vessel->qty ?? 'N/A'}} $ 225.00 $ {{number_format($fclsob40out,2) ?? '0'}}
EMPTIES SOB 20' {{$vessel->qty ?? 'N/A'}} $ 80.00 $ {{number_format($empsob20out,2) ?? '0'}}
40' {{$vessel->qty ?? 'N/A'}} $ 120.00 $ {{number_format($empsob40out,2) ?? '0'}}
OOG 20' {{$vessel->qty ?? 'N/A'}} $ 250.00 $ {{number_format($oog20out,2) ?? '0'}}
40' {{$vessel->qty ?? 'N/A'}} $ 500.00 $ {{number_format($oog40out,2) ?? '0'}}
BREAKBULK {{$vessel->qty ?? 'N/A'}} $ 16.25 $ {{number_format($breakbulkin,2) ?? '0'}}
MASTER PACKS {{$vessel->qty ?? 'N/A'}} $ 73.10 $ {{number_format($masterpacksout,2) ?? '0'}}
STEEL {{$vessel->qty ?? 'N/A'}} $ 73.10 $ {{number_format($steelout,2) ?? '0'}}
VEHICLES {{$vessel->qty ?? 'N/A'}} $ 12.90 $ {{number_format($vehiclesout,2) ?? '0'}}
DRY BULK {{$vessel->qty ?? 'N/A'}} $ 15.25 $ {{number_format($drybulkout,2) ?? '0'}}
OTHERS: {{$vessel->qty ?? 'N/A'}} $ 5.38 $ {{number_format($othersout,2) ?? '0'}}
SUB-TOTAL $ {{number_format($totalout,2) ?? '0'}}
$ {{number_format(($totalin + $totalout), 2)}}
@if($data AND $data[0]->attachment) @endif

USER NAME:

{{$data[0]['agent_name']}}

COMPANY NAME:

{{ $company }}

DATE:

{{$data[0]['created_at']->format('Y/m/d')}}

TIME:

{{$data[0]['created_at']->format('h:i a')}}

@endif @if($ref_code === 'VBA') @foreach($data as $item)
DISCHARGING
LOADING
{{----------------------------------------------------------------}}

DISCHARGING
LOADING
@endforeach

USER NAME:

{{$data[0]['agent_name']}}

COMPANY NAME:

{{ $company }}

DATE:

{{$data[0]['created_at']->format('Y/m/d')}}

TIME:

{{$data[0]['created_at']->format('h:i a')}}

@endif @if($ref_code === 'SCF')

CONTAINER STATUS

@foreach($data as $item) @endforeach
CONTAINER NUMBER SIZE/
TYPE
ORIGINAL STATUS STATUS CHANGED LOADING VESSEL NAME LOADING VOYAGE NUMBER ACTION
{{$item->container_number}} {{$item->size}} {{$item->original_status}} {{$item->status_changed}} {{$item->loading_vessel_name}} {{$item->loading_voyage_number}}

@if($data AND $data[0]->attachment) @endif

USER NAME:

{{$data[0]['agent_name']}}

COMPANY NAME:

{{ $company }}

DATE:

{{$data[0]['created_at']->format('Y/m/d')}}

TIME:

{{$data[0]['created_at']->format('h:i a')}}

@endif @if($ref_code === 'RUR')

REEFER UNPLUGGING DETAILS

@foreach($data as $item) @endforeach
CONTAINER NO SIZE UNPLUGGING DATE AND TIME ACTION
{{$item->container_no}} {{$item->size}} {{$item->unplugging_time}}

USER NAME:

{{$data[0]['agent_name']}}

COMPANY NAME:

{{ $company }}

DATE:

{{$data[0]['created_at']->format('Y/m/d')}}

TIME:

{{$data[0]['created_at']->format('h:i a')}}

@endif @if($ref_code === 'PDC')

CONTAINER STATUS

@foreach($data as $item) @endforeach
CONTAINER NO SIZE TYPE REQUEST CHANGE FROM
(PORT NAME)
REQUEST CHANGE TO
(PORT NAME)
{{$item->container_no}} {{$item->size}} {{$item->type}} {{$item->request_change_form_port_name}} {{$item->request_change_to_port_name}}

@if($data AND $data[0]->attachment) @endif

USER NAME:

{{$data[0]['agent_name']}}

COMPANY NAME:

{{ $company }}

DATE:

{{$data[0]['created_at']->format('Y/m/d')}}

TIME:

{{$data[0]['created_at']->format('h:i a')}}

@endif @if($ref_code === 'OCC')

CONTAINER TRANSFER INFORMATION

@foreach($data as $item) @endforeach
CONTAINER NO SIZE VESSEL NAME/VOYAGE
FROM
VESSEL NAME/VOYAGE
TO
ACTION
{{$item->container_no}} {{$item->size}} {{$item->vessel_name}} {{$item->request_change_to}}

@if($data AND $data[0]->attachment) @endif

USER NAME:

{{$data[0]['agent_name']}}

COMPANY NAME:

{{ $company }}

DATE:

{{$data[0]['created_at']->format('Y/m/d')}}

TIME:

{{$data[0]['created_at']->format('h:i a')}}

@endif
@include('layouts.footer') {{----}} {{----}} {{----}} {{-- --}} {{-- --}} {{-- --}} {{-- View Form--}} {{-- --}} {{-- --}} {{----}} {{----}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--@if($ref_code === 'AMV')--}} {{-- @foreach($data as $item)--}} {{-- {{$item->month}}--}} {{-- @endforeach--}} {{-- --}}{{--

{{$month}}

--}} {{--

{{$vessel_name}}

--}} {{--

{{$voyage_inward}}

--}} {{--

{{$voyage_outward}}

--}} {{--

{{$vessel_code}}

--}} {{--

{{$eta}}

--}} {{--

{{$loa}}

--}} {{--

{{$last_port}}

--}} {{--

{{$next_port}}

--}} {{--

{{$line}}

--}} {{--

{{$service}}

--}} {{--

{{$vessel_type}}

--}} {{--

{{$etd}}

--}} {{--

{{$agent_name}}

--}} {{--

{{$username}}

--}} {{--

{{$ref_number}}

--}} {{--@endif--}} {{--@if($ref_code === 'CRR')--}} {{--

{{ $form_name }}

--}} {{--

{{$vessel_name}}

--}} {{--

{{$voyage_no}}

--}} {{--

{{$port_of_rotation}}

--}} {{--

{{$service_code}}

--}} {{--

{{$request_date}}

--}} {{--

{{$request_time}}

--}} {{--

{{$port_of_discharge}}

--}} {{--

{{$agent_name}}

--}} {{--

{{$username}}

--}} {{--

{{$ref_number}}

--}} {{--

{{$request_cut_off_date}}

--}} {{--

{{$request_cut_off_time}}

--}} {{--@endif--}} {{----}} {{----}}