@extends('layouts.app') @section('title', 'BL #'.optional($bill)->bl_number) @section('breadcrumbs') @endsection @section('content')

{{ $bill->bl_number }}

Bill of Lading

Edit

BILL OF LADING

{{ $bill->bl_number ?? 'Draft' }}
Shipper
{{ $bill->shipper->name ?? 'N/A' }}
{{ $bill->shipper_address ?? '' }}
BL Type
{{ ucfirst(str_replace('_', ' ', $bill->bl_type ?? '')) }}
Consignee
{{ $bill->consignee->name ?? 'N/A' }}
{{ $bill->consignee_address ?? '' }}
Notify Party
{{ $bill->notifyParty->name ?? 'Same as Consignee' }}
Vessel
{{ $bill->vessel_name ?? 'TBD' }}
Voyage
{{ $bill->voyage_number ?? '' }}
Port of Loading
{{ $bill->portOfLoading->name ?? 'N/A' }}
Port of Discharge
{{ $bill->portOfDischarge->name ?? 'N/A' }}
Description of Goods
{{ $bill->cargo_description ?? 'N/A' }}
Gross Weight
{{ number_format($bill->gross_weight ?? 0, 3) }} MT
Volume
{{ number_format($bill->volume ?? 0, 3) }} CBM
Packages
{{ $bill->no_of_packages ?? 0 }}
Freight
{{ ucfirst($bill->freight_terms ?? 'prepaid') }}
@endsection