@if(isset($type))
{{isset($business_details) && isset($business_details->address) ? $business_details->address :'NO-603, HOSPITAL ROAD,'}} {{isset($business_details) && isset($business_details->city) ? $business_details->city :'Colombo'}}
{{isset($business_details) && isset($business_details->mobile) ? $business_details->mobile :' '}}, {{isset($business_details) && isset($business_details->phone) ? $business_details->phone :' '}}
{{isset($business_details) && isset($business_details->email) ? $business_details->email :'admin@gmail.com'}}
| IN No.: {{$transaction->invoice_no ?? ''}} | Date: {{$transaction->created_at ?? ''}} |
| OT: {{ $order_type }} | User: {{ $transaction->staff->first_name ?? ''}} |
| Customer: {{ $transaction->customer->first_name ?? ''}} | |
| No | Item | Amt |
| {{ $no++ }} | {{$line->product->name ?? ''}} {{$line->product->sku_code ?? ''}}
{{$line->quantity ?? 0}}x{{$line->unit_price ?? '0.00'}}
@if($line->discount_amount > 0)
Discount: {{number_format($line->discount_amount, 2)}} @endif |
{{$line->sub_total ?? '0.00'}} |
| Sub Total: | {{number_format($transaction->lines_of_sell->sum('sub_total'), 2)}} |
| Tax : | {{$tax > 0 ? number_format($tax, 2) : '0.00'}} |
| Discount : | {{$transaction->discount_amount > 0 ? number_format($transaction->discount_amount, 2) : '0.00'}} |
| Total: | {{$transaction->lines_of_sell->sum('sub_total') > 0 ? number_format($transaction->lines_of_sell->sum('sub_total'), 2) : '0.00'}} |
| Total Items: | {{$transaction->lines_of_sell->sum('quantity')}} |
| {{$payment->method}}: | {{$payment->amount > 0 ? number_format($payment->customer_paid, 2) : '0.00'}} |
| Balance: | {{ $due < 0 ? number_format(str_replace('-', '', $due), 2) : '0.00'}} |
No Service Charges
Thank you come again
| IN No.: {{$transaction->invoice_no ?? ''}} | {{ date('Y-m-d H:i:s A')}} |
| Customer: {{ $transaction->customer->first_name ?? ''}} | |
| User: {{ $transaction->staff->first_name ?? ''}} | |
| No | Item | Qty |
| {{ $no++ }} | {{$line->product->name ?? ''}} {{$line->product->sku_code ?? ''}} | {{$product['quantity']}} |
Total Items:
{{$total_qty}}
| IN No.: {{$transaction->invoice_no ?? ''}} | {{ date('Y-m-d H:i:s A')}} |
| Customer: {{ $transaction->customer->first_name ?? ''}} | |
| User: {{ $transaction->staff->first_name ?? ''}} | |
| No | Item | Qty |
| {{ $no++ }} | {{$line->product->name ?? ''}} {{$line->product->sku_code ?? ''}} | {{$product['quantity']}} |
Total Items:
{{$total_qty}}