Datepickers using max date with business date
This commit is contained in:
committed by
Arnold Gálovics
parent
753791a078
commit
a4b266080b
+1
@@ -67,6 +67,7 @@ export class AddLoanChargeComponent implements OnInit {
|
||||
* Creates the Loan Charge form.
|
||||
*/
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createLoanChargeForm();
|
||||
this.loanChargeForm.controls.chargeId.valueChanges.subscribe(chargeId => {
|
||||
const chargeDetails = this.loanChargeOptions.find(option => {
|
||||
|
||||
+1
@@ -45,6 +45,7 @@ export class AssignLoanOfficerComponent implements OnInit {
|
||||
* Creates the assign officer form.
|
||||
*/
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createassignOfficerForm();
|
||||
this.loanOfficers = this.dataObject.loanOfficerOptions;
|
||||
}
|
||||
|
||||
+1
@@ -45,6 +45,7 @@ export class CloseAsRescheduledComponent implements OnInit {
|
||||
* Creates the close form.
|
||||
*/
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createCloseForm();
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -55,6 +55,7 @@ export class CreateGuarantorComponent implements OnInit, AfterViewInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createNewGuarantorForm();
|
||||
this.setNewGuarantorDetailsForm();
|
||||
this.buildDependencies();
|
||||
|
||||
+1
@@ -43,6 +43,7 @@ export class DisburseLoanAccountComponent implements OnInit {
|
||||
private settingsService: SettingsService) { }
|
||||
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.setDisbursementToSavingsForm();
|
||||
}
|
||||
|
||||
|
||||
@@ -54,6 +54,7 @@ export class DisburseComponent implements OnInit {
|
||||
* and initialize with the required values
|
||||
*/
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createDisbursementLoanForm();
|
||||
this.setDisbursementLoanDetails();
|
||||
}
|
||||
|
||||
@@ -39,6 +39,7 @@ export class ForeclosureComponent implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createforeclosureForm();
|
||||
this.onChanges();
|
||||
}
|
||||
|
||||
+1
@@ -46,6 +46,7 @@ export class LoanRescheduleComponent implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.codes = this.dataObject.rescheduleReasons;
|
||||
this.setRescheduleLoanForm();
|
||||
}
|
||||
|
||||
+1
@@ -46,6 +46,7 @@ export class LoansAccountCloseComponent implements OnInit {
|
||||
* Creates the close form.
|
||||
*/
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createCloseForm();
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -53,6 +53,7 @@ export class MakeRepaymentComponent implements OnInit {
|
||||
* and initialize with the required values
|
||||
*/
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createRepaymentLoanForm();
|
||||
this.setRepaymentLoanDetails();
|
||||
}
|
||||
|
||||
@@ -58,6 +58,7 @@ export class PrepayLoanComponent implements OnInit {
|
||||
* and initialize with the required values
|
||||
*/
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createprepayLoanForm();
|
||||
this.setPrepayLoanDetails();
|
||||
}
|
||||
|
||||
+1
@@ -53,6 +53,7 @@ export class RecoveryRepaymentComponent implements OnInit {
|
||||
* and initialize with the required values
|
||||
*/
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createRecoveryRepaymentLoanForm();
|
||||
this.setRecoveryRepaymentLoanDetails();
|
||||
}
|
||||
|
||||
@@ -44,6 +44,7 @@ export class RejectLoanComponent implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.setRejectLoanForm();
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -42,6 +42,7 @@ export class WaiveInterestComponent implements OnInit {
|
||||
private route: ActivatedRoute) { }
|
||||
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.setLoanInterestForm();
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -49,6 +49,7 @@ export class WithdrawnByClientComponent implements OnInit {
|
||||
* and initialize with the required values
|
||||
*/
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createWithdrawnByClientLoanForm();
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -45,6 +45,7 @@ export class WriteOffPageComponent implements OnInit {
|
||||
private settingsService: SettingsService) { }
|
||||
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.setWriteOffForm();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user