@extends('layouts.master') @section('title') Create Order @endsection @section('css') @endsection @section('content') @if (session('success')) @endif @if($order->status == 4) @endif

Manage Sales Order

@csrf @method('PUT')
Salesman
Salesman ID
@if($order->sales_type == 6 || $order->sales_type == 9) @foreach($accountJobs as $account_job) @if($order->account_job_id == $account_job->AcAccountJobID) @endif @endforeach @else @endif
@if($order->sales_type == 6 || $order->sales_type == 9 || $order->status == 3) @foreach($regions as $key=>$value) @if($order->order_region_id == $value['RegionID']) @endif @endforeach @else @endif
status == 3) disabled @endif @if($order->sales_type == 6) readonly @endif @if($order->sales_type == 9) readonly @endif />
status == 3) disabled @endif @if($order->sales_type == 6) readonly @endif @if($order->sales_type == 9) readonly @endif/>
status == 3) disabled @endif @if($order->sales_type == 6) readonly @endif @if($order->sales_type == 9) readonly @endif/>
@if($order->status != 3 && $order->sales_type != 6 && $order->sales_type != 9) @endif
status == 3) disabled @endif @if($order->sales_type == 6) readonly @endif @if($order->sales_type == 9) readonly @endif>
status == 3) disabled @endif @if($order->sales_type == 6) readonly @endif @if($order->sales_type == 9) readonly @endif>
status == 3) disabled @endif @if($order->sales_type == 6) readonly @endif @if($order->sales_type == 9) readonly @endif>
status == 3) disabled @endif @if($order->sales_type == 6) readonly @endif @if($order->sales_type == 9) readonly @endif>
# Product Details
Price
QTY Amount (RM)
Sub Total
Estimated Tax (12.5%)
Discount
Shipping Charge
@if($order->sales_type == 6)
Price Request Rejected
@endif @if($order->sales_type == 9)
Expired
@endif @if($order->status == 3)
Order Cancelled
@endif
@if($order->sales_type != 4 && $order->sales_type != 6 && $order->sales_type != 9)
@if($order->status != 3) @endif @if($order->payment_status != 1 && $order->sales_type != 9 && $order->status != 3 && $order->sales_type != 6)
@else @endif @foreach($payments as $payment) @endforeach @if($balance_payment >= 0) @else @endif
Date Ref No Status Paid Amount (RM)
{{ $payment->document_date }} {{ $payment->receipt_number }} PENDING {{ number_format($payment->total_amount, 2) }}
Sub total 0
Paid {{ $sum_payment }}
Balance{{ $balance_payment }}{{ $balance_payment }}
@endif
@if($order->sales_type != 6 && $order->sales_type != 9) @if($order->status != 3) Cancel Order @if($order->sales_type != 4 && $order->sales_type != 9) Print @endif @endif @endif