{!! Form::label('invoice_no', __('models/invoices.fields.invoice_no').':') !!} {!! Form::text('invoice_no', null, ['class' => ($errors->has('invoice_no')) ? 'form-control is-invalid' : 'form-control']) !!} @if ($errors->has('invoice_no')) {{ $errors->first('invoice_no') }} @endif
{!! Form::label('invoice_type_id', __('models/invoices.fields.invoice_type_id').':') !!} {!! Form::select('invoice_type_id', $invoice_typeItems, null, ['class' => ($errors->has('invoice_type_id')) ? 'form-control is-invalid' : 'form-control' ,'id'=>'invoice_type_id']) !!} @if ($errors->has('invoice_type_id')) {{ $errors->first('invoice_type_id') }} @endif
{!! Form::label('start_date', __('models/invoices.fields.start_date').':') !!}
{!! Form::text('start_date', null, ['class' => ($errors->has('start_date')) ? 'form-control is-invalid' : 'form-control' ,'id'=>'start_date']) !!} @if ($errors->has('start_date')) {{ $errors->first('start_date') }} @endif
{!! Form::label('end_date', __('models/invoices.fields.end_date').':') !!}
{!! Form::text('end_date', null, ['class' => ($errors->has('end_date')) ? 'form-control is-invalid' : 'form-control' ,'id'=>'end_date']) !!} @if ($errors->has('end_date')) {{ $errors->first('end_date') }} @endif
{!! Form::label('delivery_date', __('models/invoices.fields.delivery_date').':') !!} {!! Form::text('delivery_date', isset($invoice) ? $invoice->delivery_date : $invoiceRequest->delivery_date , ['class' => 'form-control', 'readonly'=> 'readonly' ]) !!}
{{--
{!! Form::file('file', ['class' => 'custom-file-input','id'=>'file']) !!} {!! Form::label('file', 'Letter Head Image', ['class' => 'custom-file-label']) !!}
--}}
{!! Form::label('currency', __('models/invoices.fields.currency').':') !!} {!! Form::select('currency',config('enum.currency'), 'AED', ['class' => ($errors->has('currency')) ? 'form-control is-invalid' : 'form-control' ,'id'=>'currency']) !!} @if ($errors->has('currency')) {{ $errors->first('currency') }} @endif
{!! Form::label('vat', __('models/invoices.fields.vat').':') !!}
{!! Form::label('quotation_id', __('models/invoices.fields.quotation_id').':') !!} {!! Form::text('quotation', isset($invoice) ? $invoice->quotation->name : $invoiceRequest->requestable->name , ['class' => 'form-control', 'readonly'=> 'readonly' ]) !!}
{!! Form::label('lpoin_id', __('models/invoices.fields.lpoin_id').':') !!} {!! Form::text('quotation', isset($invoice) ? $invoice->quotation->lpoins->ref_no : $invoiceRequest->requestable->lpoins->ref_no , ['class' => 'form-control', 'readonly'=> 'readonly' ]) !!}
{!! Form::label('payment_terms', __('models/invoices.fields.payment_terms').':') !!} {!! Form::text('payment_terms', isset($invoice) ? $invoice->payment_terms : $invoiceRequest->requestable->lpoins->payment_terms , ['class' => 'form-control', 'readonly'=> 'readonly' ]) !!}
{!! Form::label('amount_in_word', __('models/invoices.fields.amount_in_word').':') !!} {!! Form::text('amount_in_word', null, ['class' => ($errors->has('amount_in_word')) ? 'form-control is-invalid' : 'form-control']) !!} @if ($errors->has('amount_in_word')) {{ $errors->first('amount_in_word') }} @endif
{!! Form::label('invoice_bank_id', __('models/invoices.fields.invoice_bank_id').':') !!} {!! Form::select('invoice_bank_id', $invoiceBanks, null, ['class' => ($errors->has('invoice_bank_id')) ? 'form-control is-invalid' : 'form-control' ,'id'=>'invoice_bank_id']) !!} @if ($errors->has('invoice_bank_id')) {{ $errors->first('invoice_bank_id') }} @endif
@section('scripts') @parent @endsection
{!! Form::label('note1', __('models/invoices.fields.note1').':') !!} {!! Form::textarea('note1', '
  • Payment should be issued immediately upon receipt of this invoice.
  • 1% of the amount OR AED500 (whichever is higher) will be charged as a fine on the returned cheque.
This document has been approved electronically, hence no signature or stamp is required.' , ['class' => 'form-control summer-note']) !!}
@section('scripts') @parent @endsection
{!! Form::label('note2', __('models/invoices.fields.note2').':') !!} {!! Form::textarea('note2', '
  • Bank transfer or payment in cash/cheque to be delivered to FTS RAK branch office, payable to:
', ['class' => 'form-control summer-note']) !!}
@include('invoices.invoices_partials.product_detail' ,[ 'products' => isset($invoiceRequest->request_products) ? $invoiceRequest->request_products : (isset($invoice) ? $invoice->invoice_product_details : null) ]) @include('invoices.invoices_partials.service_detail',[ 'invoice' => isset($invoice) ? $invoice : null ])
{!! Form::submit(__('crud.save'), ['class' => 'btn btn-danger btn-flat btn-lg']) !!} @lang('crud.cancel')
@section('scripts') @parent @endsection