taxtank-core 1.0.28 → 1.0.29

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.
@@ -22702,10 +22702,8 @@ class BasReportForm extends AbstractForm {
22702
22702
  // prefill income/expense data based on transactions/depreciations filtered by specified date
22703
22703
  combineLatest([this.get('dateFrom').valueChanges, this.get('dateTo').valueChanges])
22704
22704
  .subscribe(([dateFrom, dateTo]) => {
22705
- const from = clone(dateFrom).setHours(0, 0, 0);
22706
- const to = clone(dateTo).setHours(23, 59, 59);
22707
- const filteredTransactions = transactions.filterByRange('date', from, to);
22708
- const filteredDepreciations = depreciations.filterByRange('date', from, to);
22705
+ const filteredTransactions = transactions.filterByRange('date', dateFrom, dateTo);
22706
+ const filteredDepreciations = depreciations.filterByRange('date', dateFrom, dateTo);
22709
22707
  const incomeTransactions = filteredTransactions.getIncomeTransactions();
22710
22708
  const expenseTransactions = new TransactionCollection(filteredTransactions.getExpenseTransactions().toArray(), filteredDepreciations.toArray());
22711
22709
  // all sole income claimed as 100%