{{__('main.print')}} @php $settings = new App\Models\MasterSetting(); $site = $settings->siteData(); $branch = \App\Models\User::find($invoice->created_by); @endphp

{{ isset($site['company_name']) && !empty($site['company_name']) ? $site['company_name'] : '' }}

@if(Auth::user()->user_type != 2)

{{ $branch->address ?? '' }}

@if ($branch->phone)

{{ getCountryCode() }} {{ $branch->phone ?? '' }}


@endif @else @if (isset($site['company_mobile']) && !empty($site['company_mobile']))

{{ getCountryCode() }} {{ isset($site['company_mobile']) ? $site['company_mobile'] : ''}}


@endif @endif

{{__('print.thermal_title')}}

{{isset($site['default_tax_name']) ? $site['default_tax_name'] : 'GST'}} No :
{{ $site['company_tax_registration'] ?? 'No Tax' }}
{{__('main.invoice_no')}}:
{{ $invoice->invoice_number }}
{{__('main.date')}} :
{{ \Carbon\Carbon::parse($invoice->date)->format('d/m/Y g:i A') }}
{{__('main.file_no')}} :
{{ $invoice->customer_file_number }}
{{__('print.item')}}
{{__('main.rate')}}
{{__('main.qty')}}
{{__('main.total')}}
@php $qty = 0; @endphp @foreach ($invoice->invoiceProductDetails as $row)
{{ $row->item_name }}
{{ getFormattedCurrency($row->rate) }}
{{ $row->quantity }} @if ($row->type == 2) {{ getUnitType($row->unit_type ?? '') }} @endif
{{ getFormattedCurrency($row->total, 2) }}
@php $qty = $qty + $row->product_quantity; @endphp
@endforeach

{{ isset($site['default_thanks_message']) && !empty($site['default_thanks_message']) ? $site['default_thanks_message'] : '' }}

{{__('main.powered_by')}} {{ getApplicationName() }}