taxtank-core 0.13.5 → 0.13.6
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/bundles/taxtank-core.umd.js +3 -2
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/db/Enums/property/property-category-list.enum.js +3 -2
- package/esm2015/lib/db/Models/property/property-sale/property-sale.js +1 -1
- package/esm2015/lib/models/property/property.js +2 -2
- package/fesm2015/taxtank-core.js +3 -2
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/db/Enums/property/property-category-list.enum.d.ts +1 -1
- package/lib/db/Models/property/property-sale/property-sale.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3950,7 +3950,8 @@
|
|
|
3950
3950
|
exports.PropertyCategoryListEnum = void 0;
|
|
3951
3951
|
(function (PropertyCategoryListEnum) {
|
|
3952
3952
|
PropertyCategoryListEnum[PropertyCategoryListEnum["OWNER_OCCUPIED"] = 3] = "OWNER_OCCUPIED";
|
|
3953
|
-
|
|
3953
|
+
// @TODO prod use 5
|
|
3954
|
+
PropertyCategoryListEnum[PropertyCategoryListEnum["VACANT_LAND"] = 6] = "VACANT_LAND";
|
|
3954
3955
|
})(exports.PropertyCategoryListEnum || (exports.PropertyCategoryListEnum = {}));
|
|
3955
3956
|
|
|
3956
3957
|
exports.TaxExemptionMetadataEnum = void 0;
|
|
@@ -4153,7 +4154,7 @@
|
|
|
4153
4154
|
if (marketValue) {
|
|
4154
4155
|
return marketValue;
|
|
4155
4156
|
}
|
|
4156
|
-
return this.purchasePrice + this.capitalCostsTotalAmount + sale.structuralImprovementsWDV - sale.buildingAtCostClaimed;
|
|
4157
|
+
return this.purchasePrice + this.capitalCostsTotalAmount + sale.holdingCosts + sale.structuralImprovementsWDV - sale.buildingAtCostClaimed;
|
|
4157
4158
|
};
|
|
4158
4159
|
/**
|
|
4159
4160
|
* gross capital gain tax: sale costs - cost base
|