Reference: {{$reference_no}}
Sale Status: @if($sale_status==1){{'Completed'}} @elseif($sale_status==2){{'Pending'}} @endif
Payment Status: @if($payment_status==1){{'Pending'}} @elseif($payment_status==2){{'Due'}} @elseif($payment_status==3){{'Partial'}} @else{{'Paid'}}@endif
| # | Product | Download Link | Qty | Unit Price | SubTotal | @foreach($products as $key=>$product)|
|---|---|---|---|---|---|---|
| {{$key+1}} | {{$product}} | @if($file[$key])Download | @elseN/A | @endif{{$qty[$key].' '.$unit[$key]}} | {{number_format((float)($total[$key] / $qty[$key]), 2, '.', '')}} | {{$total[$key]}} |
| Total | {{$total_qty}} | {{$total_price}} | ||||
| Order Tax | {{$order_tax.'('.$order_tax_rate.'%)'}} | |||||
| Order discount | @if($order_discount){{$order_discount}} @else 0 @endif | |||||
| Shipping Cost | @if($shipping_cost){{$shipping_cost}} @else 0 @endif | |||||
| Grand Total | {{$grand_total}} | |||||
| Paid Amount | @if($paid_amount){{$paid_amount}} @else 0 @endif | |||||
| Due | {{number_format((float)($grand_total - $paid_amount), 2, '.', '')}} | |||||
Thank You