{!! Form::label('invoice_no', __('models/payment_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('type', __('models/payment_invoices.fields.type').':') !!}
{!! Form::select('type', ['LpoOut' => 'Lpoout','General' => 'General'], null, ['class' => ($errors->has('type')) ? 'form-control is-invalid' : 'form-control' ,'id'=>'type']) !!}
@if ($errors->has('type'))
{{ $errors->first('type') }}
@endif
{!! Form::label('lpoout_id', __('models/payment_invoices.fields.lpoout_id').':') !!}
{!! Form::select('lpoout_id', $lpooutItems, null, ['class' => ($errors->has('lpoout_id')) ? 'form-control is-invalid' : 'form-control' ,'id'=>'lpoout_id']) !!}
@if ($errors->has('lpoout_id'))
{{ $errors->first('lpoout_id') }}
@endif
{!! Form::label('vendor_id', __('models/payment_invoices.fields.vendor_id').':') !!}
{!! Form::select('vendor_id', $vendorItems, null, ['class' => ($errors->has('vendor_id')) ? 'form-control is-invalid' : 'form-control' ,'id'=>'vendor_id']) !!}
@if ($errors->has('vendor_id'))
{{ $errors->first('vendor_id') }}
@endif
{!! Form::label('project_id', __('models/payment_invoices.fields.project_id').':') !!}
{!! Form::select('project_id', $projectItems, null, ['class' => ($errors->has('project_id')) ? 'form-control is-invalid' : 'form-control' ,'id'=>'project_id']) !!}
@if ($errors->has('project_id'))
{{ $errors->first('project_id') }}
@endif
{!! Form::label('amount', __('models/payment_invoices.fields.amount').':') !!}
{!! Form::text('amount', null, ['class' => ($errors->has('amount')) ? 'form-control is-invalid' : 'form-control']) !!}
@if ($errors->has('amount'))
{{ $errors->first('amount') }}
@endif
{!! Form::label('note', __('models/payment_invoices.fields.note').':') !!}
{!! Form::textarea('note', null, ['class' => 'form-control']) !!}