Skip to content

Commit

Permalink
BTHAMM-14: Round quotation subtotal amount to 2DP
Browse files Browse the repository at this point in the history
  • Loading branch information
olayiwola-compucorp committed May 1, 2024
1 parent 84daf75 commit 521a5dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@
return;
}

item.subtotal_amount = item.unit_price * item.quantity * ((100 - item.discounted_percentage) / 100) || 0;
item.subtotal_amount = roundTo(item.unit_price * item.quantity * ((100 - item.discounted_percentage) / 100) || 0, 2);
$scope.$emit('totalChange');
validateProductPrice(index);
}
Expand Down

0 comments on commit 521a5dd

Please sign in to comment.