{!! 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('start_date', __('models/payment_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/payment_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('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('vat', __('models/lpoouts.fields.vat').':') !!}
{!! Form::label('note', __('models/payment_invoices.fields.note').':') !!} {!! Form::textarea('note', null, ['class' => 'form-control']) !!}
{!! Form::submit(__('crud.save'), ['class' => 'btn btn-danger btn-flat btn-lg']) !!} @lang('crud.cancel')
@section('scripts') @parent @endsection