@extends('layouts.master') @section('title') Create Order @endsection @section('css') @endsection @section('content')

Manage Sales Order

@if (session('success')) @endif @if($order->status == 4) @endif
@csrf
Salesman
Salesman ID
@if($order->sales_type == 5) @foreach($accountJobs as $account_job) @if($order->account_job_id == $account_job->AcAccountJobID) @endif @endforeach @else @endif
@if($order->sales_type == 5) @foreach($regions as $key=>$value) @if($order->order_region_id == $value['RegionID']) @endif @endforeach @else @endif
# Product Details
Price
QTY Amount (RM)
Sub Total
Estimated Tax (12.5%)
Discount
Shipping Charge
@if($order->sales_type != 4 && $order->sales_type != 5)
@if($order->payment_status != 1)
@endif @foreach($payments as $payment) @endforeach
Date Ref No Status Paid Amount (RM)
{{ $payment->document_date }} {{ $payment->receipt_number }} PENDING {{ number_format($payment->total_amount, 2) }}
Paid {{ $sum_payment }}
Balance {{ $balance_payment }}
@endif
@if($order->sales_type == 4) @elseif($order->sales_type == 5) @else Print @endif