An invoice with invoice number {{$order->invoice}}
Name: {{$order->first_name}}
Address: {{$order->town}},{{$order->district}},{{$order->thana}}
Street: {{$order->address}}
Email: {{$order->email}}
Phone: {{$order->phone}}
| Invoice | {{$order->invoice}} | ||||
| Invoice Date | {{date('d M Y', strtotime($order->created_at))}} | ||||
| Payment Method | {{$order->payment_method}} | ||||
| Sub Total | {{number_format($order->subtotal, 2, '.', ',')}} | ||||
| Shipping Charge | +{{number_format($order->shipping_charge, 2, '.', ',')}} | ||||
| Coupon ({{$order->coupon_code}}) | -{{number_format($order->discount, 2, '.', ',')}} | ||||
| Grand Total | {{number_format($order->total, 2, '.', ',')}} | ||||
| Partial Payment | @php $part=App\Models\PartialPayment::where('order_id',$order->id)->where('status',1)->sum('amount'); @endphp {{$part}} | ||||
| Due | {{$order->total-$part}} | ||||
| Payment Status | Unpaid | @elsePayment Status | Paid | @endif||
| Payment Date | {{$order->pay_date}} | @endif||||
| SL | Product | Attribute | Color | Qty | Price | Subtotal |
|---|---|---|---|---|---|---|
| {{$key+1}} | {{$item->title}} | {{$item->qty}} | {{number_format($item->price, 2, '.', ',')}} | {{number_format($item->total_price, 2, '.', ',')}} |