@extends('layouts/microfin_layout') @section('title', '| Add Product') @section('content')
New Savings Product
{!! Form::open([ 'url' => '', 'role' => 'forl', 'id' => 'rootwizard', 'class' => 'form-horizontal form-groups', 'novalidate' => '', ]) !!}
{!! Form::label('name', 'Name:', ['class' => 'col-sm-5 control-label']) !!}
{!! Form::text('name', null, ['class' => 'form-control', 'id' => 'name', 'autocomplete' => 'off']) !!}
{!! Form::label('shortName', 'Short Name:', ['class' => 'col-sm-5 control-label']) !!}
{!! Form::text('shortName', null, ['class' => 'form-control', 'id' => 'shortName', 'autocomplete' => 'off']) !!}
{!! Form::label('savingProductCode', 'Saving Product Code:', ['class' => 'col-sm-5 control-label']) !!}
{!! Form::text('savingProductCode', null, [ 'class' => 'form-control', 'id' => 'savingProductCode', 'autocomplete' => 'off', ]) !!}
{!! Form::label('startDate', 'Start Date:', ['class' => 'col-sm-5 control-label']) !!}
{!! Form::text('startDate', null, [ 'class' => 'form-control', 'id' => 'startDate', 'autocomplete' => 'off', 'readonly', 'style' => 'cursor:pointer;', ]) !!}
@php $depositTypeList = ['' => 'Select'] + DB::table('mfn_savings_deposit_type') ->where('softDel', 0) ->pluck('name', 'id') ->toArray(); @endphp
{!! Form::label('typeOfDeposit', 'Type Of Deposit:', ['class' => 'col-sm-5 control-label']) !!}
{!! Form::select('typeOfDeposit', $depositTypeList, null, [ 'class' => 'form-control', 'id' => 'typeOfDeposit', 'autocomplete' => 'off', ]) !!}
{!! Form::label('savingsType', 'Savings Type/Segment:', ['class' => 'col-sm-5 control-label']) !!}
{!! Form::select('savingsType', $damageData['savingsType'], null, [ 'class' => 'form-control', 'id' => 'savingsType', 'autocomplete' => 'off', ]) !!}
{{--
{!! Form::label('weeklyDepositAmount', 'Weekly Deposit Amount:', ['class' => 'col-sm-5 control-label']) !!}
{!! Form::text('weeklyDepositAmount',null, ['class' => 'form-control', 'id' => 'weeklyDepositAmount','autocomplete'=>'off']) !!}
{!! Form::label('monthlyDepositAmount', 'Monthly Deposit Amount:', ['class' => 'col-sm-5 control-label']) !!}
{!! Form::text('monthlyDepositAmount',null, ['class' => 'form-control', 'id' => 'monthlyDepositAmount','autocomplete'=>'off']) !!}
--}}
@foreach ($damageData['toogleList'] as $k => $v) @if ($k !== '') @endif @endforeach
{{--
{!! Form::label('isMultipleSavingsAllowed', 'Is Multiple Savings Allowed?:', ['class' => 'col-sm-5 control-label']) !!}
{!! Form::select('isMultipleSavingsAllowed',$damageData['toogleList'],null, ['class' => 'form-control', 'id' => 'isMultipleSavingsAllowed','autocomplete'=>'off']) !!}
--}}
@foreach ($damageData['toogleList'] as $k => $v) @if ($k !== '') @endif @endforeach
{{--
{!! Form::label('isNomineeRequired', 'Is Nominee Required?:', ['class' => 'col-sm-5 control-label']) !!}
{!! Form::select('isNomineeRequired',$damageData['toogleList'],null, ['class' => 'form-control', 'id' => 'isNomineeRequired','autocomplete'=>'off']) !!}
--}}
@foreach ($damageData['toogleList'] as $k => $v) @if ($k !== '') @endif @endforeach
{{--
{!! Form::label('isClosingChargeApplicable', 'Is Closing Charge Applicable?:', ['id'=>'isClosingChargeApplicableLabel','class' => 'col-sm-5 control-label']) !!}
{!! Form::select('isClosingChargeApplicable',$damageData['toogleList'], null, ['class' => 'form-control', 'id' => 'isClosingChargeApplicable','autocomplete'=>'off']) !!}
--}}
{!! Form::label('closingCharge', 'Closing Charge:', ['class' => 'col-sm-5 control-label']) !!}
{!! Form::text('closingCharge', null, [ 'class' => 'form-control', 'id' => 'closingCharge', 'autocomplete' => 'off', 'placeholder' => 'Enter Closing Charge', ]) !!}
@php $interestCalMethodList = DB::table('mfn_savings_interest_cal_method') ->where(['status' => 1, 'softDel' => 0]) ->get(); @endphp {{--
{!! Form::label('interestCalculationMethod', 'Interest Calculation Method:', ['class' => 'col-sm-5 control-label']) !!}
{!! Form::select('interestCalculationMethod',$interestCalMethodList,null, ['class' => 'form-control', 'id' => 'interestCalculationMethod','autocomplete'=>'off']) !!}
--}}
@foreach ($interestCalMethodList as $v) @endforeach
{{-- Only Case of RS Without Day Basis RS --}} {!! Form::label('autoProcessAmount', 'Default Auto Process Amount:', ['class' => 'col-sm-5 control-label']) !!}
{!! Form::text('autoProcessAmount', null, [ 'class' => 'form-control', 'id' => 'autoProcessAmount', 'autocomplete' => 'off', 'placeholder' => 'Enter Default Auto Process Amount', ]) !!}
@foreach ($damageData['toogleList'] as $k => $v) @if ($k !== '') @endif @endforeach
Month(s)
@php $savingsCollectionFrequencyList = ['' => 'Select'] + DB::table('mfn_savings_collection_frequency') ->where('softDel', 0) ->orderBy('createdDate', 'asc') ->pluck('name', 'id') ->toArray(); @endphp
{!! Form::label('savingCollectionFrequency', 'Saving Collection Frequency:', [ 'class' => 'col-sm-5 control-label', ]) !!}
{!! Form::select('savingCollectionFrequency', $savingsCollectionFrequencyList, null, [ 'class' => 'form-control', 'id' => 'savingCollectionFrequency', 'autocomplete' => 'off', ]) !!}
@php $monthlyCollectionTypeList = ['' => 'Select'] + DB::table('mfn_saving_monthly_collection_type') ->pluck('name', 'id') ->toArray(); @endphp
{!! Form::label('monthlyCollectionType', 'Monthly Collection Type:', ['class' => 'col-sm-5 control-label']) !!}
{!! Form::select('monthlyCollectionType', $monthlyCollectionTypeList, null, [ 'class' => 'form-control', 'id' => 'monthlyCollectionType', 'autocomplete' => 'off', ]) !!}
@php $monthlyCollectionTypeWeekList = ['' => 'Select'] + explode( ',', DB::table('mfn_saving_monthly_collection_type') ->where('id', 1) ->value('value'), ); @endphp
{!! Form::label('monthlyCollectionWeekOrDay', 'Monthly Collection Week:', [ 'id' => 'monthlyCollectionWeekOrDayLabel', 'class' => 'col-sm-5 control-label', ]) !!}
{!! Form::select('monthlyCollectionWeekOrDay', $monthlyCollectionTypeWeekList, null, [ 'class' => 'form-control', 'id' => 'monthlyCollectionWeekOrDay', 'autocomplete' => 'off', ]) !!}
{{--
{!! Form::label('lateInstallmentCalMethod', 'Late Installment Cal Method:', ['class' => 'col-sm-5 control-label']) !!}
{!! Form::select('lateInstallmentCalMethod',[''=>'Select','1'=>'% Of INSTALLMENT AMOUNT','2'=>'Manual Amount'],null, ['class' => 'form-control', 'id' => 'lateInstallmentCalMethod','autocomplete'=>'off']) !!}
--}} {{--
{!! Form::label('lateInstallmentPenaltyAmount', 'Late Installment Penalty Amount:', ['class' => 'col-sm-5 control-label']) !!}
{!! Form::text('lateInstallmentPenaltyAmount',null, ['class' => 'form-control', 'id' => 'lateInstallmentPenaltyAmount','autocomplete'=>'off']) !!}
--}}
{!! Form::label( 'withdrawAllowInFiscalYearForInterest', 'Maximum Withdraw Allowed for Interest in a Fisacal Year:', ['class' => 'col-sm-5 control-label'], ) !!}
{!! Form::text('withdrawAllowInFiscalYearForInterest', null, [ 'class' => 'form-control', 'id' => 'withdrawAllowInFiscalYearForInterest', 'autocomplete' => 'off', ]) !!} Skip as Blank to N/A this Condition
@foreach ($damageData['toogleList'] as $k => $v) @if ($k !== '') @endif @endforeach
@foreach ($damageData['toogleList'] as $k => $v) @if ($k !== '') @endif @endforeach
{{--
{!! Form::label('minSavingsBalance', 'Minimum Savings Balance:', ['class' => 'col-sm-5 control-label']) !!}
{!! Form::text('minSavingsBalance',null, ['class' => 'form-control', 'id' => 'minSavingsBalance','autocomplete'=>'off']) !!}
--}}
{!! Form::label( 'maximumAllowedMissingInstallments', 'Maximum Allowed Missing Installments for Interest in a Fiscal Year:', ['class' => 'col-sm-5 control-label'], ) !!}
{!! Form::text('maximumAllowedMissingInstallments', null, [ 'class' => 'form-control', 'id' => 'maximumAllowedMissingInstallments', 'autocomplete' => 'off', ]) !!} Skip as Blank to N/A this Condition
{!! Form::label('onClosingInterestEditable', 'On Closing Interest Editable:', [ 'class' => 'col-sm-5 control-label', ]) !!}
{!! Form::select('onClosingInterestEditable', $damageData['toogleList'], 1, [ 'class' => 'form-control', 'id' => 'onClosingInterestEditable', 'autocomplete' => 'off', ]) !!}
@foreach ($damageData['toogleList'] as $k => $v) @if ($k !== '') @endif @endforeach
@foreach ($damageData['toogleList'] as $k => $v) @if ($k !== '') @endif @endforeach
@foreach ($damageData['toogleList'] as $k => $v) @if ($k !== '') @endif @endforeach
@foreach ($damageData['toogleList'] as $k => $v) @if ($k !== '') @endif @endforeach
@foreach ($damageData['toogleList'] as $k => $v) @if ($k !== '') @endif @endforeach
@foreach ($damageData['toogleList'] as $k => $v) @if ($k !== '') @endif @endforeach
@foreach ($damageData['toogleList'] as $k => $v) @if ($k !== '') @endif @endforeach
Day(s)
{{-- @php $years = ['1'=>'5 years','2'=>'10 years', '3' => '15 years']; @endphp --}} {{--
{!! Form::label('repayYears', 'Select Repay Years:', ['class' => 'col-sm-5 control-label']) !!}
{!! Form::select('repayYears[]', $years, null, ['class' => 'form-control', 'id' => 'repayYears','autocomplete'=>'off', 'multiple' => 'multiple']) !!}
--}} {{-- --}}
    {!! Form::submit('Submit', ['id' => 'submit', 'class' => 'btn btn-info']) !!}
{{-- End First Column --}}
{{-- Second Coloum --}}
{{-- End Second Coloum --}}
{!! Form::close() !!}
{{-- --}} @endsection