taxtank-core 2.0.101 → 2.0.102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24826,7 +24826,7 @@ class BasReportForm extends AbstractForm {
24826
24826
  }
24827
24827
 
24828
24828
  /**
24829
- * Validate date value. Date calue should be in passed dateRange
24829
+ * Validate date value. Date value should be in passed dateRange
24830
24830
  */
24831
24831
  function dateRangeValidator(dateStart, dateEnd) {
24832
24832
  // Avoid timezone hours problem when converts to UTC
@@ -24954,7 +24954,7 @@ class BankAccountsImportForm extends AbstractForm {
24954
24954
  dateRangeValidator(BankAccountsImportForm.minDate, BankAccountsImportForm.maxDate),
24955
24955
  notGreaterThanControlValidator('migrateTo', 'Import transactions to')
24956
24956
  ]),
24957
- migrateTo: new UntypedFormControl(new Date(), [Validators.required, dateRangeValidator(BankAccountsImportForm.minDate, BankAccountsImportForm.maxDate)]),
24957
+ migrateTo: new UntypedFormControl(BankAccountsImportForm.maxDate, [Validators.required, dateRangeValidator(BankAccountsImportForm.minDate, BankAccountsImportForm.maxDate)]),
24958
24958
  bankAccounts: new UntypedFormArray(bankAccounts.map((bankAccount) => new BankAccountImportForm(bankAccount)))
24959
24959
  }, [], {
24960
24960
  validators: [atLeastOneEnabledValidator('bankAccounts')]