taxtank-core 2.1.52 → 2.1.54

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.
@@ -7197,7 +7197,7 @@ class Transaction extends Transaction$1 {
7197
7197
  * Check if transaction is completely allocated
7198
7198
  */
7199
7199
  isAllocated(allocations) {
7200
- return Math.abs(this.getAllocatedAmount(allocations)) - Math.abs(this.netAmount) >= 0;
7200
+ return Math.abs(this.getAllocatedAmount(allocations)) - Math.abs(this.netAmount) >= -0.01;
7201
7201
  }
7202
7202
  getAllocatedAmount(allocations) {
7203
7203
  return allocations.filterBy('transaction.id', this.id).sumBy('amount');