@section('title','Edit Order') @push('vendor-style') @endpush @push('style') @endpush @push('vendor-script') @endpush @push('script') @endpush {{-- Content --}} @csrf @lang('Customer') * @if(isset($old['customer_id']) && $old['customer_id']!='') {{$old['customer_id']->name}} @endif @error('customer_id'){{ $message }}@enderror @lang('Division') * @if(auth()->user()->division_id==null) @if(isset($old['division_id']) && $old['division_id']!='') {{$old['division_id']->name}} @endif @else {{$divisions->defaultLocale->name}} @endif @error('division_id'){{ $message }}@enderror @lang('Delivery Address') * {!! old('delivery_address', $order->delivery_address) !!} @lang('Delivery Address') @lang('Order Placed On') * @lang('Order Placed On') @if($order->status >= 3 && auth()->user()->can('confirm_order_update')) @lang('Delivery Time') @lang('ETA') @endif Products add Add Item Item Qty @if($old['products']) @foreach($old['products'] as $index => $product) @if(isset($product['id']) && $product['id']) @endif {{$product['product_id']->name}} clear @endforeach @endif Submit send refresh @lang('Reset')