@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')
business_location != '1') style="display: none" @endif>
@php if (!empty($sale->invoice_no)) { $invoice_no = $sale->invoice_no; } elseif (!empty($sale->ref_no)) { $invoice_no = $sale->ref_no; } else { $invoice_no = null; } @endphp
@if($setting->remove_some_resources == '1') @else @endif
order_batch_enable != '1') 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 }} {{ $item->sale_line_total }}
courier_id)) value="{{ $courier_payment->courier_id }} @endif" hidden>

Order Remark

@php $callStatus = ''; $city = App\City::where('id', $sale->customer->city)->first(); @endphp {{-- @if ($city->name_en == 'Other') --}}

Add Payment

@if ($setting->delivery_fee_type == 'from_list')
@error('delivery_fee') @enderror
@else
weight == 0) checked @endif>
@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

Summary


Note

@if($setting->enable_updated_user == '1') @else @endif @if (!empty($call_status)) @foreach ($call_status as $status) @if($setting->enable_updated_user == '1') @else @if (!empty($status->next_call_date)) @else @endif @endif @if($setting->enable_updated_user == '1') @else @endif @endforeach @endif
Date StatusUpdated UserNext Call DateCall Status
{{ $status->call_date }} {{ $status->call_status_reason ?? 'N/A' }}{{ $status->username }}{{ \Carbon\Carbon::parse($status->next_call_date)->format('Y-m-d') }} N/A{{ $status->call_status }} {{ $status->remark }}
@endsection @section('scripts') @endsection