From 061657d9bd2a0240d12e616dc97e04056f286224 Mon Sep 17 00:00:00 2001 From: Gauthier LO Date: Wed, 30 Aug 2023 15:30:26 +0200 Subject: [PATCH] fix: digit format in invoices --- .../modules/business/domain/invoice/InvoiceStyleFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/business/domain/invoice/InvoiceStyleFactory.java b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/business/domain/invoice/InvoiceStyleFactory.java index cdb61645d..64f07119a 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/business/domain/invoice/InvoiceStyleFactory.java +++ b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/business/domain/invoice/InvoiceStyleFactory.java @@ -92,7 +92,7 @@ public class InvoiceStyleFactory { rightSideDecimalStyle.setVerticalAlignment(VerticalAlignment.CENTER); // decimal // DataFormat format =workbook.createDataFormat(); - leftSideStyle.setDataFormat(creationHelper.createDataFormat().getFormat("#,##0.00")); + rightSideDecimalStyle.setDataFormat(creationHelper.createDataFormat().getFormat("#,##0.00")); // font Font font = workbook.createFont(); font.setFontName("Arial");