taxtank-core 0.33.22 → 0.33.24

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.33.22",
3
+ "version": "0.33.24",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^17.0.0",
@@ -3,6 +3,5 @@ import { TransactionReportItem } from '../../../models/report';
3
3
  import { TransactionCollection } from '../../transaction';
4
4
  export declare class TransactionReportItemCollection extends Collection<TransactionReportItem> {
5
5
  static fromTransactions(transactions: TransactionCollection, priorTransactions: TransactionCollection): TransactionReportItemCollection;
6
- get months(): number[];
7
6
  sumBy(path: string, abs?: boolean): number;
8
7
  }
@@ -1,9 +1,8 @@
1
1
  import { TransactionCollection } from '../../../collections';
2
- import { TankTypeEnum } from '../../../db/Enums/tank-type.enum';
2
+ import { ChartAccountsCategoryEnum } from '../../../db/Enums';
3
3
  export declare class TransactionReportItem {
4
- tankType: TankTypeEnum;
5
- category: string;
6
- months: number[];
4
+ category: ChartAccountsCategoryEnum;
5
+ name: string;
7
6
  amount: number;
8
7
  claimAmount: number;
9
8
  priorAmount: number;
@@ -1,8 +1,6 @@
1
- import { TaxReturnCategory } from '../../db/Models/tax-return/tax-return-category';
1
+ import { AbstractModel, TaxReturnCategory } from '../../db/Models';
2
2
  import { ReportItemDetails } from './report-item-details';
3
- import { ReportItemCollection } from '../../collections/tax-summary/report-item.collection';
4
- import { AbstractModel } from '../../db/Models/abstract-model';
5
- import { Collection } from '../../collections/collection';
3
+ import { Collection, ReportItemCollection } from '../../collections';
6
4
  /**
7
5
  * @Todo no base model - should be generated on backend side
8
6
  * Used in tax summary reports to show amounts relating to a tax return category entity and details of what this
@@ -1,5 +1,5 @@
1
1
  import { TaxSummarySectionEnum } from '../../db/Enums/tax-summary-section.enum';
2
- import { ReportItemCollection } from '../../collections/tax-summary/report-item.collection';
2
+ import { ReportItemCollection } from '../../collections';
3
3
  /**
4
4
  * Base class for each sections of Tax Summary report, contains common properties/methods
5
5
  * See also TaxSummary model