@component('mail::message')
Order No: {{$order->code}} Order Date: {{$order->created_at}}
Shipping address: {!!$shipping_details!!} Order Status: Processing
Payment Status: {{ucfirst($order->payment_status)}}
@foreach ($order->details as $key => $details) @endforeach
#SL Item Quantity Unit Price Total Price
{{$key + 1}} {{$details->product->name}} {{$details->product_quantity}} {{$details->product_price}} {{$details->total_price}}
@endcomponent