2013-11-19 08:32:43 +00:00
< div ng-controller = "NewLoanAccAppController" >
2014-03-02 12:09:27 +00:00
< div >
2013-11-19 08:32:43 +00:00
< ul class = "breadcrumb" >
2014-04-02 19:42:02 +00:00
< li ng-show = "groupName" > < a href = "#/viewgroup/{{groupId}}" > < strong > '{{groupName}}'< / strong > < / a > < / li >
< li ng-show = "clientName" > < a href = "#/viewclient/{{clientId}}" > < strong > '{{clientName}}'< / strong > < / a > < / li >
2014-03-02 12:09:27 +00:00
< li class = "active" > {{'label.anchor.loanapplication' | translate}}< / li >
2013-11-19 08:32:43 +00:00
< / ul >
2014-03-02 12:09:27 +00:00
< / div >
< api-validate > < / api-validate >
2014-04-02 19:42:02 +00:00
< form name = "newloanaccountform" novalidate = "" rc-submit = "submit()" class = "well form-inline" >
2014-03-02 12:09:27 +00:00
< table class = "width100" >
< tr >
2014-01-20 13:04:47 +00:00
< td class = "width14" >
2014-03-02 12:09:27 +00:00
< label > {{ 'label.input.product' | translate }}< span class = "required" > *< / span > : < / label >
2014-12-29 06:42:15 +00:00
< i class = "icon-question-sign" tooltip = "{{'label.tooltip.product' | translate}}" > < / i >
2014-01-20 13:04:47 +00:00
< / td >
2014-04-11 05:44:31 +00:00
< td class = "width36 paddedbottom10" >
< select id = "productId" ng-model = "formData.productId" class = "form-control width170px"
2014-03-02 12:09:27 +00:00
ng-options="product.id as product.name for product in products" value="{{product.id}}"
ng-change="loanProductChange(formData.productId)" required="required">
< option style = "display:none" value = "" > {{'label.selectloanproduct' | translate}}< / option >
2014-01-20 13:04:47 +00:00
< / select >
< / td >
< td class = "width14" >
2014-03-02 12:09:27 +00:00
< label ng-show = "formData.productId" > {{ 'label.input.loanofficer' | translate }}: < / label >
2014-12-29 06:42:15 +00:00
< i ng-show = "formData.productId" class = "icon-question-sign" tooltip = "{{'label.tooltip.loanofficer' | translate}}" > < / i >
2014-01-20 13:04:47 +00:00
< / td >
2014-04-11 05:44:31 +00:00
< td class = "width36 paddedbottom10" >
2014-03-02 12:09:27 +00:00
< select ng-show = "formData.productId" id = "loanOfficerId" ng-model = "formData.loanOfficerId"
2014-04-11 05:44:31 +00:00
ng-options="loanOfficer.id as loanOfficer.displayName for loanOfficer in loanaccountinfo.loanOfficerOptions | orderBy:'displayName':reverse"
class="form-control width170px" value="{{loanOfficer.id}}">
2014-03-02 12:09:27 +00:00
< option value = "" > {{'label.selectloanofficer' | translate}}< / option >
< / select >
2014-01-20 13:04:47 +00:00
< / td >
2014-03-02 12:09:27 +00:00
< / tr >
< tr ng-show = "formData.productId" >
2014-12-29 06:42:15 +00:00
< td > < label > {{ 'label.input.loanpurpose' | translate }}: < / label >
< i class = "icon-question-sign" tooltip = "{{'label.tooltip.loanpurpose' | translate}}" > < / i > < / td >
2014-04-11 05:44:31 +00:00
< td class = "paddedbottom10" >
2014-09-10 18:19:34 +00:00
< select chosen = "loanaccountinfo.loanPurposeOptions" id = "loanPurposeId" ng-model = "formData.loanPurposeId"
2014-04-11 05:44:31 +00:00
ng-options="loanPurpose.id as loanPurpose.name for loanPurpose in loanaccountinfo.loanPurposeOptions | orderBy:'name':reverse"
class="form-control width170px" value="{{loanPurpose.id}}">
2014-03-02 12:09:27 +00:00
< option value = "" > {{'label.selectpurpose' | translate}}< / option >
< / select >
2014-01-20 13:04:47 +00:00
< / td >
2015-02-25 14:12:17 +00:00
< td ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.fundId == true" > < label > {{ 'label.input.fund' | translate }}: < / label > < / td >
< td class = "paddedbottom10" ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.fundId == true" >
2014-04-11 05:44:31 +00:00
< select id = "fundId" ng-model = "formData.fundId" class = "form-control width170px"
2014-03-02 12:09:27 +00:00
ng-options="fund.id as fund.name for fund in loanaccountinfo.fundOptions" value="{{fund.id}}">
< option value = "" > {{'label.selectfund' | translate}}< / option >
< / select >
2014-01-20 13:04:47 +00:00
< / td >
2014-03-02 12:09:27 +00:00
< / tr >
< tr ng-show = "formData.productId" >
2014-12-29 06:42:15 +00:00
< td > < label > {{ 'label.input.submittedon' | translate }}< span class = "required" > *< / span > : < / label >
< i class = "icon-question-sign" tooltip = "{{'label.tooltip.submittedon' | translate}}" > < / i > < / td >
2014-04-11 05:44:31 +00:00
< td class = "paddedbottom10" >
2014-03-02 12:09:27 +00:00
< input type = "text" id = "submittedOnDate" name = "submittedon" datepicker-pop = "dd MMMM yyyy"
2014-04-02 19:42:02 +00:00
ng-model="date.first" is-open="opened" min="'2000-01-01'" max="restrictDate" class="form-control"/>
2014-01-20 13:04:47 +00:00
< / td >
< td >
2014-12-29 06:42:15 +00:00
< label title = "{{ 'label.input.expecteddisbursementon' | translate }}" > {{ 'label.input.disbursementon' | translate }}< span class = "required" > *< / span > : < / label >
< i class = "icon-question-sign" tooltip = "{{'label.tooltip.disbursementon' | translate}}" > < / i >
2014-01-20 13:04:47 +00:00
< / td >
2014-04-11 05:44:31 +00:00
< td class = "paddedbottom10" >
2014-03-02 12:09:27 +00:00
< input id = "expectedDisbursementDate" sort type = "text" name = "expecteddisbursementon"
datepicker-pop="dd MMMM yyyy" ng-model="date.second" is-open="opened1" min="minDate"
2014-04-02 19:42:02 +00:00
max="'2020-06-22'" class="form-control"/>
2014-01-20 13:04:47 +00:00
< / td >
2014-03-02 12:09:27 +00:00
< / tr >
2014-05-31 15:39:38 +00:00
< tr ng-show = "formData.productId" >
2014-12-29 06:42:15 +00:00
< td > < label > {{ 'label.input.externalid' | translate }}< / label >
2015-02-25 14:12:17 +00:00
< i class = "icon-question-sign" tooltip = "{{'label.tooltip.externalid' | translate}}" > < / i > < / td >
2014-05-31 15:39:38 +00:00
< td class = "paddedbottom10" >
< input type = "text" id = "externalId" name = "externalId" ng-model = "formData.externalId" class = "form-control" / >
< / td >
< td > < / td >
< td > < / td >
< / tr >
2014-03-02 12:09:27 +00:00
< / table >
< div ng-hide = "previewRepayment" >
< div ng-show = "loanaccountinfo" >
2015-02-25 14:12:17 +00:00
< div ng-hide = "loanaccountinfo.calendarOptions == undefined" >
2014-03-02 12:09:27 +00:00
< hr ng-show = "loanaccountinfo" / >
2015-02-25 14:12:17 +00:00
< / div >
2014-03-02 12:09:27 +00:00
< label ng-show = "loanaccountinfo.calendarOptions" > < i class = "icon-calendar icon-white" > < / i > < strong > {{
'label.heading.meetingdetails' | translate }}< / strong > < / label >
< table ng-show = "loanaccountinfo.calendarOptions" class = "width100" >
< tr ng-repeat = "calendar in loanaccountinfo.calendarOptions" >
< td class = "width14" > < label > {{ 'label.heading.startdate' | translate }}:< / label > < / td >
< td class = "width36" > {{calendar.startDate | DateFormat}}< / td >
< td class = "width14" > < label > {{ 'label.heading.repeatson' | translate }}:< / label > < / td >
< td class = "width36" > {{calendar.humanReadable}}< / td >
< / tr >
< tr ng-repeat = "calendar in loanaccountinfo.calendarOptions" >
< td align = "center" > < input type = "checkbox" ng-model = "formData.syncRepaymentsWithMeeting"
ng-change="syncRepaymentsWithMeetingchange()">< / td >
< td > < label > {{ 'label.input.syncrepaymentswithmeeting' | translate }}< / label > < / td >
< td align = "center" > < input type = "checkbox" ng-model = "formData.syncDisbursementWithMeeting"
ng-change="syncDisbursementWithMeetingchange()">< / td >
< td > < label > {{ 'label.input.syncdisbursementdatewithmeeting' | translate }}< / label > < / td >
< / tr >
< / table >
2015-02-25 14:12:17 +00:00
< div ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.linkAccountId == true" >
< hr ng-show = "loanaccountinfo" / >
< / div >
< div ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.linkAccountId == true && response.uiDisplayConfigurations.loanAccount.isHiddenField.createStandingInstruction == true" >
2014-11-20 20:30:09 +00:00
< label ng-show = "loanaccountinfo" > < strong > {{ 'label.heading.savingsLinkage' | translate }}< / strong > < / label >
2015-02-25 14:12:17 +00:00
< / div >
< table ng-show = "loanaccountinfo" ng-show = "previewRepayment" class = "width100" >
2014-11-20 20:30:09 +00:00
< tr >
2015-02-25 14:12:17 +00:00
< td class = "width19" ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.linkAccountId == true" >
2014-11-20 20:30:09 +00:00
< label > {{ 'label.input.linksavings' | translate }}:< / label >
< / td >
2015-02-25 14:12:17 +00:00
< td class = "width31 paddedbottom10" ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.linkAccountId == true" >
2014-11-20 20:30:09 +00:00
< select id = "linkAccountId" ng-model = "formData.linkAccountId"
ng-options="savingaccount.id as savingaccount.productName for savingaccount in loanaccountinfo.accountLinkingOptions" class="form-control width170px"
value="{{savingaccount.id}}">
< option value = "" > {{'label.menu.selectone' | translate}}< / option >
< / select >
< / td >
2015-02-25 14:12:17 +00:00
< td ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.createStandingInstruction == true" >
2014-11-20 20:30:09 +00:00
< label > {{ 'label.input.createStandingInstruction' | translate }}:< / label >
< / td >
2015-02-25 14:12:17 +00:00
< td class = "width31" ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.createStandingInstruction == true" >
2014-11-20 20:30:09 +00:00
< input id = "createStandingInstruction" class = "input-mini-small" type = "checkbox"
ng-model="formData.createStandingInstructionAtDisbursement">< / label >
< / td >
< / tr >
< / table >
2015-02-25 14:12:17 +00:00
2014-11-20 20:30:09 +00:00
< hr ng-show = "loanaccountinfo" / >
2014-03-02 12:09:27 +00:00
< label ng-show = "loanaccountinfo" > < strong > {{ 'label.heading.terms' | translate }}< / strong > < / label >
2014-04-11 05:44:31 +00:00
<!-- <hr class="terms"> -->
2014-11-20 20:30:09 +00:00
2014-03-02 12:09:27 +00:00
< table ng-show = "loanaccountinfo" ng-hide = "previewRepayment" class = "width100" >
2014-01-20 13:04:47 +00:00
< tr >
2014-03-02 12:09:27 +00:00
< td class = "width19" > < label > {{ 'label.input.principal' | translate }} < span
class="required">*< / span > :< / label > < / td >
2014-04-11 05:44:31 +00:00
< td class = "width31 paddedbottom10" >
2015-02-25 14:12:17 +00:00
< input type = "text" class = "form-control" id = "principal" name = "principal" ng-model = "formData.principal"
2014-08-16 06:55:31 +00:00
number-format required late-Validate/> {{loanaccountinfo.currency.displaySymbol}}
2014-03-02 12:09:27 +00:00
< form-validate valattributeform = "newloanaccountform" valattribute = "principal" / >
< / td >
< td class = "width14" > < label > {{ 'label.input.loanterm' | translate }} < span class = "required" > *< / span > :< / label >
< / td >
2014-04-11 05:44:31 +00:00
< td class = "width36 paddedbottom10" >
< input id = "loanTermFrequency" class = "form-control" name = "loanterm" type = "text"
2014-03-02 12:09:27 +00:00
ng-model="formData.loanTermFrequency" required late-Validate/>
2015-02-25 14:12:17 +00:00
< select ng-disabled = "response.uiDisplayConfigurations.loanAccount.isReadOnlyField.loanTermFrequencyType == true" id = "loanTermFrequencyType" class = "form-control" ng-model = "formData.loanTermFrequencyType"
2014-03-02 12:09:27 +00:00
ng-options="termFrequencyType.id as termFrequencyType.value for termFrequencyType in loanaccountinfo.termFrequencyTypeOptions"
value="{{termFrequencyType.id}}"/>
< form-validate valattributeform = "newloanaccountform" valattribute = "loanterm" / >
< / td >
2013-11-19 08:32:43 +00:00
< / tr >
2014-03-02 12:09:27 +00:00
< tr >
2015-02-25 14:12:17 +00:00
< td ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.numberOfRepayments == true" > < label > {{ 'label.input.numofrepayments' | translate }} < span class = "required" > *< / span > < / label >
2014-03-02 12:09:27 +00:00
< / td >
2015-02-25 14:12:17 +00:00
< td class = "paddedbottom10" ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.numberOfRepayments == true" >
2014-04-11 05:44:31 +00:00
< input id = "numberOfRepayments" class = "form-control" name = "numofrepayments" type = "text"
2014-03-02 12:09:27 +00:00
ng-model="formData.numberOfRepayments" required late-Validate/>
< form-validate valattributeform = "newloanaccountform" valattribute = "numofrepayments" / >
2014-01-20 13:04:47 +00:00
< / td >
2015-02-25 14:12:17 +00:00
< td ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.repaymentEvery == true" > < label > {{ 'label.input.repaidevery' | translate }} < span class = "required" > *< / span > < / label > < / td >
< td class = "paddedbottom10 width500px" ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.repaymentEvery == true" >
2014-09-17 03:05:47 +00:00
2014-04-11 05:44:31 +00:00
< input id = "repaymentEvery" class = "form-control" type = "text" name = "repaidevery"
2014-03-02 12:09:27 +00:00
ng-model="formData.repaymentEvery" required late-Validate/>
2014-04-11 05:44:31 +00:00
< select id = "repaymentFrequencyType" class = "form-control" ng-model = "formData.repaymentFrequencyType"
2014-03-02 12:09:27 +00:00
ng-options="repaymentFrequencyType.id as repaymentFrequencyType.value for repaymentFrequencyType in loanaccountinfo.termFrequencyTypeOptions"
2014-09-17 03:05:47 +00:00
value="{{repaymentFrequencyType.id}}"/> < span ng-show = "formData.repaymentFrequencyType == 2" > on< / span >
< select id = "repaymentFrequencyNthDayType" class = "form-control" ng-model = "formData.repaymentFrequencyNthDayType"
ng-options="repaymentFrequencyNthDayType.id as repaymentFrequencyNthDayType.value for repaymentFrequencyNthDayType in loanaccountinfo.repaymentFrequencyNthDayTypeOptions"
ng-show="formData.repaymentFrequencyType == 2"
value="{{repaymentFrequencyNthDayType.id}}"/>
< select id = "repaymentFrequencyDayOfWeekType" class = "form-control" ng-model = "formData.repaymentFrequencyDayOfWeekType"
ng-options="repaymentFrequencyDayOfWeekType.id as repaymentFrequencyDayOfWeekType.value for repaymentFrequencyDayOfWeekType in loanaccountinfo.repaymentFrequencyDaysOfWeekTypeOptions"
ng-show="formData.repaymentFrequencyType == 2"
value="{{repaymentFrequencyDayOfWeekType.id}}"/>
2014-03-02 12:09:27 +00:00
< form-validate valattributeform = "newloanaccountform" valattribute = "repaidevery" / >
2014-01-20 13:04:47 +00:00
< / td >
2014-09-17 03:05:47 +00:00
2014-03-02 12:09:27 +00:00
< / tr >
< tr >
2015-02-25 14:12:17 +00:00
< td ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.repaymentsStartingFromDate == true" >
2014-03-02 12:09:27 +00:00
< label > {{ 'label.input.firstrepaymenton' | translate }}< / label >
2014-12-29 06:42:15 +00:00
< i class = "icon-question-sign" tooltip = "{{'label.tooltip.firstrepaymenton' | translate}}" > < / i >
2014-03-02 12:09:27 +00:00
< / td >
2015-02-25 14:12:17 +00:00
< td class = "paddedbottom10" ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.repaymentsStartingFromDate == true" >
2014-03-02 12:09:27 +00:00
< input id = "repaymentsStartingFromDate" type = "text" datepicker-pop = "dd MMMM yyyy"
2014-04-02 19:42:02 +00:00
ng-model="date.fourth" is-open="opened3" min="minDate" max="'2020-06-22'" class="form-control"/>
2014-03-02 12:09:27 +00:00
< / td >
2015-02-25 14:12:17 +00:00
< td ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.interestChargedFromDate == true" > < label class = "control-label" > {{ 'label.input.interestchargedfrom' | translate }}:< / label >
2014-12-29 06:42:15 +00:00
< i class = "icon-question-sign" tooltip = "{{'label.tooltip.interestchargedfrom' | translate}}" > < / i > < / td >
2015-02-25 14:12:17 +00:00
< td class = "paddedbottom10" ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.interestChargedFromDate == true" >
2014-03-02 12:09:27 +00:00
< input id = "interestChargedFromDate" type = "text" datepicker-pop = "dd MMMM yyyy" ng-model = "date.third"
2014-04-02 19:42:02 +00:00
is-open="opened2" min="minDate" max="'2020-06-22'" class="form-control"/>
2014-03-02 12:09:27 +00:00
< / td >
< / tr >
< tr >
< td > < label > {{ 'label.input.nominalinterestrate' | translate }} < span
class="required">*< / span > < / label > < / td >
2014-04-11 05:44:31 +00:00
< td class = "paddedbottom10" >
< input id = "interestRatePerPeriod" class = "form-control" type = "text" name = "nominalinterestrate"
2014-03-02 12:09:27 +00:00
ng-model="formData.interestRatePerPeriod" required late-Validate/> {{loanaccountinfo.interestRateFrequencyType.value}}
< / td >
2015-02-25 14:12:17 +00:00
< td ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.interestType == true" > < label > {{ 'label.input.interestmethod' | translate }}< / label > < / td >
< td class = "paddedbottom10" ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.interestType == true" >
2014-03-02 12:09:27 +00:00
< select id = "interestType" ng-model = "formData.interestType"
2014-04-11 05:44:31 +00:00
ng-options="interestType.id as interestType.value for interestType in loanaccountinfo.interestTypeOptions" class="form-control width170px"
2014-03-02 12:09:27 +00:00
value="{{interestType.id}}"/>
< / td >
< / tr >
< tr >
2015-02-25 14:12:17 +00:00
< td ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.amortizationType == true" > < label > {{ 'label.input.amortization' | translate }} < span class = "required" > *< / span > :< / label >
2014-03-02 12:09:27 +00:00
< / td >
2015-02-25 14:12:17 +00:00
< td class = "paddedbottom10" ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.amortizationType == true" >
2014-04-11 05:44:31 +00:00
< select id = "amortizationType" ng-model = "formData.amortizationType" class = "form-control width170px"
2014-03-02 12:09:27 +00:00
ng-options="amortizationType.id as amortizationType.value for amortizationType in loanaccountinfo.amortizationTypeOptions"
value="{{amortizationType.id}}"/>
< / td >
2015-02-25 14:12:17 +00:00
< td ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.interestCalculationPeriodType == true" > < label > {{ 'label.input.interestcalculationperiod' | translate }} < span
2014-03-02 12:09:27 +00:00
class="required">*< / span > < / label > < / td >
2015-02-25 14:12:17 +00:00
< td class = "paddedbottom10" ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.interestCalculationPeriodType == true" >
2014-03-02 12:09:27 +00:00
< select id = "interestCalculationPeriodType" ng-model = "formData.interestCalculationPeriodType"
2014-04-11 05:44:31 +00:00
ng-options="interestCalculationPeriodType.id as interestCalculationPeriodType.value for interestCalculationPeriodType in loanaccountinfo.interestCalculationPeriodTypeOptions" class="form-control width170px"
2014-03-02 12:09:27 +00:00
value="{{interestCalculationPeriodType.id}}"/>
< / td >
< / tr >
< tr >
2015-02-25 14:12:17 +00:00
< td ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.inArrearsTolerance == true" > < label > {{ 'label.input.arearstolerance' | translate }}< / label > < / td >
< td class = "paddedbottom10" ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.inArrearsTolerance == true" >
2014-09-11 00:42:00 +00:00
< input id = "inArrearsTolerance" type = "text" ng-model = "formData.inArrearsTolerance" class = "form-control" number-format / > {{loanaccountinfo.currency.displaySymbol}}
2014-03-02 12:09:27 +00:00
< / td >
2015-02-25 14:12:17 +00:00
< td ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.graceOnInterestCharged == true" > < label > {{ 'label.input.interestfreeperiod' | translate }}< / label > < / td >
< td class = "paddedbottom10" ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.graceOnInterestCharged == true" >
2014-04-02 19:42:02 +00:00
< input id = "graceOnInterestCharged" type = "text" ng-model = "formData.graceOnInterestCharged" class = "form-control" / >
2014-03-02 12:09:27 +00:00
< / td >
< / tr >
< tr >
2015-02-25 14:12:17 +00:00
< td ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.transactionProcessingStrategyId == true" > < label > {{ 'label.input.repaymentstrategy' | translate }} < span
2014-03-02 12:09:27 +00:00
class="required">*< / span > < / label > < / td >
2015-02-25 14:12:17 +00:00
< td class = "paddedbottom10" ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.transactionProcessingStrategyId == true" >
2014-03-02 12:09:27 +00:00
< select id = "transactionProcessingStrategyId" ng-model = "formData.transactionProcessingStrategyId"
ng-options="transactionProcessingStrategy.id as transactionProcessingStrategy.name for transactionProcessingStrategy in loanaccountinfo.transactionProcessingStrategyOptions"
2014-04-11 05:44:31 +00:00
value="{{transactionProcessingStrategy.id}}" class="form-control width170px"/>
2014-03-02 12:09:27 +00:00
< / td >
< td colspan = 2 >
2014-12-29 06:42:15 +00:00
< lable > {{'label.input.grace' | translate }}:< / lable >
< i class = "icon-question-sign" tooltip = "{{'label.tooltip.moratorium' | translate}}" > < / i >
< label > {{'label.input.onprincipalpayment' | translate}}< / label >
< input id = "graceOnPrincipalPayment" type = "text" class = "input-mini-small" ng-model = "formData.graceOnPrincipalPayment" >
2015-02-25 14:12:17 +00:00
< label ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.graceOnInterestPayment == true" > {{'label.input.oninterestpayment' | translate}}< / label >
< input ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.graceOnInterestPayment == true" id = "graceOnInterestPayment" type = "text" class = "input-mini-small" ng-model = "formData.graceOnInterestPayment" >
< label ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.graceOnArrearsAgeing == true" > {{'label.input.onduedate' | translate}}< / label >
< input ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenField.graceOnArrearsAgeing == true" id = "graceOnArrearsAgeing" type = "text" class = "input-mini-small" ng-model = "formData.graceOnArrearsAgeing" >
2014-03-12 07:01:19 +00:00
< / td >
2014-03-02 12:09:27 +00:00
< / tr >
2014-07-22 05:07:58 +00:00
< tr >
2015-02-25 14:12:17 +00:00
< td colspan = "4" ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenSection.interestRecalculationSection == true" > < hr > < / td >
2014-07-22 05:07:58 +00:00
< / tr >
2015-02-25 14:12:17 +00:00
< tr ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenSection.interestRecalculationSection == true" >
2014-07-22 05:07:58 +00:00
< td >
< label class = "control-label" > {{ 'label.input.recalculateinterest' | translate }}< / label >
< / td >
< td class = "paddedbottom10" >
< label class = "control-label" > {{ loanaccountinfo.isInterestRecalculationEnabled | YesOrNo }}< / label >
< / td >
< td data-ng-show = "loanaccountinfo.isInterestRecalculationEnabled" >
< label > {{ 'label.input.daysinyears' | translate }}< / label >
2014-12-29 06:42:15 +00:00
< i class = "icon-question-sign" tooltip = "{{'label.tooltip.days' | translate}}" > < / i >
2014-07-22 05:07:58 +00:00
< / td >
< td class = "paddedbottom10" >
< label > {{ loanaccountinfo.daysInYearType.value}}< / label >
< / td >
< / tr >
< tr data-ng-show = "loanaccountinfo.isInterestRecalculationEnabled" >
2015-02-25 14:12:17 +00:00
< td ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenSection.interestRecalculationSection == true" >
2014-09-03 10:53:04 +00:00
< label > {{ 'label.input.interest.recalculation.reschdule.strategy' | translate }}< / label >
2014-07-22 05:07:58 +00:00
< / td >
2015-02-25 14:12:17 +00:00
< td class = "paddedbottom10" ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenSection.interestRecalculationSection == true" >
2014-09-03 10:53:04 +00:00
< label > {{ loanaccountinfo.interestRecalculationData.rescheduleStrategyType.value}}< / label >
2014-07-22 05:07:58 +00:00
< / td >
2015-02-25 14:12:17 +00:00
< td ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenSection.interestRecalculationSection == true" >
2014-07-22 05:07:58 +00:00
< label > {{ 'label.input.daysinmonth' | translate }}< / label >
2014-12-29 06:42:15 +00:00
< i class = "icon-question-sign" tooltip = "{{'label.tooltip.days' | translate}}" > < / i >
2014-07-22 05:07:58 +00:00
< / td >
2015-02-25 14:12:17 +00:00
< td class = "paddedbottom10" ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenSection.interestRecalculationSection == true" >
2014-07-22 05:07:58 +00:00
< label > {{ loanaccountinfo.daysInMonthType.value }}< / label >
< / td >
< / tr >
< tr data-ng-show = "loanaccountinfo.isInterestRecalculationEnabled" >
2015-02-25 14:12:17 +00:00
< td ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenSection.interestRecalculationSection == true" >
2014-07-22 05:07:58 +00:00
< label class = "control-label" > {{ 'label.input.interest.recalculation.compounding.method' | translate }}< / label >
< / td >
2015-02-25 14:12:17 +00:00
< td class = "paddedbottom10" ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenSection.interestRecalculationSection == true" >
2014-07-22 05:07:58 +00:00
< label > {{ loanaccountinfo.interestRecalculationData.interestRecalculationCompoundingType.value}}< / label >
< / td >
2014-09-03 10:53:04 +00:00
2015-02-25 14:12:17 +00:00
< td ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenSection.interestRecalculationSection == true" >
2014-09-03 10:53:04 +00:00
< label class = "control-label" > {{ 'label.input.frequency.for.recalculte.outstanding.principal' |
translate }}< span class = "required" > *< / span > < / label >
2014-07-22 05:07:58 +00:00
< / td >
2015-02-25 14:12:17 +00:00
< td class = "paddedbottom10" ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenSection.interestRecalculationSection == true" >
2014-09-03 10:53:04 +00:00
< label > {{ loanaccountinfo.interestRecalculationData.recalculationRestFrequencyType.value}}< / label >
< / td >
< / tr >
< tr data-ng-show = "loanaccountinfo.isInterestRecalculationEnabled && loanaccountinfo.interestRecalculationData.recalculationRestFrequencyType.id != 1" >
2015-02-25 14:12:17 +00:00
< td ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenSection.interestRecalculationSection == true" >
2014-09-03 10:53:04 +00:00
< label class = "control-label" > {{ 'label.input.frequenc.interval.for.recalculte.outstanding.principal' | translate }}< / label >
< / td >
2015-02-25 14:12:17 +00:00
< td class = "paddedbottom10" ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenSection.interestRecalculationSection == true" >
2014-09-03 10:53:04 +00:00
< label > {{ loanaccountinfo.interestRecalculationData.recalculationRestFrequencyInterval}}< / label >
< / td >
2015-02-25 14:12:17 +00:00
< td ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenSection.interestRecalculationSection == true" >
2014-09-03 10:53:04 +00:00
< label class = "control-label" > {{ 'label.input.frequenc.date.for.recalculte.outstanding.principal' |
translate }}< span class = "required" > *< / span > < / label >
< / td >
2015-02-25 14:12:17 +00:00
< td class = "paddedbottom10" ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenSection.interestRecalculationSection == true" >
2014-09-03 10:53:04 +00:00
< input type = "text" id = "recalculationRestFrequencyDate" name = "recalculationRestFrequencyDate" datepicker-pop = "dd MMMM yyyy"
ng-model="date.recalculationRestFrequencyDate" is-open="opened" min="'2000-01-01'" max="restrictDate" class="form-control"/>
2014-07-22 05:07:58 +00:00
< / td >
< / tr >
2015-02-25 14:12:17 +00:00
2014-01-20 13:04:47 +00:00
< / table >
2014-03-02 12:09:27 +00:00
< div ng-show = "loanaccountinfo" ng-hide = "previewRepayment" >
< div ng-show = "multiDisburseLoan" >
< hr / >
< label > < strong > {{ 'label.heading.tranchedetails' | translate }}< / strong > < / label >
< table class = "width100" >
< tr >
< td class = "width19" > < label > {{ 'label.input.fixedemiamount' | translate }}:< / label > < / td >
2014-04-11 05:44:31 +00:00
< td class = "width31 paddedbottom10" >
2014-09-11 00:42:00 +00:00
< input id = "fixedEmiAmount" type = "text" ng-model = "formData.fixedEmiAmount" class = "form-control" number-format / >
2014-03-02 12:09:27 +00:00
< / td >
< td class = "width14" > < label > {{'label.input.outstandingloanbalance' | translate}}:< / label > < / td >
2014-04-11 05:44:31 +00:00
< td class = "width36 paddedbottom10" >
2014-03-02 12:09:27 +00:00
< input id = "maxOutstandingLoanBalance" type = "text"
2014-09-11 00:42:00 +00:00
ng-model="formData.maxOutstandingLoanBalance" class="form-control" number-format/>
2014-03-02 12:09:27 +00:00
< a title = "{{ 'label.button.addtranch' | translate }}" ng-click = "addTranches()" > < i
class="icon-plus icon-white">< / i > < / a >
< / td >
< / tr >
< / table >
< table class = "table width100" ng-show = "formData.disbursementData.length>0" >
< thead >
< tr class = "graybg" >
< th > {{'label.input.expecteddisbursementon' | translate}}< / th >
< th > {{'label.input.principal' | translate}}< / th >
< th > < / th >
< / tr >
< / thead >
< tbody >
< tr ng-repeat = "disbursementDetail in formData.disbursementData" >
< td >
< input id = "disbursementDetail[{{$index}}].expectedDisbursementDate" type = "text"
datepicker-pop="dd MMMM yyyy"
placeholder="{{'label.input.expecteddisbursementon' | translate}}"
ng-model="disbursementDetail.expectedDisbursementDate"
2014-04-02 19:42:02 +00:00
is-open="'openedtranche'+$index" min="minDate" max="'2020-06-22'" class="form-control"/>
2014-03-02 12:09:27 +00:00
< / td >
< td >
2014-09-11 00:42:00 +00:00
< input id = "{{disbursementDetail[$index].principal}}" class = "input-sm form-control" number-format type = "text"
2014-03-02 12:09:27 +00:00
ng-model="disbursementDetail.principal"
placeholder="{{'label.input.principal' | translate}}">
< / td >
< td > < a ng-click = "deleteTranches($index)" > < i class = "icon-remove icon-white" > < / i > < / a > < / td >
< / tr >
< / tbody >
< / table >
< / div >
< hr / >
2014-04-23 10:23:01 +00:00
< div class = "col-md-12" >
< label > < strong > {{ 'label.heading.charges' | translate }}< / strong > < / label >
< select ng-model = "chargeFormData.chargeId"
2014-07-15 07:27:41 +00:00
ng-options="charge.id as (charge.name + ',' + charge.currency.displaySymbol) for charge in loanaccountinfo.chargeOptions|filter:loanaccountinfo.currency.code:strict"
2014-04-23 10:23:01 +00:00
value="{{charge.id}}" class="form-control width170px">
< option value = "" > {{'label.selectcharge' | translate}}< / option >
< / select >
< a ng-click = "addCharge()" > < i class = "icon-plus icon-white" > < / i > < / a >
< / div >
2014-03-02 12:09:27 +00:00
< table class = "table" class = "width100" ng-show = "charges.length>0" >
< tr class = "graybg" >
< th > {{'label.heading.name' | translate}}< / th >
< th > {{'label.heading.type' | translate}}< / th >
< th > {{'label.heading.amount' | translate}}< / th >
< th > {{'label.heading.collectedon' | translate}}< / th >
< th > {{'label.heading.date' | translate}}< / th >
< th > {{'label.heading.actions' | translate}}< / th >
< / tr >
< tr ng-repeat = "charge in charges" >
< td > {{charge.name}},{{charge.currency.displaySymbol}}< / td >
< td > {{charge.chargeCalculationType.value}}< / td >
2014-04-11 05:44:31 +00:00
< td > < input id = "{{charges[$index].amount}}" class = "form-control" type = "text" ng-model = "charge.amount"
2014-08-16 06:55:31 +00:00
placeholder="{{'label.input.amount' | translate}}" number-format>< / td >
2014-03-02 12:09:27 +00:00
< td > {{charge.chargeTimeType.value}}< / td >
< td >
2014-04-11 05:44:31 +00:00
< input id = "charges[{{$index}}].duedate" type = "text" datepicker-pop = "dd MMMM yyyy" class = "form-control"
2014-03-02 12:09:27 +00:00
placeholder="{{'label.input.duedate' | translate}}" ng-model="charge.dueDate"
is-open="'openedch'+$index" min="minDate" max="'2020-06-22'"/>
< / td >
< td > < a ng-click = "deleteCharge($index)" > < i class = "icon-remove icon-white" > < / i > < / a > < / td >
< / tr >
< / table >
2014-03-26 07:18:30 +00:00
< div ng-show = "loanaccountinfo.overdueCharges.length>0" >
< label > < strong > {{ 'label.heading.overduepenalitycharge' | translate }}< / strong > < / label >
< table class = "table" class = "width100" >
< tr class = "graybg" >
< th > {{'label.heading.name' | translate}}< / th >
< th > {{'label.heading.type' | translate}}< / th >
< th > {{'label.heading.amount' | translate}}< / th >
< th > {{'label.heading.collectedon' | translate}}< / th >
< / tr >
< tr ng-repeat = "charge in loanaccountinfo.overdueCharges" >
< td > {{charge.name}},{{charge.currency.displaySymbol}}< / td >
< td > {{charge.chargeCalculationType.value}}< / td >
< td > {{charge.amount}}< / td >
< td > {{charge.chargeTimeType.value}}< / td >
< / tr >
< / table >
< / div >
2015-02-25 14:12:17 +00:00
< div class = "col-md-12 paddedtop" ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenSection.collateralSection == true" >
2014-04-23 10:23:01 +00:00
< label class = "control-label" > < strong > {{ 'label.heading.collaterals' | translate }}< / strong > < / label >
< select ng-model = "collateralFormData.collateralIdTemplate"
ng-options="collateralTemplate.name for collateralTemplate in collateralOptions"
value="{{collateralTemplate.id}}" class="form-control width170px">
< / select >
< input class = "form-control" type = "text" ng-model = "collateralFormData.collateralValueTemplate"
2014-08-16 06:55:31 +00:00
placeholder="{{'label.input.value' | translate}}" number-format>
2014-04-23 10:23:01 +00:00
< input type = "text" ng-model = "collateralFormData.collateralDescriptionTemplate"
placeholder="{{'label.input.description' | translate}}" class="form-control">
< a ng-click = "addCollateral()" > < i class = "icon-plus icon-white" > < / i > < / a >
< / div >
2015-02-25 14:12:17 +00:00
< div ng-hide = "response.uiDisplayConfigurations.loanAccount.isHiddenSection.collateralSection == true" >
2014-03-02 12:09:27 +00:00
< table class = "table" class = "width100" ng-show = "collaterals.length>0" >
2013-11-19 08:32:43 +00:00
< tr class = "graybg" >
2014-07-11 18:46:27 +00:00
< th > {{'label.heading.type' | translate}}< / th >
2013-11-19 08:32:43 +00:00
< th > {{'label.heading.value' | translate}}< / th >
< th > {{'label.heading.description' | translate}}< / th >
< th > {{'label.heading.actions' | translate}}< / th >
2013-09-16 14:22:30 +00:00
< / tr >
2014-03-02 12:09:27 +00:00
< tr ng-repeat = "collateral in collaterals" >
2014-04-02 19:42:02 +00:00
< td > < input type = "text" class = "input-sm form-control" ng-model = "collateral.name" readonly > < / td >
2014-04-11 05:44:31 +00:00
< td > < input id = "{{collaterals[$index].value}}" type = "text" class = "form-control"
2014-03-02 12:09:27 +00:00
ng-model="collateral.value">< / td >
< td > < input id = "{{collaterals[$index].description}}" type = "text" ng-model = "collateral.description"
2014-04-02 19:42:02 +00:00
placeholder="{{'label.input.description' | translate}}" class="form-control"/>< / td >
2014-03-02 12:09:27 +00:00
< td > < a ng-click = "deleteCollateral($index)" > < i class = "icon-remove icon-white" > < / i > < / a > < / td >
2013-09-16 14:22:30 +00:00
< / tr >
2014-03-02 12:09:27 +00:00
< / table >
2015-02-25 14:12:17 +00:00
< / div >
2014-03-02 12:09:27 +00:00
< / div >
2014-01-20 13:04:47 +00:00
< / div >
2014-03-02 12:09:27 +00:00
< / div >
< br >
2013-11-19 08:32:43 +00:00
2014-03-02 12:09:27 +00:00
< div ng-show = "loanaccountinfo" >
< span > < a ng-hide = "previewRepayment" ng-click = "previewRepayments()" > {{'label.anchor.repaymentinfo' | translate}}< i
class="icon-circle-arrow-right">< / i > < / a > < / span >
< span > < a ng-show = "previewRepayment" ng-click = "previewRepayment=!previewRepayment" > < i class = "icon-circle-arrow-left" > {{'label.anchor.backtoloaninfo'
| translate}}< / i > < / a > < br > < br > < / span >
< / div >
2014-04-11 05:44:31 +00:00
< div >
< table class = "table width100" ng-show = "previewRepayment" >
2014-03-02 12:09:27 +00:00
< thead >
< th colspan = "3" scope = "col" > < / th >
< th colspan = "3" scope = "col" > {{'label.heading.loanamountandbalance' | translate}}< / th >
< th colspan = "2" scope = "col" > {{'label.heading.totalcostofloan' | translate}}< / th >
2014-04-11 05:44:31 +00:00
< th colspan = "2" scope = "col" > < / th >
2014-03-02 12:09:27 +00:00
< / thead >
< tbody >
< tr >
< td > #< / td >
< td > {{'label.heading.date' | translate}}< / td >
< td > {{'label.heading.days' | translate}}< / td >
< td > {{'label.heading.disbursement' | translate}}< / td >
< td > {{'label.heading.principaldue' | translate}}< / td >
< td > {{'label.heading.principalbalance' | translate}}< / td >
< td > {{'label.heading.interestdue' | translate}}< / td >
< td > {{'label.heading.fees' | translate}}< / td >
2014-03-12 13:13:29 +00:00
< td > {{'label.heading.penalty' | translate}}< / td >
2014-03-02 12:09:27 +00:00
< td > {{'label.heading.due' | translate}}< / td >
< / tr >
< tr ng-repeat = "period in repaymentscheduleinfo.periods" >
< td > {{period.period}}< / td >
< td > {{period.dueDate | DateFormat}}< / td >
< td > {{period.daysInPeriod}}< / td >
2014-09-11 22:25:08 +00:00
< td > {{period.principalDisbursed | number}}< / td >
< td > {{period.principalDue| number}}< / td >
< td > {{period.principalLoanBalanceOutstanding| number}}< / td >
< td > {{period.interestDue| number}}< / td >
< td > {{period.feeChargesDue| number}}< / td >
< td > {{period.penaltyChargesDue| number}}< / td >
< td > {{period.totalDueForPeriod| number}}< / td >
2014-03-02 12:09:27 +00:00
< / tr >
< tfoot class = "ui-widget-header" >
< tr >
< td colspan = "2" > {{'label.heading.total' | translate}}< / td >
< td > {{repaymentscheduleinfo.loanTermInDays}}< / td >
2014-09-11 22:25:08 +00:00
< td > {{repaymentscheduleinfo.totalPrincipalDisbursed| number}}< / td >
< td > {{repaymentscheduleinfo.totalPrincipalExpected| number}}< / td >
2014-03-02 12:09:27 +00:00
< td > < / td >
2014-09-11 22:25:08 +00:00
< td > {{repaymentscheduleinfo.totalInterestCharged| number}}< / td >
< td > {{repaymentscheduleinfo.totalFeeChargesCharged| number}}< / td >
< td > {{repaymentscheduleinfo.totalPenaltyChargesCharged| number}}< / td >
< td > {{repaymentscheduleinfo.totalRepaymentExpected| number}}< / td >
2014-03-02 12:09:27 +00:00
< / tr >
< / tfoot >
< / tbody >
< / table >
< / div >
2013-11-19 08:32:43 +00:00
2014-04-02 19:42:02 +00:00
< div class = "col-md-offset-6" >
< button id = "cancel" type = "reset" class = "btn btn-default" ng-click = "cancel()" > {{'label.button.cancel' | translate}}< / button >
2014-03-05 10:53:27 +00:00
< button id = "save" type = "submit" has-permission = 'CREATE_LOAN' class = "btn btn-primary" ng-show = "loanaccountinfo" > {{'label.button.save' |
2014-03-02 12:09:27 +00:00
translate}}
< / button >
< / div >
< / form >
2014-04-02 19:42:02 +00:00
< / div >