Datepickers using max date with business date

This commit is contained in:
Jose Alberto Hernandez
2022-07-28 17:06:39 +02:00
committed by Arnold Gálovics
parent 753791a078
commit a4b266080b
132 changed files with 268 additions and 42 deletions
@@ -48,6 +48,7 @@ export class ActivateSavingsAccountComponent implements OnInit {
* Creates the activate savings form.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createActivateSavingsAccountForm();
}
@@ -56,6 +56,7 @@ export class AddChargeSavingsAccountComponent implements OnInit {
* Creates the Savings Charge form.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createSavingsChargeForm();
this.buildDependencies();
}
@@ -55,6 +55,7 @@ export class ApplyAnnualFeesSavingsAccountComponent implements OnInit {
* Creates the apply annual fees form.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createApplyAnnualFeesForm();
this.applyCharge();
}
@@ -48,6 +48,7 @@ export class ApproveSavingsAccountComponent implements OnInit {
* Creates the approve savings form.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createApproveSavingsAccountForm();
}
@@ -58,6 +58,7 @@ export class CloseSavingsAccountComponent implements OnInit {
* Creates the close savings form.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createCloseSavingsAccountForm();
this.buildDependencies();
}
@@ -48,6 +48,7 @@ export class PostInterestAsOnSavingsAccountComponent implements OnInit {
* Creates the post interest savings form.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createPostInterestSavingsAccountForm();
}
@@ -48,6 +48,7 @@ export class RejectSavingsAccountComponent implements OnInit {
* Creates the reject savings form.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createRejectSavingsAccountForm();
}
@@ -55,6 +55,7 @@ export class SavingsAccountAssignStaffComponent implements OnInit {
* Creates the savings account assign staff form.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.fieldOfficerData = this.savingsAccountData.fieldOfficerOptions;
this.createSavingsAssignStaffForm();
}
@@ -68,6 +68,7 @@ export class SavingsAccountTransactionsComponent implements OnInit {
* Creates the Saving account transaction form when component loads.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createSavingAccountTransactionForm();
}
@@ -48,6 +48,7 @@ export class SavingsAccountUnassignStaffComponent implements OnInit {
* Creates the savings account unassign staff form.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createSavingsUnassignStaffForm();
}
@@ -48,6 +48,7 @@ export class WithdrawByClientSavingsAccountComponent implements OnInit {
* Creates the withdraw savings form.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createWithdrawSavingsAccountForm();
}