{!! Form::label('customer_id', 'Customer') !!}
{!! Form::select('customer_id', ['' => 'Please Select ...'] + $data['customers'], Request::input('customer_id'), ['class'=>'form-control', 'onchange' => 'get_customer_orders(this.value);']) !!}
{!! Form::label('ref_type', 'Invoice Type:') !!}
{!! Form::select('ref_type', ['' => 'Please Select ...'] + \App\Models\Invoice::$ref_types, Request::input('ref_type'), ['class'=>'form-control', 'onchange' => 'set_invoice_type(this.value);']) !!}
{!! Form::label('title', 'Title:') !!}
{!! Form::text('title', null,['class'=>'form-control', 'placeholder'=>'Enter title ...']) !!}
{!! Form::label('invoice_number', 'Invoice Number:') !!}
{!! Form::text('invoice_number', null,['class'=>'form-control', 'placeholder'=>'Enter invoice number ...']) !!}
{!! Form::label('amount', 'Amount:') !!}
{!! Form::text('amount', null,['class'=>'form-control', 'placeholder'=>'Enter amount ...']) !!}
{!! Form::label('due_date', 'Due Date:') !!}
{!! Form::input('date','due_date', null,['class'=>'form-control', 'placeholder'=>'Select due date ...']) !!}
{!! Form::label('late_fee_type', 'Charge Late Fee:') !!}
{!! Form::select('late_fee_type', ['' => 'Please Select ...'] + \App\Models\Invoice::$late_fee_types, Request::input('late_fee_type'), ['class'=>'form-control', 'onchange' => 'set_late_fee(this.value);']) !!}
{!! Form::label('late_fee', 'Late Fee:') !!}
{!! Form::text('late_fee', Request::input('late_fee'),['class'=>'form-control', 'placeholder'=>'Enter late fee ...']) !!}
{!! Form::label('notified', 'Notify Customer:') !!}