@extends('layouts/microfin_layout') @section('title', '| Loan Setting') @section('content')
Loan Configuration Setting
{!! Form::open(array('url' => '', 'role' => 'form','id' =>'formId','enctype' => 'multipart/form-data', 'class' => 'form-horizontal form-groups')) !!}
{!! Form::label('defaultInterestCalculationMethod', 'Default Interest Calculation Method', ['class' => 'col-sm-3 control-label loanSetting']) !!}
{!! Form::select('defaultInterestCalculationMethod',['0'=>'Flat Method','1'=>'Declining Balance'], isset(($damageData['loanConfigurationData']['defaultInterestCalculationMethod'])) ? (int)($damageData['loanConfigurationData']['defaultInterestCalculationMethod']) : '', array('class'=>'form-control loanSetting', 'id' => 'defaultInterestCalculationMethod')) !!}
{!! Form::label('isOtherInterestCalculationMethodAllowed', 'Is Other Interest Calculation Method Allowed?', ['class' => 'col-sm-3 control-label loanSetting']) !!}
{!! Form::select('isOtherInterestCalculationMethodAllowed',($damageData['boolean']), isset($damageData['loanConfigurationData']['isOtherInterestCalculationMethodAllowed']) ? (int)($damageData['loanConfigurationData']['isOtherInterestCalculationMethodAllowed']) : '', array('class'=>'form-control loanSetting', 'id' => 'isOtherInterestCalculationMethodAllowed')) !!}
{!! Form::label('isMultipleLoanAllowedForPrimaryProducts', 'Is Multiple Loan Allowed For Primary Products?', ['class' => 'col-sm-3 control-label loanSetting']) !!}
{!! Form::select('isMultipleLoanAllowedForPrimaryProducts',($damageData['boolean']), isset(($damageData['loanConfigurationData']['isMultipleLoanAllowedForPrimaryProducts']))? (int)($damageData['loanConfigurationData']['isMultipleLoanAllowedForPrimaryProducts']) : '', array('class'=>'form-control loanSetting', 'id' => 'isMultipleLoanAllowedForPrimaryProducts')) !!}
{!! Form::label('additionalFeeLabelName', 'Additional Fee Label Name', ['class' => 'col-sm-3 control-label loanSetting']) !!}
{!! Form::text('additionalFeeLabelName',($damageData['loanConfigurationData']['additionalFeeLabelName']) ?? '', ['class' => 'form-control loanSetting', 'id' => 'additionalFeeLabelName', 'type' => 'text']) !!}
{!! Form::label('insuranceAmountLabelName', 'Insurance Amount Label Name', ['class' => 'col-sm-3 control-label loanSetting']) !!}
{!! Form::text('additionalFeeLabelName',($damageData['loanConfigurationData']['additionalFeeLabelName']) ?? '', ['class' => 'form-control loanSetting', 'id' => 'additionalFeeLabelName', 'type' => 'text']) !!}
{!! Form::label('isLoanRebateAllowedDuringLoanWaiverForDeathMember', 'Is Loan Rebate Allowed During Loan Waiver For Death Member', ['class' => 'col-sm-3 control-label loanSetting']) !!}
{!! Form::select('isLoanRebateAllowedDuringLoanWaiverForDeathMember',($damageData['boolean']),isset(($damageData['loanConfigurationData']['isLoanRebateAllowedDuringLoanWaiverForDeathMember'])) ? (int)($damageData['loanConfigurationData']['isLoanRebateAllowedDuringLoanWaiverForDeathMember']) : '', array('class'=>'form-control loanSetting', 'id' => 'isLoanRebateAllowedDuringLoanWaiverForDeathMember')) !!}
{!! Form::label('isInsuranceAmountEditable', 'Is Insurance Amount Editable?', ['class' => 'col-sm-3 control-label loanSetting']) !!}
{!! Form::select('isInsuranceAmountEditable',($damageData['boolean']), isset(($damageData['loanConfigurationData']['isInsuranceAmountEditable'])) ? (int)($damageData['loanConfigurationData']['isInsuranceAmountEditable']) : '', array('class'=>'form-control loanSetting', 'id' => 'isInsuranceAmountEditable')) !!}
{!! Form::label('isMultipleOneTimeLoanDisburseAllowed', 'Is Multiple One Time Loan Disburse Allowed?', ['class' => 'col-sm-3 control-label loanSetting']) !!}
{!! Form::select('isMultipleOneTimeLoanDisburseAllowed',($damageData['boolean']),isset(($damageData['loanConfigurationData']['isMultipleOneTimeLoanDisburseAllowed'])) ? (int)($damageData['loanConfigurationData']['isMultipleOneTimeLoanDisburseAllowed']) : '', array('class'=>'form-control loanSetting', 'id' => 'isMultipleOneTimeLoanDisburseAllowed')) !!}
{!! Form::label('isFirstRepaymentDateEditable', 'Is First Repayment Date Editable?', ['class' => 'col-sm-3 control-label loanSetting']) !!}
{!! Form::select('isFirstRepaymentDateEditable',($damageData['boolean']), isset(($damageData['loanConfigurationData']['isFirstRepaymentDateEditable'])) ? (int)($damageData['loanConfigurationData']['isFirstRepaymentDateEditable']) : '', array('class'=>'form-control loanSetting', 'id' => 'isFirstRepaymentDateEditable')) !!}
{!! Form::label('IsLoanCycleEditable', 'Is Loan Cycle Editable?', ['class' => 'col-sm-3 control-label loanSetting']) !!}
{!! Form::select('IsLoanCycleEditable',($damageData['boolean']), isset(($damageData['loanConfigurationData']['IsLoanCycleEditable'])) ? (int)($damageData['loanConfigurationData']['IsLoanCycleEditable']) : '', array('class'=>'form-control loanSetting', 'id' => 'IsLoanCycleEditable')) !!}
{!! Form::label('loanDisbursementAmountForBankPayment', 'Loan Disbursement Amount For Bank Payment', ['class' => 'col-sm-3 control-label loanSetting']) !!}
{!! Form::text('loanDisbursementAmountForBankPayment',$damageData['loanConfigurationData']['loanDisbursementAmountForBankPayment'] ?? '', ['class' => 'form-control loanSetting', 'id' => 'loanDisbursementAmountForBankPayment', 'type' => 'text']) !!}
{!! Form::label('maximumNumberOfInstallment', 'Maximum Number Of Installment', ['class' => 'col-sm-3 control-label loanSetting']) !!}
{!! Form::text('maximumNumberOfInstallment',$damageData['loanConfigurationData']['maximumNumberOfInstallment'] ?? '', ['class' => 'form-control loanSetting', 'id' => 'maximumNumberOfInstallment', 'type' => 'text']) !!}
{!! Form::label('IeligibleInterestCalculateForDailyBasisDFDLoan', 'Ieligible Interest Calculate For Daily Basis DFD Loan', ['class' => 'col-sm-3 control-label loanSetting']) !!}
{!! Form::select('IeligibleInterestCalculateForDailyBasisDFDLoan',($damageData['boolean']), isset(($damageData['loanConfigurationData']['IeligibleInterestCalculateForDailyBasisDFDLoan'])) ? (int)($damageData['loanConfigurationData']['IeligibleInterestCalculateForDailyBasisDFDLoan']) : '', array('class'=>'form-control loanSetting', 'id' => 'IeligibleInterestCalculateForDailyBasisDFDLoan')) !!}
{!! Form::label('isLoanFormFeeWillBeShownInLoanDisbursePage', 'Is Loan Form Fee Will Be Shown In Loan Disburse Page', ['class' => 'col-sm-3 control-label loanSetting']) !!}
{!! Form::select('isLoanFormFeeWillBeShownInLoanDisbursePage',($damageData['boolean']), isset($damageData['loanConfigurationData']['isLoanFormFeeWillBeShownInLoanDisbursePage']) ? (int)($damageData['loanConfigurationData']['isLoanFormFeeWillBeShownInLoanDisbursePage']) :'', array('class'=>'form-control loanSetting', 'id' => 'isLoanFormFeeWillBeShownInLoanDisbursePage')) !!}
{!! Form::label('maximumMemberAgeForGettingLoan', 'Maximum Member Age For Getting Loan', ['class' => 'col-sm-3 control-label loanSetting']) !!}
{!! Form::text('maximumMemberAgeForGettingLoan', $damageData['loanConfigurationData']['maximumMemberAgeForGettingLoan'] ?? '', ['class' => 'form-control loanSetting', 'id' => 'maximumMemberAgeForGettingLoan', 'type' => 'text']) !!}
{!! Form::label('isLoanSecurityOptionEnable', 'Is Loan Security Option Enable', ['class' => 'col-sm-3 control-label loanSetting']) !!}
{!! Form::select('isLoanSecurityOptionEnable',($damageData['boolean']), isset($damageData['loanConfigurationData']['isLoanSecurityOptionEnable']) ? (int)($damageData['loanConfigurationData']['isLoanSecurityOptionEnable']) : '', array('class'=>'form-control loanSetting', 'id' => 'isLoanSecurityOptionEnable')) !!}
{!! Form::label('loanRebateAmountCalculationMethod', 'Loan Rebate Amount Calculation Method', ['class' => 'col-sm-3 control-label loanSetting']) !!}
{!! Form::select('loanRebateAmountCalculationMethod',['0'=>'Flat Method','1'=>'Declining Balance'], isset(($damageData['loanConfigurationData']['loanRebateAmountCalculationMethod'])) ? (int)($damageData['loanConfigurationData']['loanRebateAmountCalculationMethod']) : '', array('class'=>'form-control loanSetting', 'id' => 'loanRebateAmountCalculationMethod')) !!}
{!! Form::submit('Submit', ['id' => 'submit', 'class' => 'btn btn-info']) !!} Close
{!! Form::close() !!}
@endsection