@php $districts = $customizeData['districts'] ?? collect(); $shippingMode = $customizeData['shippingMode'] ?? 'district_wise'; $insideDhakaFee = $customizeData['insideDhakaFee'] ?? 60; $outsideDhakaFee = $customizeData['outsideDhakaFee'] ?? 120; $districtChargeMap = $customizeData['districtChargeMap'] ?? []; $defaultShippingFee = $customizeData['defaultShippingFee'] ?? 80; @endphp
@csrf @method('PATCH') {{-- Shipping Information --}}
Shipping Information
Area, upazila, district লিখলে auto select হবে (e.g. panchlaish, ctg) @include('shared.partials.delivery-area-breadcrumb', [ 'id' => 'coDeliveryAreaBreadcrumb', 'routeId' => 'coDeliveryAreaRoute', 'hintId' => 'coDeliveryAreaHint', ])
{{-- Products --}}
Products
@php $oldItems = old('items'); @endphp @if($oldItems) @foreach($oldItems as $idx => $row) @include('backEnd.order.partials.customize-order-item-row', ['idx' => $idx, 'row' => $row, 'order' => $order]) @endforeach @else @foreach($order->items as $idx => $item) @include('backEnd.order.partials.customize-order-item-row', [ 'idx' => $idx, 'row' => [ 'name' => $item->product_name, 'product_id' => $item->product_id, 'variant_id' => $item->variant_id, 'size' => $item->size, 'color' => $item->color, 'price' => $item->unit_price, 'qty' => $item->qty, ], 'order' => $order, 'item' => $item, ]) @endforeach @endif
Product Price Qty Total
{{-- Summary + actions --}}
৳{{ number_format($order->amount) }}
@if($errors->any())
@foreach($errors->all() as $err)
{{ $err }}
@endforeach
@endif