Skip to content
Snippets Groups Projects
Commit 25f1c08f authored by Cam Saül's avatar Cam Saül
Browse files

Merge pull request #1915 from metabase/metabase-tax-cut

Metabase tax cut :money_with_wings:
parents f4d30f4a 571b5d6d
Branches
Tags
No related merge requests found
No preview for this file type
......@@ -199,9 +199,7 @@
(let [tax-rate (state->tax-rate state)
_ (assert tax-rate
(format "No tax rate found for state '%s'." state))
tax (-> (* price 100.0)
int
(/ 100.0))]
tax (u/round-to-decimals 2 (* price tax-rate))]
{:user_id (:id person)
:product_id (:id product)
:subtotal price
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment