@lang("app.client"):

@if(isset($estimate->client->client_detail)) {{ ucfirst($estimate->client->client_detail->name) }} @else {{ ucfirst($estimate->client->name) }} @endif

@if(isset($estimate->client->client_detail)) {!! nl2br($estimate->client->client_detail->address) !!} @else {!! nl2br($estimate->client->address) !!} @endif
@lang("modules.invoices.generatedBy"):

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

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

@lang('app.estimate') {{ $estimate->estimate_number }}

@lang("modules.estimates.validTill"): {{ $estimate->valid_till->format($global->date_format) }}
@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) }}

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

{{ $item->quantity }}

{{ $item->unit_price }}

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

 


{!! nl2br(ucfirst($estimate->note)) !!}