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

{{ $site['company_name'] ?? 'Tailor POS' }}

{{ __('main.voucher_no') }}: {{ $site['company_cr_number'] ?? 'No CR' }}

{{ isset($site['default_tax_name']) ? $site['default_tax_name'] : 'GST' }}: {{ $site['company_tax_registration'] ?? 'No Tax' }}

{{ __('main.phone_number') }}: {{ Auth::user()->phone }}

{{ __('print.no') }}: @if ($bill->voucher_no) #{{ $bill->voucher_no }} @endif

{{ __('main.date') }}: {{ $bill->date->format('d-M-Y h:i a') }}

{{ __('print.received_from') }}: {{ $bill->customer->first_name ?? '' }}
{{ __('main.amount') }}: {{ getFormattedCurrency($bill->paid_amount) }}
{{ __('print.amount_in_words') }}: {{ getIndianCurrency($bill->paid_amount) }} {{ __('print.currency_words') }}
{{ __('print.being_for') }} @if ($bill->payment_type == 1) {{ ' Invoice #' }} {{ $bill->invoice->invoice_number }} @endif @if ($bill->payment_type == 2) {{ ' Opening Balance' }} @endif
{{ __('print.receivers_sign') }}.........................................
{{ __('print.signature') }}...................................................