Skip to content

Commit

Permalink
Merge branch 'main' into PRDP-171-read-psp-config-from-local-file
Browse files Browse the repository at this point in the history
  • Loading branch information
pasqualespica authored Oct 17, 2023
2 parents d623a89 + 64e557e commit e4b8c7e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: pagopareceiptpdfgenerator
description: Microservice description
type: application
version: 0.84.0
appVersion: 1.3.9-PRDP-171-read-psp-config-from-local-file
version: 0.85.0
appVersion: 1.3.9-1
dependencies:
- name: microservice-chart
version: 2.4.0
Expand Down
2 changes: 1 addition & 1 deletion helm/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-receipt-pdf-generator
tag: "1.3.9-PRDP-171-read-psp-config-from-local-file"
tag: "1.3.9-1"
pullPolicy: Always
# https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs
livenessProbe:
Expand Down
2 changes: 1 addition & 1 deletion helm/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-receipt-pdf-generator
tag: "1.3.9-PRDP-171-read-psp-config-from-local-file"
tag: "1.3.9-1"
pullPolicy: Always
# https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs
livenessProbe:
Expand Down
2 changes: 1 addition & 1 deletion helm/values-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-receipt-pdf-generator
tag: "1.3.9-PRDP-171-read-psp-config-from-local-file"
tag: "1.3.9-1"
pullPolicy: Always
# https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs
livenessProbe:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>it.gov.pagopa.receipt</groupId>
<artifactId>receipt-pdf-generator</artifactId>
<version>1.3.9-PRDP-171-read-psp-config-from-local-file</version>
<version>1.3.9-1</version>
<packaging>jar</packaging>

<name>pagopa-receipt-pdf-generator</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public static String getAmount(BizEvent event) {
event.getTransactionDetails().getTransaction() != null &&
event.getTransactionDetails().getTransaction().getAmount() != 0L) {
// Amount in transactionDetails is defined in cents (es. 25500 not 255.00)
return currencyFormat(String.valueOf(event.getTransactionDetails().getTransaction().getAmount() / 100.00));
return currencyFormat(String.valueOf(event.getTransactionDetails().getTransaction().getGrandTotal() / 100.00));
}

return event.getPaymentInfo() != null ? currencyFormat(event.getPaymentInfo().getAmount()) : null;
Expand Down
Binary file modified src/main/resources/template.zip
Binary file not shown.

0 comments on commit e4b8c7e

Please sign in to comment.