Skip to content

Commit

Permalink
fix french TVA rate
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin POCHAT committed May 2, 2024
1 parent 90675d5 commit 23a4284
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ private double getTotalPriceWithoutTax(Order order) {
}

private double getTotalTax(Order order) {
return getTotalPriceWithoutTax(order) * 0.05f;
return getTotalPriceWithoutTax(order) * 0.055f;
}

private Object getTotalPriceWithTax(Order order) {
return getTotalPriceWithoutTax(order) + getTotalTax(order);
}

private float getItemPriceWithoutTax(OrderItem item) {
return item.getUnitPrice() * item.getBatch().getProduct().getNetWeight() / 1.05f;
return item.getUnitPrice() * item.getBatch().getProduct().getNetWeight() / 1.055f;
}

public static class Arguments {
Expand Down

0 comments on commit 23a4284

Please sign in to comment.