@if($estimate->client && !is_null($estimate->client->client)) @lang("app.client"):

{{ $estimate->client->client[0]->company_name }}

{!! nl2br($estimate->client->client[0]->address) !!}
@endif
@lang("modules.invoices.generatedBy"):

{{ ucwords($global->company_name) }}

@if(!is_null($settings))
{!! nl2br($global->address) !!}
P: {{ $global->company_phone }}
@endif

{{ (is_null($estimate->estimate_number)) ? '#'.$estimate->id : $estimate->estimate_number }}

@lang("modules.estimates.validTill"): {{ $estimate->valid_till->format($global->date_format) }}
@lang('app.status'): {{ __('app.'.$estimate->status) }}
@php $colspan = ($invoiceSetting->hsn_sac_code_show) ? 5 : 4; @endphp @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($invoiceSetting->hsn_sac_code_show) @endif @if($discount != 0 && $discount != '') @if($invoiceSetting->hsn_sac_code_show) @endif @endif @foreach($taxes as $key=>$tax) @if($invoiceSetting->hsn_sac_code_show) @endif @endforeach
# @lang("modules.invoices.item") @lang('modules.invoices.hsnSacCode')@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))

{{ $item->item_summary }}

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

@if($estimate->sign)

@lang('modules.estimates.signature') (@lang('app.customers'))

@endif