{!! Form::open(array('role' => 'form', 'files'=>'false', 'class'=>'form-horizontal form-groups')) !!}
{!! Form::label('company_id_fk', $data['attributes']['company_id_fk'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('company_id_fk', $data['companyData'], $data['model']->company_id_fk, ['class' => 'form-control getProject', 'id' => 'company_id_fk']) !!}

{{ $errors->error->first('company_id_fk') }}

{!! Form::label('project_id_fk', $data['attributes']['project_id_fk'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('project_id_fk', array(''=>'Select any'), $data['model']->project_id_fk, ['class' => 'form-control getBranch', 'id' => 'project_id_fk']) !!}

{{ $errors->error->first('project_id_fk') }}

{!! Form::label('branch_id_fk', $data['attributes']['branch_id_fk'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('branch_id_fk', array(''=>'Select any'), $data['model']->branch_id_fk, ['class' => 'form-control getUser', 'id' => 'branch_id_fk']) !!}

{{ $errors->error->first('branch_id_fk') }}

{!! Form::label('users_id_fk', $data['attributes']['users_id_fk'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('users_id_fk', $data['employeeList'], $data['model']->users_id_fk, ['class' => 'form-control', 'id' => 'users_id_fk']) !!}

{{ $errors->error->first('users_id_fk') }}

{!! Form::label('loan_number', $data['attributes']['loan_number'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('loan_number', $data['model']->loan_number, ['class' => 'form-control', 'id' => 'loan_number']) !!}

{{ $errors->error->first('loan_number') }}

{!! Form::label('vehicle_type_fk', $data['attributes']['vehicle_type_fk'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('vehicle_type_fk', $data['vehicleTypeData'], $data['model']->vehicle_type_fk, ['class' => 'form-control', 'id' => 'vehicle_type_fk']) !!}

{{ $errors->error->first('vehicle_type_fk') }}

{!! Form::label('approved_amount', $data['attributes']['approved_amount'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('approved_amount', $data['model']->approved_amount, ['class' => 'form-control', 'id' => 'approved_amount']) !!}

{{ $errors->error->first('approved_amount') }}

{!! Form::label('approved_no_of_installment', $data['attributes']['approved_no_of_installment'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('approved_no_of_installment', $data['model']->approved_no_of_installment, ['class' => 'form-control', 'id' => 'approved_no_of_installment']) !!}

{{ $errors->error->first('approved_no_of_installment') }}

{!! Form::label('percentage', $data['attributes']['percentage'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('percentage', $data['model']->percentage, ['class' => 'form-control', 'id' => 'percentage']) !!}

{{ $errors->error->first('percentage') }}

{!! Form::label('extra_payment', $data['attributes']['extra_payment'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('extra_payment', $data['model']->extra_payment, ['class' => 'form-control', 'id' => 'extra_payment']) !!}

{{ $errors->error->first('extra_payment') }}

{!! Form::label('installment_start_date', $data['attributes']['installment_start_date'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('installment_start_date', $data['model']->installment_start_date, ['class' => 'form-control monthpicker', 'id' => 'installment_start_date']) !!}

{{ $errors->error->first('installment_start_date') }}

{!! Form::label('ob_date', $data['attributes']['ob_date'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('ob_date', $data['model']->ob_date, ['class' => 'form-control datepicker', 'id' => 'ob_date']) !!}

{{ $errors->error->first('ob_date') }}

{!! Form::label('approved_installment', $data['attributes']['approved_installment'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('approved_installment', $data['model']->approved_installment, ['class' => 'form-control', 'id' => 'approved_installment', 'readonly'=>'readonly']) !!}

{{ $errors->error->first('approved_installment') }}

{!! Form::label('interest_amount', $data['attributes']['interest_amount'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('interest_amount', $data['model']->interest_amount, ['class' => 'form-control', 'id' => 'interest_amount', 'readonly'=>'readonly']) !!}

{{ $errors->error->first('interest_amount') }}

{!! Form::label('total_receiveble', $data['attributes']['total_receiveble'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('total_receiveble', $data['model']->total_receiveble, ['class' => 'form-control', 'id' => 'total_receiveble', 'readonly'=>'readonly']) !!}

{{ $errors->error->first('total_receiveble') }}

{!! Form::label('loan_approved_date', $data['attributes']['loan_approved_date'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('loan_approved_date', $data['model']->loan_approved_date, ['class' => 'form-control datepicker', 'id' => 'loan_approved_date']) !!}

{{ $errors->error->first('loan_approved_date') }}

{!! Form::label('no_of_installment_completed', $data['attributes']['no_of_installment_completed'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('no_of_installment_completed', $data['model']->no_of_installment_completed, ['class' => 'form-control', 'id' => 'no_of_installment_completed']) !!}

{{ $errors->error->first('no_of_installment_completed') }}

{!! Form::label('ob_total', $data['attributes']['ob_total'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('ob_total', $data['model']->ob_total, ['class' => 'form-control', 'id' => 'ob_total']) !!}

{{ $errors->error->first('ob_total') }}

{!! Form::label('ob_principal', $data['attributes']['ob_principal'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('ob_principal', $data['model']->ob_principal, ['class' => 'form-control', 'id' => 'ob_principal']) !!}

{{ $errors->error->first('ob_principal') }}

{!! Form::label('ob_interest', $data['attributes']['ob_interest'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('ob_interest', $data['model']->ob_interest, ['class' => 'form-control', 'id' => 'ob_interest', 'readonly'=>'readonly']) !!}

{{ $errors->error->first('ob_interest') }}

{!! Form::label('ob_amount', $data['attributes']['ob_amount'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('ob_amount', $data['model']->ob_amount, ['class' => 'form-control', 'id' => 'ob_amount', 'readonly'=>'readonly']) !!}

{{ $errors->error->first('ob_amount') }}

{!! Form::label('loan_reason', $data['attributes']['loan_reason'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::textarea('loan_reason', $data['model']->loan_reason, ['class' => 'form-control', 'id' => 'loan_reason', 'rows'=>3]) !!}

{{ $errors->error->first('loan_reason') }}


Warning: Undefined variable $data in /home/shikkhaplus/public_html/resources/views/hr1/openingBalanceLoanVehicle/form.blade.php on line 186

Warning: Trying to access array offset on value of type null in /home/shikkhaplus/public_html/resources/views/hr1/openingBalanceLoanVehicle/form.blade.php on line 186

Warning: Attempt to read property "loanSchedule" on null in /home/shikkhaplus/public_html/resources/views/hr1/openingBalanceLoanVehicle/form.blade.php on line 186

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/shikkhaplus/public_html/resources/views/hr1/openingBalanceLoanVehicle/form.blade.php:186 Stack trace: #0 {main} thrown in /home/shikkhaplus/public_html/resources/views/hr1/openingBalanceLoanVehicle/form.blade.php on line 186
Payment# Payment Date Beginning Balance Scheduled Payment Extra Payment Total Payment Principal Interest Ending Balance Cumulative Interest Payment Status