{{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} @php($grandTotal = 0) @foreach($orders as $order) {{-- {{dd($order)}} --}} @php($bgcolor = str_contains($order->shipping_type_name,"Express") ? 'yellow' : '' ) @php($color = preg_match('/Canceled by customer|Cancel|Cancel \(By customer\)|Cancel \(No response\)|Cancel \(Duplicate Order\)/', $order->order_status) ? 'red' : '') {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- @php($grandTotal += $order->grand_total) --}} @php($grandTotal += $grand_total) @endforeach
Action Order # Closed Grand Total Shipping Cost Product ID Purchased OnBill to NameContact Payment Method Shipping MethodDelivery TypeOrder Status Status TimeTransaction #FSPStatus
View Process @if(isset($order->available) || $order->order_status == "Canceled by customer") @elseif($order->delivery_closed === 1) @endif {{ $order->order_id }}
{{ ($order->is_express_order == 1) ? '(ExCheckout)' : '' }}
{!! ($order->emi == 1) ? '(EMI)' : '' !!}
{{ $order->delivery_closed }} ৳ {{ number_format($grand_total, 0, '.', ',') }} ৳ {{ number_format($order->shipping_cost, 0, '.',',') }} {{ $order->product_code_inv }} {{ date('M d, Y h:i A', strtotime($order->created_at)) }}{{ $order->billing_name }}{!! $order->contact_no == "8801793497940" ? "".$order->contact_no. "" : $order->contact_no !!} {{ $order->payment_method_name }} {{ $order->shipping_method_name }}{!! $order->shipping_type_name !!}{{ $order->order_status }} {{ date('M d, Y h:i A', strtotime($order->order_status_time)) }}{{ $order->transaction_id }}{{ $order->fsp_name }}{{ $order->order_is_exist == 1 ? "Active" : "Inactive" }}
Grand Total ৳ {{ number_format($grandTotal, 0,'.',',') }}