@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

{{ number_format((float)$item->amount, 2, '.', '') }}

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

{{ number_format((float)$invoice->sub_total, 2, '.', '') }}

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

0

@lang('modules.invoices.total')

{{ number_format((float)$invoice->total, 2, '.', '') }}

@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