taxtank-core 3.0.12 → 3.0.14
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.
- package/fesm2022/taxtank-core.mjs +24 -13
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/index.d.ts +4 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -4656,7 +4656,7 @@ declare class Transaction extends Transaction$1 implements Expense {
|
|
|
4656
4656
|
/**
|
|
4657
4657
|
* @TODO claimAmount from backend shouldn't include share%(sharedClaimAmount should), the method is workaround
|
|
4658
4658
|
*/
|
|
4659
|
-
get
|
|
4659
|
+
get grossClaim(): number;
|
|
4660
4660
|
}
|
|
4661
4661
|
|
|
4662
4662
|
declare class AllocationRule extends AllocationRule$1 {
|
|
@@ -10615,8 +10615,7 @@ declare abstract class PropertyReportItem extends AbstractModel {
|
|
|
10615
10615
|
* Class with depreciation-based property transactions report entities
|
|
10616
10616
|
*/
|
|
10617
10617
|
declare class PropertyReportItemDepreciation extends PropertyReportItem {
|
|
10618
|
-
|
|
10619
|
-
constructor(depreciations: DepreciationCollection, property: Property$1, chartAccounts: ChartAccounts);
|
|
10618
|
+
constructor(depreciations: DepreciationCollection, property: Property$1, chartAccounts: ChartAccounts, dateRange: Date[]);
|
|
10620
10619
|
get claimAmount(): number;
|
|
10621
10620
|
}
|
|
10622
10621
|
|
|
@@ -11814,7 +11813,7 @@ declare class DepreciationCollection extends TransactionBaseCollection<Depreciat
|
|
|
11814
11813
|
getClaimAmountByYear(year?: number): number;
|
|
11815
11814
|
getCloseBalanceByYear(year?: number): number;
|
|
11816
11815
|
getForecasts(): DepreciationForecastCollection;
|
|
11817
|
-
getCurrentYearForecastAmount(): number;
|
|
11816
|
+
getCurrentYearForecastAmount(dateRange?: Date[]): number;
|
|
11818
11817
|
get closeBalance(): number;
|
|
11819
11818
|
getByPropertiesIds(ids: number[]): DepreciationCollection;
|
|
11820
11819
|
getWithCapitalProject(): DepreciationCollection;
|
|
@@ -11957,7 +11956,7 @@ declare class PropertyReportItemCollection extends Collection<PropertyReportItem
|
|
|
11957
11956
|
* Collection to work with depreciation-based property report items
|
|
11958
11957
|
*/
|
|
11959
11958
|
declare class PropertyReportItemDepreciationCollection extends PropertyReportItemCollection {
|
|
11960
|
-
constructor(depreciations: DepreciationCollection, properties: PropertyCollection, chartAccounts: Collection<ChartAccounts
|
|
11959
|
+
constructor(depreciations: DepreciationCollection, properties: PropertyCollection, chartAccounts: Collection<ChartAccounts>, dateRange: Date[]);
|
|
11961
11960
|
private setItems;
|
|
11962
11961
|
}
|
|
11963
11962
|
|