From 23a4284caa848dce00003f36e2a5a34b5be8fea5 Mon Sep 17 00:00:00 2001 From: Benjamin POCHAT Date: Thu, 2 May 2024 21:13:16 +0200 Subject: [PATCH] fix french TVA rate --- .../java/com/localeat/core/domains/pdf/OrderBillService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/localeat/core/domains/pdf/OrderBillService.java b/core/src/main/java/com/localeat/core/domains/pdf/OrderBillService.java index 4475350..538480f 100644 --- a/core/src/main/java/com/localeat/core/domains/pdf/OrderBillService.java +++ b/core/src/main/java/com/localeat/core/domains/pdf/OrderBillService.java @@ -84,7 +84,7 @@ 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) { @@ -92,7 +92,7 @@ private Object getTotalPriceWithTax(Order 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 {