@lang('app.proposal')

@lang("modules.invoices.billedTo"):
{{ ucwords($proposal->lead->client_name) }}
{{ $proposal->lead->company_name }}
@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

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

@lang('app.status'): {{ ucwords($proposal->status) }}
@lang('modules.estimates.validTill'): {{ $proposal->valid_till->format($global->date_format) }}
@if ($proposal->description)
{!! strip_tags($proposal->description, ['p', 'b', 'strong', 'a']) !!}
@endif @if ($invoiceSetting->hsn_sac_code_show) @endif @foreach ($proposal->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("app.hsnSac")@lang("modules.invoices.qty") @lang("modules.invoices.unitPrice") @lang("modules.invoices.tax") @lang("modules.invoices.price") ({!! htmlentities($proposal->currency->currency_code) !!})
{{ ++$count }}

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

@if (!is_null($item->item_summary))
{!! nl2br(strip_tags($item->item_summary)) !!}
@endif @if ($item->proposalItemImage)

@endif

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

{{ $item->quantity }}

{{ currency_formatter($item->unit_price, '') }}

{{ $item->tax_list }} {{ currency_formatter($item->amount, '') }}
        @lang("modules.invoices.subTotal") {{ currency_formatter($proposal->sub_total, '') }}
        @lang("modules.invoices.discount") {{ currency_formatter($discount, '') }}
        {{ strtoupper($key) }} {{ currency_formatter($tax, 2, '') }}
@lang("modules.invoices.subTotal") {{ currency_formatter($proposal->sub_total, '') }}
@lang("modules.invoices.discount") {{ currency_formatter($discount, '') }}
@lang("modules.invoices.total") {{ currency_formatter($proposal->total, '') }} {!! htmlentities($proposal->currency->currency_code) !!}

@if (!is_null($proposal->note)) {!! nl2br($proposal->note) !!}
@endif {!! nl2br($invoiceSetting->invoice_terms) !!}

@if (isset($taxes) && invoice_setting()->tax_calculation_msg == 1)

@if ($proposal->calculate_tax == 'after_discount') @lang('messages.calculateTaxAfterDiscount') @else @lang('messages.calculateTaxBeforeDiscount') @endif

@endif

@if ($proposal->signature) @if (!is_null($proposal->signature->signature))

@lang('modules.estimates.signature')
@else
@lang('modules.estimates.signedBy')
@endif

({{ $proposal->signature->full_name }})

@endif