taxtank-core 1.0.69 → 1.0.70

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.
@@ -23096,7 +23096,8 @@ function atLeastOneEnabledValidator(arrayName) {
23096
23096
  * Form for import multiple basiq bank accounts
23097
23097
  */
23098
23098
  class BankAccountsImportForm extends AbstractForm {
23099
- static { this.minDate = new FinancialYear(new FinancialYear().year - 1).startDate; }
23099
+ // start of the previous financial year
23100
+ static { this.minDate = new FinancialYear(new Date(new Date().setFullYear(new Date().getFullYear() - 1))).startDate; }
23100
23101
  static { this.maxDate = new FinancialYear(new Date()).endDate; }
23101
23102
  constructor(bankAccounts) {
23102
23103
  super({