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

{{ __($pageTitle) }}

@endsection @push('head-script') @endpush @section('content')
@lang('app.update') @lang('app.invoice')
{!! Form::open(['id'=>'updatePayments','class'=>'ajax-form','method'=>'PUT']) !!}
@if(in_array('projects', $modules))
@endif
@if($invoice->project_id == '') @else
@endif
show_shipping_address == 'yes') checked @endif class="js-switch " data-color="#00c292" data-secondary-color="#f96262"/>
@if(count($fields) > 0)

@lang('modules.projects.otherInfo')

@foreach($fields as $field)
@if( $field->type == 'text') @elseif($field->type == 'password') @elseif($field->type == 'number') @elseif($field->type == 'textarea') @elseif($field->type == 'radio')
@foreach($field->values as $key=>$value) @endforeach
@elseif($field->type == 'select') {!! Form::select('custom_fields_data['.$field->name.'_'.$field->id.']', $field->values, isset($invoice)?$invoice->custom_fields_data['field_'.$field->id]:'',['class' => 'form-control gender']) !!} @elseif($field->type == 'checkbox')
@foreach($field->values as $key => $value) @endforeach
@elseif($field->type == 'date') @endif
@endforeach
@endif
@if(in_array('products', $modules))
@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, '.', '') }}

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