Skip to content

Commit

Permalink
fix(front): reset bundle_cost_float_ttc when ttc changed
Browse files Browse the repository at this point in the history
  • Loading branch information
BaptTF committed May 1, 2024
1 parent ed1d6fe commit 926108f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/routes/panel/products/reappro/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@
);
// @ts-ignore
newItem.bundle_cost_ttc = parsePrice(e.target?.value);
newItem.bundle_cost_float_ttc = 0.0;
let r = formatPrice(newItem.bundle_cost_ttc);
displayedValues.bundle_cost_ttc = r;
displayedValues.bundle_cost_ht = formatPrice(newItem.bundle_cost_ht);
Expand Down

0 comments on commit 926108f

Please sign in to comment.