{{ $store->name}}

{{ $store->first_address }} @if(!empty($store->second_address))
{{ $store->second_address }} @endif @if(!empty($store->contact_number))
{{ $store->contact_number }} @endif

logo) }}" alt='Logo'>
@if($invoice->status === "COMPLETE") @endif
Invoice / Receipt No {{ $invoice->invoice_paper_number }}
Invoice Number {{ $invoice->invoice_number }}
Store {{ $invoice->warehousestore->name }}
Invoice Date {{ convert_date($invoice->invoice_date) }}
Time {{ date("h:i a",strtotime($invoice->sales_time)) }}
Customer {{ $invoice->customer->firstname }} {{ $invoice->customer->lastname }}
Status {{ $invoice->status }}
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
Credit Balance {{ number_format($invoice->customer->credit_balance,2) }}

Sales Invoice / Receipt

@foreach($invoice->invoice_items as $item) @endforeach
# Name Quantity Price Total
{{ $loop->iteration }} {{ $item->stock->name }} {{ $item->quantity }} {{ number_format($item->selling_price,2) }} {{ number_format(($item->total_selling_price),2) }}
Sub Total {{ number_format($invoice->sub_total,2) }}
Total {{ number_format(($invoice->sub_total -$invoice->discount_amount),2) }}
{{ $store->footer_notes }}


{!! softwareStampWithDate() !!}