{{ $store->name}}
{{ $store->first_address }}
@if(!empty($store->second_address))
{{ $store->second_address }}
@endif
@if(!empty($store->contact_number))
{{ $store->contact_number }}
@endif
Invoice / Receipt No |
{{ $invoice->invoice_paper_number }} |
Invoice Number |
{{ $invoice->invoice_number }} |
Store |
{{ $invoice->warehousestore->name }} |
Invoice Date |
{{ convert_date2($invoice->invoice_date) }} |
Customer |
{{ $invoice->customer->firstname }} {{ $invoice->customer->lastname }} |
Status |
{{ $invoice->status }} |
@if($invoice->status === "COMPLETE")
Mode of Payment |
@if($invoice->paymentMethodTable->count() > 1)
@php
$methods = [];
@endphp
@foreach($invoice->paymentMethodTable as $meth)
@php
echo $meth->payment_method->name." : ". number_format( $meth->amount,2)." ";
@endphp
@endforeach
@else
{{ $invoice->paymentMethodTable->first()->payment_method->name }} : {{ number_format($invoice->paymentMethodTable->first()->amount,2) }}
@endif
|
@endif
Credit Balance |
{{ number_format($invoice->customer->credit_balance,2) }} |
# |
Name |
Quantity |
Price |
Total |
|
@foreach($invoice->invoice_items as $item)
{{ $loop->iteration }} |
{{ $item->stock->name }} |
{{ $item->quantity }} |
{{ number_format($item->selling_price,2) }} |
{{ number_format(($item->total_selling_price),2) }} |
@endforeach
|
|
|
Sub Total |
{{ number_format($invoice->sub_total,2) }} |
|
|
|
Total |
{{ number_format(($invoice->sub_total),2) }} |
@if(isset($invoice->paymentMethodTable->first()->payment_method_id) && $invoice->paymentMethodTable->first()->payment_method_id == "1")
@php
$method = json_decode($invoice->paymentMethodTable->first()->payment_info);
@endphp
@if(isset( $method-> customer_change))
|
|
|
Change |
{{ number_format(($method-> customer_change),2) }} |
@endif
@endif
{{ $store->footer_notes }}
{!! softwareStampWithDate() !!}