JAYA Trading Company

{{isset($location_details) && isset($location_details->address) ? $location_details->address. ', ' :''}} {{isset($location_details) && isset($location_details->phone) ? $location_details->phone. ', ':' '}}

INVOICE

@foreach($transaction->sell_lines as $key => $line) @endforeach @php $payment_lines = $transaction->payment_lines; @endphp
{{$transaction->customer->account_name ?? ''}} Invoice No : {{$transaction->invoice_no ?? ''}}

Date : {{$transaction->transaction_date ?? ''}}
Casier : {{$transaction->user->first_name ?? ''}}
No Description Qty Price Amount
{{ $key + 1 }} {{$line->product->name ?? ''}} {{$line->tag_no ? '('.$line->tag_no.')' : ''}} {{$line->quantity ?? 0}} {{$line->unit_price ?? '0.00'}} {{$line->sub_total ?? '0.00'}}
@foreach($payment_lines as $payment) @endforeach
{{$payment->method}} : {{$payment->amount}}
@php $tax = $transaction->tax_amount > 0 ? ($transaction->tax_amount /100) * $transaction->lines_of_sell->sum('sub_total') : 0; @endphp
Sub Total {{$transaction->sell_lines->sum('line_total')}}
Tax {{$tax}}
Discount {{$transaction->discount_amount}}
Grand Total {{$transaction->final_total > 0 ? number_format($transaction->final_total, 2) : '0.00'}}

Term & Conditions

1. Original Invoice must be provided for exchange or return of goods

2. Warranty period less 14days per year 364 days

All items Received in good condition & order

----------------

Receiver's Signature

----------------

Authorized Signature

Solution by @ +94 (077)2877178