From 1c64b9db56006ed84ca63024cab97435f311476e Mon Sep 17 00:00:00 2001 From: Luca Consalvi <117908483+lucaconsalvi@users.noreply.github.com> Date: Thu, 12 Dec 2024 10:06:53 +0100 Subject: [PATCH 1/2] fix: Change big decimal visualization (#38) --- .../rtp/activator/service/rtp/SepaRequestToPayMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/it/gov/pagopa/rtp/activator/service/rtp/SepaRequestToPayMapper.java b/src/main/java/it/gov/pagopa/rtp/activator/service/rtp/SepaRequestToPayMapper.java index 36e754e..4047d1f 100644 --- a/src/main/java/it/gov/pagopa/rtp/activator/service/rtp/SepaRequestToPayMapper.java +++ b/src/main/java/it/gov/pagopa/rtp/activator/service/rtp/SepaRequestToPayMapper.java @@ -117,7 +117,7 @@ public SepaRequestToPayRequestResourceDto toRequestToPay(Rtp rtp) { ActiveOrHistoricCurrencyAndAmountEPC25922V30DS02WrapperDto activeOrHistoricCurrencyAndAmountEPC25922V30DS02WrapperDto = new ActiveOrHistoricCurrencyAndAmountEPC25922V30DS02WrapperDto(); activeOrHistoricCurrencyAndAmountEPC25922V30DS02WrapperDto - .setInstdAmt(BigDecimal.valueOf(rtp.amount() / 100)); + .setInstdAmt(BigDecimal.valueOf(rtp.amount(), 2)); Max35TextWrapperDto cdtMax35TextWrapperDto = new Max35TextWrapperDto(); cdtMax35TextWrapperDto.setPrtry("LEI");// FIXED From 84de20fd1b4b34318a7e2ac125ae78a7d83c586a Mon Sep 17 00:00:00 2001 From: GitHub Workflow <> Date: Thu, 12 Dec 2024 09:14:03 +0000 Subject: [PATCH 2/2] Updated with new version 1.6.4 --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 36e9060..c2d75be 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -version=1.6.3 \ No newline at end of file +version=1.6.4 \ No newline at end of file