Skip to content

Commit

Permalink
Aggiunta gestione del nuovo stato RT_ERRORE_INVIO_A_PA
Browse files Browse the repository at this point in the history
  • Loading branch information
nardil committed Sep 11, 2019
1 parent dc287dd commit a3c4918
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions jars/core/src/main/java/it/govpay/core/utils/RptUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ public static boolean aggiornaRptDaNpD(Intermediario intermediario, Rpt rpt, Bas
case RT_ESITO_SCONOSCIUTO_PA:
case RT_RIFIUTATA_PA:
case RT_ACCETTATA_PA:
case RT_ERRORE_INVIO_A_PA:
case RPT_ANNULLATA:

log.info("Richiesta dell'RT al Nodo dei Pagamenti [Dominio:" + rpt.getCodDominio() + " IUV:" + rpt.getIuv() + " CCP:" + rpt.getCcp() + "].");
Expand Down
3 changes: 3 additions & 0 deletions jars/orm-beans/src/main/java/it/govpay/model/Rpt.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ public class Rpt extends BasicModel{
stati_pendenti.add(StatoRpt.RT_ACCETTATA_NODO);
stati_pendenti.add(StatoRpt.RT_RIFIUTATA_PA);
stati_pendenti.add(StatoRpt.RT_ESITO_SCONOSCIUTO_PA);
stati_pendenti.add(StatoRpt.RT_ERRORE_INVIO_A_PA);
stati_pendenti.add(StatoRpt.INTERNO_NODO);
}

public enum FirmaRichiesta {
Expand Down Expand Up @@ -146,6 +148,7 @@ public enum StatoRpt {
RT_ACCETTATA_PA,
RT_RIFIUTATA_PA,
RT_ESITO_SCONOSCIUTO_PA,
RT_ERRORE_INVIO_A_PA,
INTERNO_NODO;

public static StatoRpt toEnum(String s) {
Expand Down

0 comments on commit a3c4918

Please sign in to comment.