@lang('app.estimate')

{{ ucwords(global_setting()->company_name) }}
@if (!is_null($settings)) {!! nl2br(global_setting()->address) !!}
{{ global_setting()->company_phone }} @endif @if ($invoiceSetting->show_gst == 'yes' && !is_null($invoiceSetting->gst_number))
@lang('app.gstIn'): {{ $invoiceSetting->gst_number }} @endif

@lang('modules.estimates.estimatesNumber') {{ $estimate->estimate_number }}
@lang('modules.estimates.validTill') {{ $estimate->valid_till->format(global_setting()->date_format) }}

@lang("modules.invoices.billedTo")
{{ ucfirst($estimate->client->name) }}
{{ ucwords($estimate->client->clientDetails->company_name) }}
{!! nl2br($estimate->client->clientDetails->address) !!}

@if ($invoiceSetting->show_gst == 'yes' && !is_null($estimate->client->clientDetails->gst_number))
@lang('app.gstIn'): {{ $estimate->client->clientDetails->gst_number }} @endif
@if ($estimate->description)
{!! 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 @if ($item->item_summary != '' || $item->estimateItemImage) @endif @endif @endforeach
@lang('app.description')@lang("app.hsnSac")@lang("modules.invoices.qty") @lang("modules.invoices.unitPrice") ({{ $estimate->currency->currency_code }}) @lang("modules.invoices.amount") ({{ $estimate->currency->currency_code }})
{{ ucfirst($item->item_name) }}{{ $item->hsn_sac_code ? $item->hsn_sac_code : '--' }}{{ $item->quantity }} {{ number_format((float) $item->unit_price, 2, '.', '') }} {{ number_format((float) $item->amount, 2, '.', '') }}
{!! nl2br(strip_tags($item->item_summary)) !!}
@lang('app.note')
{!! $estimate->note ? nl2br($estimate->note) : '--' !!}
@if (isset($taxes) && invoice_setting()->tax_calculation_msg == 1) @endif
@lang('modules.invoiceSettings.invoiceTerms')
{!! nl2br($invoiceSetting->invoice_terms) !!}

@if ($estimate->calculate_tax == 'after_discount') @lang('messages.calculateTaxAfterDiscount') @else @lang('messages.calculateTaxBeforeDiscount') @endif

@if ($estimate->sign)
@lang('app.signature')

({{ $estimate->sign->full_name }})

@endif