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

{{ $estimate->client->client_details->company_name ?? ucwords($estimate->client->name) }}

{!! nl2br($estimate->client->client_details->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') {{ (is_null($estimate->estimate_number)) ? '#'.$estimate->id : $estimate->estimate_number }}

@lang("modules.estimates.validTill"): {{ $estimate->valid_till->format($global->date_format) }}
@foreach($estimate->items as $item) @if($item->type == 'item') @endif @endforeach @if($discount != 0 && $discount != '') @endif @foreach($taxes as $key=>$tax) @endforeach
# @lang("modules.invoices.item") @lang("modules.invoices.qty") @lang("modules.invoices.unitPrice") @lang("modules.invoices.price")
{{ ++$count }}

{{ ucfirst($item->item_name) }}

@if(!is_null($item->item_summary))

{{ $item->item_summary }}

@endif

{{ $item->quantity }}

{!! htmlentities($estimate->currency->currency_symbol) !!}{{ number_format((float)$item->unit_price, 2, '.', '') }}

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

 


@lang("app.note"): Here {!! htmlentities($estimate->currency->currency_symbol) !!} refers to {!! $estimate->currency->currency_code !!}
@if(!is_null($estimate->note)) {!! nl2br($estimate->note) !!}
@endif

@if($estimate->sign)

Signature (Customer)

@endif