taxtank-core 1.0.58 → 1.0.60
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.
@@ -15641,7 +15641,8 @@ class TaxSummary {
|
|
15641
15641
|
get workTaxCredits() {
|
15642
15642
|
const taxWithheld = this.summary.items.sumByCategoriesAndSection(TAX_RETURN_CATEGORIES.work.taxWithheld, TaxSummarySectionEnum.WORK_TANK);
|
15643
15643
|
const taxInstallments = this.summary.items.sumByCategoriesAndSection([TaxReturnCategoryListEnum.WORK_TAX_INSTALMENTS], TaxSummarySectionEnum.SUMMARY);
|
15644
|
-
|
15644
|
+
const frankingCredits = this.summary.items.sumByCategoriesAndSection([TaxReturnCategoryListEnum.FRANKING_CREDITS], TaxSummarySectionEnum.WORK_TANK);
|
15645
|
+
return taxWithheld + taxInstallments + frankingCredits;
|
15645
15646
|
}
|
15646
15647
|
get soleTaxCredits() {
|
15647
15648
|
const taxOffsets = this.summary.items.sumByCategoriesAndSection([TaxReturnCategoryListEnum.TAX_OFFSETS_SOLE], TaxSummarySectionEnum.SOLE_TANK);
|
@@ -15665,9 +15666,8 @@ class TaxSummary {
|
|
15665
15666
|
...TAX_RETURN_CATEGORIES.property.depreciation,
|
15666
15667
|
...TAX_RETURN_CATEGORIES.sole.expenses,
|
15667
15668
|
...TAX_RETURN_CATEGORIES.sole.depreciation,
|
15668
|
-
...TAX_RETURN_CATEGORIES.sole.loss,
|
15669
15669
|
...TAX_RETURN_CATEGORIES.holdings.expenses,
|
15670
|
-
]);
|
15670
|
+
]) - this.soleLossesApplied;
|
15671
15671
|
}
|
15672
15672
|
get taxCredits() {
|
15673
15673
|
return this.summary.items.sumByCategoriesAndSection(TAX_RETURN_CATEGORIES.summary.taxCredits, TaxSummarySectionEnum.SUMMARY);
|
@@ -15678,10 +15678,10 @@ class TaxSummary {
|
|
15678
15678
|
+ this.workDepreciations;
|
15679
15679
|
}
|
15680
15680
|
get netCash() {
|
15681
|
-
return this.
|
15681
|
+
return this.netTotal + this.taxCredits - this.depreciation;
|
15682
15682
|
}
|
15683
15683
|
get netTotal() {
|
15684
|
-
return this.
|
15684
|
+
return this.income + this.expense;
|
15685
15685
|
}
|
15686
15686
|
/**
|
15687
15687
|
* Work Net Total = Income - expenses - interest
|