{{-- --}} {{--
Generate PDF Print
--}} @php $subTotal = 0; @endphp
{{-- SEALINK LOGISTICS --}}
Load Request
{{-- SEALINK LOGISTICS --}} SEALINK LOGISTICS
{{ $adminDetail->name ?? '' }}

{{ $adminDetail->address ?? '' }}

{{ $adminDetail?->city?->name ?? '' }} {{ $adminDetail?->city?->state_code ?? '' }} {{ $adminDetail?->city?->country_code ?? '' }} {{ $adminDetail->postal_code ?? '' }}

{{ $loadRequestEmail?->value ?? $adminDetail->email }}

{{ $adminDetail->phone ?? '' }}

Quote#: {{ $quotation->quotation_id ?: $quotation->id }}

{{ $quotation?->customer?->company_name ? $quotation?->customer?->company_name : '' }}

{!! $quotation?->customer?->address ? $quotation?->customer?->address . ','. '
' : '' !!}

{{ $quotation?->customer?->cities?->name ? $quotation?->customer?->cities?->name . ',' : '' }} {{ $quotation?->customer?->cities ? $quotation?->customer?->cities?->state_code . ',' : '' }} {{ $quotation?->customer?->cities ? $quotation?->customer?->cities?->country_code . ',' : '' }} {{ $quotation->customer->postal_code ?? '' }}

{{ $quotation?->customer?->email ?? '' }}

{{ $quotation?->customer?->phone ?? '' }}

{{--

Date: {{ \Carbon\Carbon::parse($quotation->created_at)->format('F, d Y') }}

--}}
Quote Type: {{ $quotation->quote_type ? $quotation->quote_type : 'N/A' }}
Company: {{ $quotation?->customer?->company_name ?? '' }}
Customer ID: #{{ $quotation?->customer?->customer_id ?? '' }}
Employee Code: {{ $quotation->employee_code ?? "N/A" }}
{{--
Count Of Truck: {{ $quotation->truck_count ? $quotation->truck_count : 'N/A' }}
--}}
Mode of Transport: {{ $quotation->modeofT ? $quotation->modeofT->name : 'N/A' }}
Customer Requested By: {{ $quotation->requested_by ? $quotation->requested_by : 'N/A' }}
@php $currency = ''; @endphp @foreach($quotation->rows as $index => $row) @php $total = $row->shipping->base_price ?? 0; foreach ($row->warehouses as $warehouseIndex => $warehouse) { $total += $warehouse->amount; } $subTotal += $total; @endphp @if (count($quotation->rows ?? []) > 1)
Lane {{ $index + 1 }}
@endif
Quantity Of Truck: {{ $row->quantity ?? 'N/A' }}
Equipmant Type: {{ $row?->equipmentRelation?->name ?? 'N/A' }}

Shipping Location -

{{-- @isset($row?->shipping?->shippingRows) @php $currency = $row?->shipping?->currency; @endphp @foreach ($row?->shipping?->shippingRows as $shippingRow) @endforeach @endisset --}}
Commodity : {{ $row?->shipping?->commodity ?? 'N/A' }} Currency : {{ $row?->shipping?->currency ?? 'N/A' }} Base Price : {{ $row?->shipping?->base_price ?? 'N/A' }}
Quantity : {{ $shippingRow->quantity ?? 'N/A' }} Unit : {{ $shippingRow->units ?? 'N/A' }} Weight : {{ $shippingRow->weight_value ? $shippingRow->weight_value . $shippingRow->weight : 'N/A' }} Dimensions : {{ $shippingRow->dimension_value ? $shippingRow->dimension_value . ' ('. $shippingRow->dimension . ')' : 'N/A' }}
{{-- @if(!empty($row->shipping->dimension_value)) @php $dims = explode('*', $row->shipping->dimension_value); $labels = ['L', 'W', 'H']; // labels in order $formatted = []; foreach ($dims as $i => $val) { if (!empty($val) && isset($labels[$i])) { $formatted[] = $val . $labels[$i]; } } @endphp {{ implode(' * ', $formatted) }} @else N/A @endif --}} @if($row->additional)
Additional Details
Tarped: {{ $row->additional->tarped ? 'Yes' : 'No' }}
Team: {{ $row->additional->team ? 'Yes' : 'No' }}
Hazmat:
@if($row->additional && $row->additional->hazmat) Yes (Class: {{ $row->additional->class ?? 'N/A' }}) @else No @endif
Temperature:
@if($row->additional && $row->additional->temperature) Yes (Value: {{ $row->additional->temperature_value ?? 'N/A' }} {{ $row->additional->temperature_unit ?? '' }}) @else No @endif
Non Stackable: {{ $row->additional->non_stackable ? 'Yes' : 'No' }}
Bonded: {{ $row->additional->bonded ? 'Yes' : 'No' }}
Trailer Drop: {{ $row->additional->trailer_drop ? 'Yes' : 'No' }}
Tailgate Delivery: {{ $row->additional->tailgate ? 'Yes' : 'No' }}
Residential Delivery: {{ $row->additional->residential ? 'Yes' : 'No' }}
@endif
Pickup Delivery Warehouse Currency Base Price Amount
@forelse ($row->pickups as $pickupIndex => $pickup)
{{ $pickup->name ? $pickup->name . ', ' : '' }} {!! $pickup->street ? $pickup->street . ', ' . '
' : '' !!} {!! $pickup->cities ? $pickup?->cities?->name . ', ' : '' !!} {{ $pickup->cities ? $pickup->cities?->state_code . ', ' : '' }} {{ $pickup->cities ? $pickup->cities->country_code . ', ' : '' }} {!! $pickup->postal_code ? $pickup->postal_code . ', ' . '
' : '' !!} {{ $pickup->q_email ? $pickup->q_email . ', ' : '' }} {{ $pickup->q_phone ? $pickup->q_phone . ', ' : '' }}
Quantity: {{ $pickup->quantity ? $pickup->quantity . ', ' : '' }}
Units: {{ $pickup->units ? $pickup->units . ', ' : '' }}
Weight: {{ $pickup->weight_value ? $pickup->weight_value . ', ' : '' }} {{ $pickup->weight ? $pickup->weight . ', ' : '' }}
Dimension: {{ $pickup->dimension_value ? $pickup->dimension_value . ', ' : '' }} {{ $pickup->dimension ? $pickup->dimension . ', ' : '' }}
Note: {{ $pickup->note ? $pickup->note . ', ' : '' }}
@empty
No data Avaialble
@endforelse
@forelse ($row->deliveries as $deliveryIndex => $delivery)
{{ $delivery->name ? $delivery->name . ', ' : '' }} {!! $delivery->street ? $delivery->street . ', ' . '
' : '' !!} {!! $delivery->cities ? $delivery->cities->name . ', ' : '' !!} {{ $delivery->cities ? $delivery->cities->state_code . ', ' : '' }} {{ $delivery->cities ? $delivery->cities->country_code . ', ' : '' }} {!! $delivery->postal_code ? $delivery->postal_code . ', ' . '
' : '' !!} {{ $delivery->q_email ? $delivery->q_email . ', ' : '' }} {{ $delivery->q_phone ? $delivery->q_phone . ', ' : '' }}
Quantity: {{ $delivery->quantity ? $delivery->quantity . ', ' : '' }}
Units: {{ $delivery->units ? $delivery->units . ', ' : '' }}
Weight: {{ $delivery->weight_value ? $delivery->weight_value . ', ' : '' }} {{ $delivery->weight ? $delivery->weight . ', ' : '' }}
Dimension: {{ $delivery->dimension_value ? $delivery->dimension_value . ', ' : '' }} {{ $delivery->dimension ? $delivery->dimension . ', ' : '' }}
Note: {{ $delivery->note ? $delivery->note . ', ' : '' }}
@empty
No data Avaialble
@endforelse
@forelse ($row->warehouses as $warehouseIndex => $warehouse)
Location: {{ $warehouse?->location?->name ? $warehouse?->location?->name . ', ' : '-' }}
Amount: {{ $warehouse->amount ? $warehouse->amount : '' }}
@empty
No data Avaialble
@endforelse
{{ $row->shipping->currency ?? '-' }}
{{ $row->shipping->base_price ?? 0 }}
{{ $total }}
@endforeach
@php $chargesTotal = 0; foreach ($quotation->charges as $charge) { if ($charge->rate_type && $charge->amount) { if ($charge->rate_type == 'Percentage') { $chargesTotal += ($subTotal * ($charge->amount ?? 0) / 100); } else { $chargesTotal += $charge->amount ?? 0; } } } $discountTotal = 0; foreach ($quotation->discounts as $discount) { if ($discount?->types && $discount?->types?->Amount) { if ($discount->types->percentage == 'Percentage') { $discountTotal += ($subTotal * ($discount->types->Amount ?? 0) / 100); } else { $discountTotal += $discount->types->Amount ?? 0; } } } $taxableAmount = $subTotal + $chargesTotal - $discountTotal; $totalTax = 0; if ($quotation->gst) { $totalTax += $taxableAmount * $quotation->gst / 100; } if ($quotation->pst) { $totalTax += $taxableAmount * $quotation->pst / 100; } if ($quotation->hst) { $totalTax += $taxableAmount * $quotation->hst / 100; } if ($quotation->qst) { $totalTax += $taxableAmount * $quotation->qst / 100; } @endphp Subtotal: {{ number_format($subTotal, 2) }}
Charges: {{ number_format($chargesTotal, 2) }}
Discount: {{ number_format($discountTotal, 2) }}
Tax: {{ number_format($totalTax, 2) }}
Final Price: {{ $currency }} {{ number_format($subTotal + $chargesTotal - $discountTotal + $totalTax, 2)}}
{{--

Quotation Validity: 20 Sep,2025

--}}

Terms & Conditions

{!! $quotation?->term_conditions?->description !!}
{{-- --}}