@if(!is_null($estimate->client)) @lang("modules.invoices.billedTo"):
{{ ucfirst($estimate->client->name) }}
{{ ucwords($estimate->client->clientDetails->company_name) }}
@lang('app.address') :
{!! 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 @endif
@lang("modules.invoices.generatedBy"):
{{ ucwords($global->company_name) }}
@if(!is_null($settings))
{!! nl2br($global->address) !!}
{{ $global->company_phone }}
@endif @if($invoiceSetting->show_gst == 'yes' && !is_null($invoiceSetting->gst_number))
@lang('app.gstIn'): {{ $invoiceSetting->gst_number }}
@endif

{{ $estimate->estimate_number }}

@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 @if($discount != 0 && $discount != '') @endif @foreach($taxes as $key=>$tax) @endforeach
# @lang("modules.invoices.item")@lang("app.hsnSac")@lang("modules.invoices.qty") @lang("modules.invoices.unitPrice") ({!! htmlentities($estimate->currency->currency_code) !!}) @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)) !!}

@endif @if ($item->estimateItemImage)

@endif

{{ $item->hsn_sac_code ? $item->hsn_sac_code : '--' }}

{{ $item->quantity }}

{{ number_format((float)$item->unit_price, 2, '.', '') }}

{{ number_format((float)$item->amount, 2, '.', '') }}
      @lang("modules.invoices.subTotal") {{ number_format((float)$estimate->sub_total, 2, '.', '') }}
      @lang("modules.invoices.discount") {{ number_format((float)$discount, 2, '.', '') }}
      {{ strtoupper($key) }} {{ number_format((float)$tax, 2, '.', '') }}
@lang("modules.invoices.total") {{ number_format((float)$estimate->total, 2, '.', '') }}

 


@if(!is_null($estimate->note)) {!! nl2br($estimate->note) !!}
@endif {!! 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