@extends('layouts.app') @section('title', 'SI #'.optional($si)->si_number) @section('breadcrumbs') @endsection @section('content')

{{ $si->si_number }}

Shipping Instruction

Edit
Shipper
{{ $si->shipper->name ?? 'N/A' }}
{{ $si->shipper_address ?? '' }}
Contact: {{ $si->shipper_contact ?? '' }} {{ $si->shipper_phone ?? '' }}
Consignee
{{ $si->consignee->name ?? 'N/A' }}
{{ $si->consignee_address ?? '' }}
Notify Party
{{ $si->notifyParty->name ?? 'Same as Consignee' }}
{{ $si->notify_address ?? '' }}
Route
Loading Port{{ $si->portOfLoading->name ?? 'N/A' }}
Discharge Port{{ $si->portOfDischarge->name ?? 'N/A' }}
Vessel{{ $si->vessel_name ?? 'TBD' }} V.{{ $si->voyage_number ?? '' }}
Cargo
{{ $si->cargo_description ?? 'N/A' }}
Gross Weight: {{ $si->gross_weight ?? 0 }} MT
Volume: {{ $si->volume ?? 0 }} CBM
Packages: {{ $si->no_of_packages ?? 0 }}
Freight: {{ ucfirst($si->freight_terms ?? 'prepaid') }}
Details
SI #{{ $si->si_number }}
Date{{ $si->date?->format('d M Y') ?? 'N/A' }}
Type{{ ucfirst($si->si_type ?? 'Direct') }}
BL Type{{ ucfirst(str_replace('_', ' ', $si->bl_type ?? '')) }}
Status{{ ucfirst($si->status) }}
Order{{ $si->order->order_number ?? 'N/A' }}
@endsection