{{ mb_ucwords($company->company_name) }}
{!! nl2br(default_address()->address) !!}
{{ $company->company_phone }}
{{ $estimate->estimate_number }}
@if (
($estimate->client || $estimate->clientDetails)
&& ($estimate->client->name
|| $estimate->client->email
|| $estimate->client->mobile
|| $estimate->clientDetails->company_name
|| $estimate->clientDetails->address
)
&& (invoice_setting()->show_client_name == 'yes'
|| invoice_setting()->show_client_email == 'yes'
|| invoice_setting()->show_client_phone == 'yes'
|| invoice_setting()->show_client_company_name == 'yes'
|| invoice_setting()->show_client_company_address == 'yes')
)
@lang('modules.invoices.billedTo'):
@if ($estimate->client && $estimate->client->name && invoice_setting()->show_client_name == 'yes')
{{ mb_ucwords($estimate->client->name) }}
@endif
@if ($estimate->client && $estimate->client->email && invoice_setting()->show_client_email == 'yes')
{{ $estimate->client->email }}
@endif
@if ($estimate->client && $estimate->client->mobile && invoice_setting()->show_client_phone == 'yes')
{{ $estimate->client->mobile }}
@endif
@if ($estimate->clientDetails && $estimate->clientDetails->company_name && invoice_setting()->show_client_company_name == 'yes')
{{ mb_ucwords($estimate->clientDetails->company_name) }}
@endif
@if ($estimate->clientDetails && $estimate->clientDetails->address && invoice_setting()->show_client_company_address == 'yes')
@lang('app.address') :
{!! nl2br($estimate->clientDetails->address) !!}
@endif
@endif
@if($invoiceSetting->show_gst == 'yes' && !is_null($estimate->client->clientDetails->gst_number))
@lang('app.gstIn'): {{ $estimate->client->clientDetails->gst_number }}
@endif
@if ($estimate->status == 'unpaid')
@lang('app.dueDate'):
{{ $estimate->due_date ? $estimate->due_date->format($company->date_format) : '--' }}
@endif
@lang('app.status'): {{ mb_ucwords($estimate->status) }}
@if ($estimate->description)
{!! nl2br(strip_tags($estimate->description, ['p', 'b', 'strong', 'a', 'ul', 'li', 'ol', 'i', 'u', 'em', 'blockquote', 'img'])) !!}
@endif
# |
@lang("modules.invoices.item") |
@if ($invoiceSetting->hsn_sac_code_show)
@lang("app.hsnSac") |
@endif
@lang("modules.invoices.qty") |
@lang("modules.invoices.unitPrice") |
@lang("modules.invoices.tax") |
@lang("modules.invoices.price") ({!! htmlentities($estimate->currency->currency_code) !!}) |
@foreach ($estimate->items as $item)
@if ($item->type == 'item')
{{ ++$count }} |
{{ ucfirst($item->item_name) }}
@if (!is_null($item->item_summary))
{!! nl2br(strip_tags($item->item_summary, ['p', 'b', 'strong', 'a'])) !!}
@endif
@if ($item->estimateItemImage)
@endif
|
@if ($invoiceSetting->hsn_sac_code_show)
{{ $item->hsn_sac_code ? $item->hsn_sac_code : '--' }} |
@endif
{{ $item->quantity }} |
{{ currency_formatter($item->unit_price, '') }} |
{{ strtoupper($item->tax_list) }} |
{{ currency_formatter($item->amount, '') }} |
@endif
@endforeach
@lang("modules.invoices.subTotal"): |
{{ currency_formatter($estimate->sub_total, '') }} |
@if ($discount != 0 && $discount != '')
@lang("modules.invoices.discount"): |
{{ currency_formatter($discount, '') }} |
@endif
@foreach ($taxes as $key => $tax)
{{ mb_strtoupper($key) }}: |
{{ currency_formatter($tax, '') }} |
@endforeach
@lang("modules.invoices.total"): |
{{ currency_formatter($estimate->total, '') }} {!! htmlentities($estimate->currency->currency_code) !!} |
@if (!is_null($estimate->note))
@lang('app.note')
{!! nl2br($estimate->note) !!}
@endif
@lang('modules.invoiceSettings.invoiceTerms')
{!! nl2br($invoiceSetting->invoice_terms) !!}
@if (isset($taxes) && invoice_setting()->tax_calculation_msg == 1)
@if ($estimate->calculate_tax == 'after_discount')
@lang('messages.calculateTaxAfterDiscount')
@else
@lang('messages.calculateTaxBeforeDiscount')
@endif
@endif
@if ($estimate->sign)
@lang('app.signature')
({{ $estimate->sign->full_name }})
@endif