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.
@@ -3950,7 +3950,8 @@
3950
3950
  exports.PropertyCategoryListEnum = void 0;
3951
3951
  (function (PropertyCategoryListEnum) {
3952
3952
  PropertyCategoryListEnum[PropertyCategoryListEnum["OWNER_OCCUPIED"] = 3] = "OWNER_OCCUPIED";
3953
- PropertyCategoryListEnum[PropertyCategoryListEnum["VACANT_LAND"] = 5] = "VACANT_LAND";
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