Skip to content

Commit

Permalink
Merge pull request #84 from CETEN-OpenBar/feature/delete_view_restock
Browse files Browse the repository at this point in the history
fix(front): reset bundle_cost_float_ttc when ttc changed
  • Loading branch information
BaptTF committed May 4, 2024
2 parents 4cf4c69 + 926108f commit bac6781
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 bac6781

Please sign in to comment.