{{$company['cname']}}
{{$company['address']}}, {{$company['city']}}
{{trans('pos.ph')}}{{$company['phone']}}

{{$general['lang_bill_number']}} :{{prefix($general['prefix'],$invoice['ins'])}} # {{$invoice['tid']}}
{{$general['person']}} : {{$invoice->customer->name}}
{{$general['lang_bill_date']}} : {{dateFormat($invoice['invoicedate'],$company['main_date_format'])}}

@php $height =130; foreach ($invoice->products as $row) { $height +=8; $length=strlen($row['product_name']); $rows=(integer)($length/10); $height +=2*$rows; echo ''; } @endphp
{{trans('products.product_des')}} {{trans('products.qty')}} {{trans('general.amount')}}
' . $row['product_name'].' ' . +$row['product_qty'] . ' ' . $row['unit'] . ' ' . numberFormat($row['product_subtotal'], $invoice['currency']) . '

{{trans('general.tax')}} : {{amountFormat($invoice['tax'], $invoice['currency'])}}
{{trans('general.discount')}} : {{amountFormat($invoice['discount'], $invoice['currency'])}}
{{trans('general.grand_total')}} : {{amountFormat($invoice['total'], $invoice['currency'])}}

{{trans('invoices.short_thank_you_note')}}
{{date('Y-m-d H:i:s')}}

@if(isset($image)) @php $height +=40; @endphp
{{trans('invoices.scan_pay')}}
QR
@else
{{trans('payments.'.$invoice['status'])}}
@endif @php session(['height' =>$height]); @endphp