{{ ucwords(global_setting()->company_name) }}
{!! nl2br(default_address()->address) !!}
{{ global_setting()->company_phone }}
@if($invoiceSetting->show_gst == 'yes' && !is_null($invoiceSetting->gst_number))
@lang('app.gstIn'): {{ $invoiceSetting->gst_number }}
@endif
@lang('modules.estimates.validTill'): {{ $estimate->valid_till ? $estimate->valid_till->format(global_setting()->date_format) : '--' }}
@lang('app.status'): {{ ucwords($estimate->status) }}
{{ $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')
{{ 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')
{{ 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->description)
{!! nl2br(strip_tags($estimate->description, ['p', 'b', 'strong', 'a', 'ul', 'li', 'ol', 'i', 'u', 'em', 'blockquote', 'img'])) !!}
@endif
@if ($invoiceSetting->hsn_sac_code_show) @endif @foreach($estimate->items as $item) @if($item->type == 'item') @if ($invoiceSetting->hsn_sac_code_show) @endif @endif @endforeach
# @lang("modules.invoices.item")@lang("app.hsnSac")@lang("modules.invoices.qty") @lang("modules.invoices.unitPrice") @lang("modules.invoices.tax") @lang("modules.invoices.price") ({!! htmlentities($estimate->currency->currency_code) !!})
{{ ++$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
{{ $item->hsn_sac_code ? $item->hsn_sac_code : '--' }}{{ $item->quantity }} {{ currency_formatter($item->unit_price, '') }} {{ $item->tax_list }} {{ currency_formatter($item->amount, '') }}
@if($discount != 0 && $discount != '') @endif @foreach($taxes as $key=>$tax) @endforeach
@lang("modules.invoices.subTotal"): {{ currency_formatter($estimate->sub_total, '') }}
@lang("modules.invoices.discount"): -{{ currency_formatter($discount, '') }}
{{ strtoupper($key) }}: {{ currency_formatter($tax, '') }}
@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) && $invoiceSetting->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