Shop Address: {{setting('address')}}
Mobile: {{setting('phone')}}
Email: {{setting('mail')}}

Hello {{$order->first_name}},

An invoice with invoice number {{$order->invoice}}

INVOICE TO:.

Name: {{$order->first_name}}
Address: {{$order->town}},{{$order->district}},{{$order->thana}}
Street: {{$order->address}}
Email: {{$order->email}}
Phone: {{$order->phone}}

@if($order->pay_staus==null) @else @endif @if($order->pay_staus!=null) @endif
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 UnpaidPayment Status Paid
Payment Date {{$order->pay_date}}
@foreach ($order->orderDetails as $key => $item) @endforeach
SL Product Attribute Color Qty Price Subtotal
{{$key+1}} {{$item->title}} {{$item->qty}} {{number_format($item->price, 2, '.', ',')}} {{number_format($item->total_price, 2, '.', ',')}}