@php $settings = new App\Models\MasterSetting(); $site = $settings->siteData(); $branch = \App\Models\User::find($invoice->created_by); @endphp

Tax Invoice

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

{{getCompanyTaxRegistration()}}

@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
# {{ $invoice->order_number }}

Date : {{ \Carbon\Carbon::parse($invoice->date)->format('d/m/Y g:i A') }}

Preferred Delivery : {{ \Carbon\Carbon::parse($invoice->preferred_delivery_time)->format('d/m/Y g:i A') }}

Invoice To

{{$invoice->customer_name}}

{{$invoice->address}},

{{ getCountryCode() }} {{$invoice->customer->phone}}

@php $qty = 0; @endphp @foreach ($invoice->details as $row) @php $qty = $qty + $row->product_quantity; @endphp @endforeach
# {{__('print.item')}} {{__('main.rate')}} {{__('main.qty')}} {{__('main.tax')}} {{__('main.tax_amount')}} {{__('main.total')}}
{{$loop->index+1}}
{{ $row->item_name }}
{{ getFormattedCurrency($row->rate) }}
{{ $row->quantity }} @if ($row->type == 2) {{ getUnitType($row->unit_type ?? '') }} @endif
{{$invoice->tax_percentage }} %
{{ getFormattedCurrency($row->tax_amount) }}
{{ getFormattedCurrency($row->total, 2) }}
Total
{{ getFormattedCurrency($invoice->tax_amount) }}
{{ getFormattedCurrency($invoice->taxable_amount) }}

{{ isset($site['default_thanks_message']) && !empty($site['default_thanks_message']) ? $site['default_thanks_message'] : 'Thank You for Doing business with us' }} !

{{__('main.discount')}} :
{{ getFormattedCurrency($invoice->discount) }}
{{__('main.taxable_amount')}} :
{{ getFormattedCurrency($invoice->taxable_amount) }}
{{__('main.total')}} {{isset($site['default_tax_name']) ? $site['default_tax_name'] : 'GST'}} ({{ $invoice->tax_percentage }}%):
{{ getFormattedCurrency($invoice->tax_amount) }}
{{__('main.total')}} :
{{ getFormattedCurrency($invoice->total) }}

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

Authorized Signatory

Powered by
{{ getApplicationName() }}