@extends('layouts.app') @section('title', 'Payment Details') @push('styles') @endpush @section('content')

💰 Payment Details

@csrf

Selected shipments ({{ $shipments->count() }})

@foreach($shipments as $index => $shipment) @php $itemRows = $shipment->items; $itemCount = $itemRows->count() > 0 ? $itemRows->count() : ($shipment->item_name ? 1 : 0); $openShipment = $index === 0; @endphp
@endforeach

Shipping Rate Calculation

@php $rateShipment = $shipments->first(); $calcDestination = old('destination', $rateShipment->port_of_destination ?: 'male'); $calcCargo = old('cargo_type', $rateShipment->cargo_type ?: 'ecommerce'); @endphp
Port of Destination *
Cargo Type *
@php $weightUnit = old('weight_unit', $prefillMeasurements['weight_unit'] ?? 'kg'); @endphp
@php $dimensionUnit = old('dimension_unit', $prefillMeasurements['dimension_unit'] ?? 'cm'); @endphp

Additional Services (Optional)

Service Type Service Details Amount (₹)

Additional Charges

Total Payment Amount
Selected {{ $shipments->count() }} received shipment(s)

₹ 0.00

Paid via

@error('paid_via')
{{ $message }}
@enderror
@include('admin.measurement-settings.partials.dimensional-weight-modal') @endsection @push('scripts') @endpush