New Order Notification

A new order has been placed. Here are the details:

Order Status: {{ $order->order_status == 1 ? 'Pending' : 'Completed' }}

[Order # {{$order->invoice_id}}] ({{$order->created_at->format('d M Y')}})

@foreach($order->orderdetails as $value) @endforeach
Product Quantity Price
{{$value->product_name}} x {{$value->qty}} {{$value->qty*$value->sale_price}}
Subtotal {{$order->amount - ($order->shipping_charge+$order->discount)}}
Shipping Charge {{$order->shipping_charge}}
Method {{$order->payment?$order->payment->payment_method:''}}
Total {{$order->amount}}
Billing Address
{{$shipping->name??''}}
{{$shipping->phone??''}}
{{$shipping->address??''}}
{{$shipping->area??''}}
{{$shipping->email??''}}

Thank you for reviewing this order. Please check the admin panel for more details or to update the order status.

Best regards,

{{ config('app.name') }} Team