{{----}} {{ $pageTitle }} @stack('head-script')
@if($invoiceSetting->logo_url)
@endif
id)) }}" class="btn btn-default pull-right m-r-10 actionButton"> @lang('app.download') @if(!$proposal->signature && $proposal->status == 'waiting') @endif
@if($proposal->status == 'accepted')
@lang('modules.proposal.accepted')
@elseif($proposal->status == 'waiting')
@lang('app.pending')
@elseif($proposal->status == 'draft')
@lang('app.draft')
@else
@lang('app.rejected')
@endif

@lang('app.proposal')


@lang('app.name')
{{ $proposal->lead->client_name }}
{{ ucwords($proposal->lead->company_name) }}
{!! nl2br($proposal->lead->address) !!}
@lang('modules.proposal.validTill')

{{ $proposal->valid_till->format($settings->date_format) }}


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

@lang('app.description'): {!! nl2br($proposal->description) !!}

@endif
@if(count($proposal->items) > 0)
@if($invoiceSetting->hsn_sac_code_show) @endif @foreach($proposal->items as $item) @if($invoiceSetting->hsn_sac_code_show) @endif @endforeach
# @lang("modules.invoices.item")@lang('modules.invoices.hsnSacCode')@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->hsn_sac_code) ?? '--' }}{{ $item->quantity }} {{ currency_formatter($item->unit_price,$proposal->currency->currency_symbol) }} {{ currency_formatter($item->amount,$proposal->currency->currency_symbol) }}
@endif
@if(count($proposal->items) > 0)

@lang("modules.invoices.subTotal") : {{ currency_formatter($proposal->sub_total,$proposal->currency->currency_symbol) }}

@if ($discount > 0)

@lang("modules.invoices.discount") : {{ currency_formatter($discount,$proposal->currency->currency_symbol) }}

@endif @foreach($taxes as $key=>$tax)

{{ strtoupper($key) }} : {{ currency_formatter($tax,$proposal->currency->currency_symbol) }}

@endforeach

@lang("modules.invoices.total") : {{ currency_formatter($proposal->total,$proposal->currency->currency_symbol) }}


@endif @if(!is_null($proposal->note))

@lang('app.note'): {!! $proposal->note !!}

@endif
@if($proposal->signature)

@lang('modules.estimates.signature')

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

@endif @if($proposal->client_comment)

@lang('app.comment')

{{ $proposal->client_comment }}

@endif
{{--sticky note script--}}