@extends('layouts.app') @section('page-title')

{{ __($pageTitle) }}

@endsection @push('head-script') @endpush @section('content')
@lang('modules.estimates.convertEstimateTitle')
{!! Form::open(['id'=>'storePayments','class'=>'ajax-form','method'=>'POST']) !!}
{{ $invoiceSetting->invoice_prefix }}#{{ $zero }}
@if(is_null($invoice->lead->client_id)) @else {{ ucwords($invoice->lead->client->name) }} @endif

@lang('modules.invoices.item')
@if($invoiceSetting->hsn_sac_code_show)
@lang('modules.invoices.hsnSacCode')
@endif
@lang('modules.invoices.qty')
@lang('modules.invoices.unitPrice')
@lang('modules.invoices.tax')
@lang('modules.invoices.amount')
 
@foreach($invoice->items as $key => $item)
@if($invoiceSetting->hsn_sac_code_show)
@endif

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

@endforeach
@lang('modules.invoices.subTotal')

{{ currency_formatter($invoice->sub_total, '') }}

@lang('modules.invoices.discount')
@lang('modules.invoices.tax')

0

@lang('modules.invoices.total')

{{ currency_formatter($invoice->total, '') }}

@if($invoice->signature)

@lang('modules.estimates.signature')

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

@endif @if($invoice->client_comment)

@lang('app.comment')

{{ $invoice->client_comment }}

@endif
{!! Form::close() !!}
{{--Ajax Modal--}} {{--Ajax Modal Ends--}} @endsection @push('footer-script') @endpush