@extends('layouts.master') @section('page_title', 'Edit Order') @section('title', 'Edit Order') @section('main_item', 'Orders') @section('sub_item', 'Edit Orders') @section('content')
@csrf @method('PUT')
@php $sale_date = Carbon\Carbon::parse($sale->sale_date)->toDateString(); @endphp
user()->cannot('edit_date_access')) disabled @endif>
currency_type == 'lkr') style="display: none" @endif>

Customer Details

@csrf

@foreach ($sale->saleItems as $count => $item) @endforeach
Image Product Name Order Quantity Selling Price Line Total Action
@php $product = App\Product::find($item->product_id); if (!empty($product->parent_product_id)) { $product = App\Product::find($product->parent_product_id); } @endphp @if (!empty($product->image)) @else @endif {{ $item->product->product_name . ', ' . $item->attribute_value }} @if ($sale->currency_type == 'usd') {{ $item->sale_line_total }} @else {{ $item->sale_line_total }} @endif
courier_id)) value="{{ $courier_payment->courier_id }} @endif" hidden>

Order Remark

@php $callStatus = ''; @endphp @if ($setting->multi_modification_esb != '1') @else @endif

Add Payment

@if ($setting->delivery_fee_type == 'from_list')
@error('delivery_fee') @enderror
@else
weight == 0) checked @endif>
@endif @if (auth()->user()->can('order_commission_agent'))
woocommerce_user_wise_report != '1') style="display: none" @endif>
@else @endif

@php $percentage = 0; if ($sale->discount_type == 'fixed') { $percentage = $sale->invoice_discount; } else { if ($sale->invoice_discount != 0) { $percentage = ($sale->invoice_discount / $sale->invoice_total) * 100; } } @endphp @if (auth()->user()->can('order_discount'))
@else @endcan
@error('payment_method') @enderror
@if (!empty($sale_payment->payment_method))
payment_method)) @if (!empty($sale_payment->payment_method == 'bank_transfer')) @else hidden @endif @endif> editOrder_someOption_edit_disable == 1) disabled @endif>
@else @endif
@if (!empty($sale_payment->account_id)) @else @endif

Summary

editOrder_someOption_edit_disable == 1) readonly @endif>

Note

@if (!empty($call_status)) @foreach ($call_status as $status) @if (!empty($status->next_call_date)) @else @endif @endforeach @endif
Date Status Next Call Date Remark
{{ $status->call_date }} {{ $status->call_status }}{{ \Carbon\Carbon::parse($status->next_call_date)->format('Y-m-d') }} N/A{{ $status->remark }}
@endsection @section('scripts') @endsection