Order Receipt

Order Number: #{{$Order->order_no}}

Date: {{$Order->created_at->format('d-m-Y')}}

Customer: {{$Order->customer->name}}

Payment method: {{$Order->payment_mode=="1"?"COD":"Else"}}

Status: @if($Order->status=="1") Pending @elseif($Order->status=="2") In Progress @elseif($Order->status=="3") Completed @endif

@php $total=0; @endphp @foreach($Order->products as $i => $product) @php $prodTotal = $product->quantity * $product->price; $total=$total+$prodTotal; @endphp @endforeach
Item Name Quantity Price Total
{{$product->detail->name}} {{$product->quantity}} {{$product->price}} {{number_format($prodTotal,2)}}
Total {{number_format($total,2)}}

Thank you for your purchase!