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
@@ -70,6 +70,7 @@ export class EditStandingInstructionsComponent implements OnInit {
* Creates and sets the edit standing instructions form.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createEditStandingInstructionsForm();
const presentDate = new Date();
const n = presentDate.getFullYear();