@include('sections.theme_css', ['company' => $company]) @isset($activeSettingMenu) @endisset @stack('styles') @include('sections.theme_css', ['company' => $company])
@lang('app.menu.proposal')

{{ $company->company_name }}
@if (!is_null($company)) {!! nl2br($company->defaultAddress->address) !!}
{{ $company->company_phone }} @endif @if ($invoiceSetting->show_gst == 'yes' && !is_null($invoiceSetting->gst_number))
@lang('app.gstIn'): {{ $invoiceSetting->gst_number }} @endif


@lang('app.menu.proposal') {{ $proposal->proposal_number }}
@lang('modules.proposal.validTill') {{ $proposal->valid_till->translatedFormat($company->date_format) }}
@if ($proposal->lead->contact && ($proposal->lead->contact->client_name || $proposal->lead->contact->client_email || $proposal->lead->contact->mobile || $proposal->lead->contact->company_name || $proposal->lead->contact->address) && ($invoiceSetting->show_client_name == 'yes' || $invoiceSetting->show_client_email == 'yes' || $invoiceSetting->show_client_phone == 'yes' || $invoiceSetting->show_client_company_name == 'yes' || $invoiceSetting->show_client_company_address == 'yes'))

@lang("modules.invoices.billedTo")
@if ($proposal->deal && !empty($proposal->deal->name)) {{ $proposal->deal->name }}
@endif @if ($proposal->lead->contact && $proposal->lead->contact->client_name && $invoiceSetting->show_client_name == 'yes') {{ $proposal->lead->contact->client_name_salutation }}
@endif @if ($proposal->lead->contact && $proposal->lead->contact->client_email && $invoiceSetting->show_client_email == 'yes') {{ $proposal->lead->contact->client_email }}
@endif @if ($proposal->lead->contact && $proposal->lead->contact->mobile && $invoiceSetting->show_client_phone == 'yes') {{ $proposal->lead->contact->mobile }}
@endif @if ($proposal->lead->contact && $proposal->lead->contact->company_name && $invoiceSetting->show_client_company_name == 'yes') {{ $proposal->lead->contact->company_name }}
@endif @if ($proposal->lead->contact && $proposal->lead->contact->address && $invoiceSetting->show_client_company_address == 'yes') {!! nl2br($proposal->lead->contact->address) !!} @endif

@endif
@lang('modules.estimates.'.$proposal->status)
{!! $proposal->description !!}
@if (count($proposal->items) > 0)
@if ($invoiceSetting->hsn_sac_code_show == 1) @endif @foreach ($proposal->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") ({{ $proposal->currency->currency_code }}) @lang("modules.invoices.tax") @lang("modules.invoices.amount") ({{ $proposal->currency->currency_code }})
{{ $item->item_name }}{{ $item->hsn_sac_code }}{{ $item->quantity }}@if($item->unit)
{{ $item->unit->unit_type }} @endif
{{ currency_format($item->unit_price, $proposal->currency_id, false) }} {{ $item->tax_list }} {{ currency_format($item->amount, $proposal->currency_id, false) }}
{!! 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") {{ currency_format($proposal->sub_total, $proposal->currency_id, false) }}
@lang("modules.invoices.discount") {{ currency_format($discount, $proposal->currency_id, false) }}
{{ $key }} {{ currency_format($tax, $proposal->currency_id, false) }}
@lang("modules.invoices.total") {{ currency_format($proposal->total, $proposal->currency_id, false) }}
@foreach ($proposal->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
{{ $item->item_name }}
{!! nl2br(strip_tags($item->item_summary)) !!} @if ($item->proposalItemImage)

@endif
@lang('modules.invoices.qty') {{ $item->quantity }}
@lang("modules.invoices.unitPrice") ({{ $proposal->currency->currency_code }}) {{ currency_format($item->unit_price, $proposal->currency_id, false) }}
@lang("modules.invoices.amount") ({{ $proposal->currency->currency_code }}) {{ currency_format($item->amount, $proposal->currency_id, false) }}
@lang("modules.invoices.subTotal") {{ currency_format($proposal->sub_total, $proposal->currency_id, false) }}
@lang("modules.invoices.discount") {{ currency_format($discount, $proposal->currency_id, false) }}
{{ $key }} {{ currency_format($tax, $proposal->currency_id, false) }}
@lang("modules.invoices.total") @lang("modules.invoices.due") {{ currency_format($proposal->total, $proposal->currency_id, false) }}
@if (isset($invoiceSetting->other_info)) @endif
@lang('app.note')

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

@lang('modules.invoiceSettings.invoiceTerms')

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

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

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

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

@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 @if ($proposal->client_comment)

@lang('app.rejectReason')

{{ $proposal->client_comment }}

@endif