Datepickers using max date with business date
This commit is contained in:
committed by
Arnold Gálovics
parent
753791a078
commit
a4b266080b
+1
@@ -54,6 +54,7 @@ export class ExportTransactionsComponent implements OnInit {
|
||||
|
||||
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createTransactionsReportForm();
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -65,6 +65,7 @@ export class EditTransactionComponent implements OnInit {
|
||||
* Creates the Saving account transaction form when component loads.
|
||||
*/
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createEditTransactionForm();
|
||||
this.editTransactionForm.patchValue({
|
||||
'transactionDate': this.transactionTemplateData.date && new Date(this.transactionTemplateData.date),
|
||||
|
||||
Reference in New Issue
Block a user