@extends('layouts/microfin_layout') @section('title', '| Add Product Interest Rate') @section('content')
New Product Interest Rate
{!! Form::open(array('url' => '', 'role' => 'form', 'class' => 'form-horizontal form-groups', 'autocomplete' => 'off')) !!}
{!! Form::label('loanProduct', 'Loan Product:', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::hidden('encriptedLoanProductId', $encriptedLoanProductId, ['id' => 'encriptedLoanProductId']) !!} {!! Form::text('loanProduct', $product->code.' - '.$product->name, ['class' => 'form-control', 'type' => 'text', 'readonly' => 'readonly' ]) !!}
{!! Form::label('interest calculation method', 'Interest Calculation Method:*', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::select('interestCalculationMethodId', array('' => 'Select') + $interestCalculationMethods, null, array('class'=>'form-control', 'id' => 'interestCalculationMethodId')) !!}
{!! Form::label('effective date', 'Effective Date:*', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::text('effectiveDate', $value = $product->startDate, ['class' => 'form-control', 'id' => 'effectiveDate', 'type' => 'text', 'readonly' => 'readonly', 'data-validate' => 'required, minlength[5]', 'style'=>'cursor:pointer' ]) !!}
{!! Form::label('interest rate', 'Interest Rate Percentage (%):*', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::text('interestRate', $value = null, ['class' => 'form-control', 'id' => 'interestRate', 'type' => 'text', 'data-validate' => 'required' ]) !!}
{!! Form::label('interest rate index', 'Interest Rate Index:*', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::text('interestRateIndex', $value = null, ['class' => 'form-control', 'id' => 'interestRateIndex', 'type' => 'text', 'data-validate' => 'required, minlength[5]' ]) !!}
{!! Form::submit('Submit', ['id' => 'submit', 'class' => 'btn btn-info']) !!} Close
{!! Form::close() !!}
@endsection