AMOUNT INFORMATION
@php
$site_sort_name_file = $order->site_sort_name;
$fileLocation = $backup_files_location . $site_sort_name_file . '/file_attech/';
$fileName = 'cust_doc_' . now()->format('d-M-Y h:i:s A') . '.zip';
$s3url = 'https://assignmentfile.s3.eu-west-2.amazonaws.com/';
@endphp
@php
$currName = $order->order_currency;
$currValue = $order->current_value;
if (empty($order->current_value)) {
$currValue = 1;
$currName = "USD";
}
$payCurr = $order->payment_type;
if (empty($order->payment_type)) {
$payCurr = $order->curr_name;
}
$rwards_point_balance = $customer->rwards_point ?? 0;
$cost = $order->cost ?? 0;
$due = $order->due ?? 0;
$paid = isset($order->paid) && $order->paid !== '' ? round($order->paid, 2) : 0;
@endphp
{{-- Currency Name (hidden) --}}
@if ($order->vendor_order == 1)
@endif
{{-- Cost Before Discount (conditionally hidden) --}}
@if(!empty($order->price_without_offer) && $order->vendor_order == 0)
@else
@endif
{{-- Turnitin Report Cost --}}
{{-- Total Quoted Cost --}}
@php
$orderCost = is_numeric($order->cost) ? round($order->cost, 2) : 0;
$dueAmt = is_numeric($order->due) ? round($order->due, 2) : 0;
@endphp
@if($order->vendor_order == 0)
@endif
@php
$quotationMailTemplateId = $mailstatus->quotation_mail_templates_id ?? null;
$dueAmt = is_numeric($order->due) ? round($order->due, 2) : 0;
$paymentGatewayPay = empty($order->pay_payment_gatway_temp) || $order->pay_payment_gatway_temp == 0
? $dueAmt
: round($order->pay_payment_gatway_temp, 2);
@endphp
{{-- JS Function for Validation --}}