@if(!is_null($proposal->lead_id)) @lang("app.lead"):

{{ $proposal->lead->company_name ?? ucwords($proposal->lead->client_name) }}

{!! nl2br($proposal->lead->address) !!}
@endif
@lang("modules.invoices.generatedBy"):

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

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

@lang("modules.proposal.proposal") #{{ $proposal->id }}

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

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

{{ $item->quantity }}

{!! htmlentities($proposal->currency->currency_symbol) !!}{{ $item->unit_price }}

{!! htmlentities($proposal->currency->currency_symbol) !!}{{ $item->amount }}
      @lang("modules.invoices.subTotal") {!! htmlentities($proposal->currency->currency_symbol) !!}{{ $proposal->sub_total }}
      @lang("modules.invoices.discount") -{!! htmlentities($proposal->currency->currency_symbol) !!}{{ $discount }}
      {{ strtoupper($tax->item_name) }} {!! htmlentities($proposal->currency->currency_symbol) !!}{{ $tax->amount }}
@lang("modules.invoices.total") {!! htmlentities($proposal->currency->currency_symbol) !!}{{ $proposal->total }}

 


@lang("app.note"): Here {!! htmlentities($proposal->currency->currency_symbol) !!} refers to {!! $proposal->currency->currency_code !!}
{!! nl2br(ucfirst($proposal->note)) !!}