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 ActivateSharesAccountComponent implements OnInit {
* Creates the activate shares form.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createActivateSharesAccountForm();
}
@@ -56,6 +56,7 @@ export class ApplySharesComponent implements OnInit {
* in clients view upon using a common resolver.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createApplySharesAccountForm();
this.applySharesForm.get('unitPrice').patchValue(this.sharesAccountData.currentMarketPrice || '');
}
@@ -48,6 +48,7 @@ export class ApproveSharesAccountComponent implements OnInit {
* Creates the approve shares form.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createApproveSharesAccountForm();
}
@@ -48,6 +48,7 @@ export class CloseSharesAccountComponent implements OnInit {
* Creates the close shares form.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createCloseSharesAccountForm();
}
@@ -56,6 +56,7 @@ export class RedeemSharesComponent implements OnInit {
* in clients view upon using a common resolver.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createRedeemSharesAccountForm();
this.redeemSharesForm.get('unitPrice').patchValue(this.sharesAccountData.currentMarketPrice || '');
}
@@ -48,6 +48,7 @@ export class RejectSharesAccountComponent implements OnInit {
* Creates the reject shares form.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createRejectSharesAccountForm();
}