Datepickers using max date with business date
This commit is contained in:
committed by
Arnold Gálovics
parent
753791a078
commit
a4b266080b
+1
@@ -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 || '');
|
||||
}
|
||||
|
||||
+1
@@ -48,6 +48,7 @@ export class ApproveSharesAccountComponent implements OnInit {
|
||||
* Creates the approve shares form.
|
||||
*/
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createApproveSharesAccountForm();
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -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 || '');
|
||||
}
|
||||
|
||||
+1
@@ -48,6 +48,7 @@ export class RejectSharesAccountComponent implements OnInit {
|
||||
* Creates the reject shares form.
|
||||
*/
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createRejectSharesAccountForm();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user