@lang('modules.lead.proposal')

{{ 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') #{{ $invoice->id }}
@lang('modules.estimates.validTill') {{ $invoice->valid_till->format($global->date_format) }}

@lang("modules.invoices.billedTo")
{{ ucwords($invoice->lead->client_name) }}
{{ ucwords($invoice->lead->company_name) }}
{!! nl2br($invoice->lead->address) !!}

@lang('modules.proposal.'.$invoice->status)
{!! $invoice->description !!}
@if($invoiceSetting->hsn_sac_code_show == 1) @endif @foreach ($invoice->items as $item) @if ($item->type == 'item') @if($invoiceSetting->hsn_sac_code_show == 1) @endif @if ($item->item_summary || $item->proposalItemImage) @endif @endif @endforeach
@lang('app.description')@lang("app.hsnSac")@lang("modules.invoices.qty") @lang("modules.invoices.unitPrice") ({{ $invoice->currency->currency_code }}) @lang("modules.invoices.tax") @lang("modules.invoices.amount") ({{ $invoice->currency->currency_code }})
{{ ucfirst($item->item_name) }}{{ $item->hsn_sac_code }}{{ $item->quantity }} {{ currency_formatter($item->unit_price, '') }} {{ $item->tax_list }} {{ currency_formatter($item->amount, '') }}
{!! nl2br(strip_tags($item->item_summary)) !!} @if ($item->proposalItemImage)

@endif
@if ($discount != 0 && $discount != '') @endif @foreach ($taxes as $key => $tax) @endforeach
@lang("modules.invoices.subTotal")
@lang("modules.invoices.discount")
{{ strtoupper($key) }}
@lang("modules.invoices.total")
@if ($discount != 0 && $discount != '') @endif @foreach ($taxes as $key => $tax) @endforeach
{{ currency_formatter($invoice->sub_total, '') }}
{{ currency_formatter($discount, '') }}
{{ currency_formatter($tax, '') }}
{{ currency_formatter($invoice->total, '') }}
@foreach ($invoice->items as $item) @if ($item->type == 'item') @endif @endforeach @if ($discount != 0 && $discount != '') @endif @foreach ($taxes as $key => $tax) @endforeach
@lang('app.description') @if ($item->item_summary != '' || $item->proposalItemImage) @endif
{{ ucfirst($item->item_name) }}
{!! nl2br(strip_tags($item->item_summary)) !!} @if ($item->proposalItemImage)

@endif
@lang("modules.invoices.qty") {{ $item->quantity }}
@lang("modules.invoices.unitPrice") ({{ $invoice->currency->currency_code }}) {{ currency_formatter($item->unit_price, '') }}
@lang("modules.invoices.amount") ({{ $invoice->currency->currency_code }}) {{ currency_formatter($item->amount, '') }}
@lang("modules.invoices.subTotal") {{ currency_formatter($invoice->sub_total, '') }}
@lang("modules.invoices.discount") {{ currency_formatter($discount, '') }}
{{ strtoupper($key) }} {{ currency_formatter($tax, '') }}
@lang("modules.invoices.total") {{ currency_formatter( $invoice->total, '') }}
@lang('app.note')

{!! !empty($invoice->note) ? $invoice->note : '--' !!}

@lang('modules.invoiceSettings.invoiceTerms')

{!! nl2br($invoiceSetting->invoice_terms) !!}

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

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

@endif
@if ($invoice->signature)
@if (!is_null($invoice->signature->signature))
@lang('modules.estimates.signature')
@else
@lang('modules.estimates.signedBy')
@endif

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

@endif @if ($invoice->client_comment)

@lang('app.rejectReason')

{{ $invoice->client_comment }}

@endif