taxtank-core 3.0.4 → 3.0.5
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 +6 -1
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/package.json +1 -1
- package/index.d.ts.map +0 -1
|
@@ -8812,6 +8812,7 @@ class MyTaxEstimate {
|
|
|
8812
8812
|
const medicareLevy = medicareReportItem.details.findBy('name', 'Medicare Levy (based on single)').amount;
|
|
8813
8813
|
const medicareLevySurcharge = medicareReportItem.details.findBy('name', 'Medicare Levy Surcharge').amount;
|
|
8814
8814
|
const taxCredits = summarySection.items.findBy('taxReturnCategory.id', TaxReturnCategoryListEnum.TAX_CREDITS).amount;
|
|
8815
|
+
const studentLoanRepayment = grossTaxPayableReportItem.items.findBy('taxReturnCategory.id', TaxReturnCategoryListEnum.STUDENT_LOAN_REPAYMENT).amount;
|
|
8815
8816
|
const taxOffsets = this.getTaxOffsets(taxOffsetsReportItem.amount, lowMiddleIncomeTaxOffsets);
|
|
8816
8817
|
return plainToClass(MyTaxEstimate, {
|
|
8817
8818
|
taxableIncome: summarySection.netAmount,
|
|
@@ -8819,10 +8820,14 @@ class MyTaxEstimate {
|
|
|
8819
8820
|
lowMiddleIncomeTaxOffsets,
|
|
8820
8821
|
taxPayable,
|
|
8821
8822
|
medicareLevy,
|
|
8823
|
+
studentLoanRepayment,
|
|
8822
8824
|
medicareLevySurcharge,
|
|
8823
8825
|
taxCredits,
|
|
8824
8826
|
taxOffsets,
|
|
8825
|
-
|
|
8827
|
+
/**
|
|
8828
|
+
@todo: Vik move sum to backend?
|
|
8829
|
+
*/
|
|
8830
|
+
netRefund: taxSummary.projectedTaxPosition + studentLoanRepayment,
|
|
8826
8831
|
percentageOfTaxPaid: taxSummary.taxPercent
|
|
8827
8832
|
});
|
|
8828
8833
|
}
|