@extends('backend.app') @push('css') @endpush @section('content')

Order Edit

@csrf @method('PUT') {{-- Top Row: Date + Ref + Status --}}
{{-- Product Search --}}
Type at least 2 characters to search by product name or SKU.
{{-- Product Table --}}
@foreach($item->details as $line) @php $product = $line->product; $variants = $product->variations ?? collect(); $selectedV = $line->variation; $priceNow = $line->unit_price; $lineRawTotal = $priceNow * $line->quantity; @endphp @endforeach
Image Product Variant Quantity Price Total Action
product
{{ $product->name }}
@if($product->sku)
SKU: {{ $product->sku }}
@endif
@if($variants->count() > 0) @else No Variants @endif {{-- hidden inputs --}} {{ number_format($lineRawTotal, 2, '.', '') }}
{{-- Customer + Totals --}}
{{-- Redx Fields --}}
These fields only for Redx Courier Service
{{-- Pathao Fields --}}
These fields only for Pathao Courier Service
{{-- Note --}}
{{-- Submit (mobile sticky) --}}
{{-- Order by same number History --}}
@foreach($orderbyNumber as $orbynum) @endforeach
Order Id Product Customer IP Address Status Assign User
{{ $orbynum->id }} {{ $orbynum->first_name }} {{ $orbynum->last_name }} {{ $orbynum->ip_address }} {{ $orbynum->status }} {{ $orbynum->assign ? $orbynum->assign->username : '' }}
@endsection @push('js') @endpush