Skip to content

Commit

Permalink
BugID: 1367 - Fatturazione elettronica -
Browse files Browse the repository at this point in the history
  • Loading branch information
rpucciarelli committed Sep 16, 2015
1 parent f876fe6 commit b4f86cb
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -240,8 +240,8 @@ public Forward doCompilaFattura(ActionContext context) throws FillException, Bus
try {
CRUDFatturaPassivaElettronicaBP fatturaPassivaElettronicaBP = (CRUDFatturaPassivaElettronicaBP) context.getBusinessProcess();
DocumentoEleTestataBulk bulk = (DocumentoEleTestataBulk) fatturaPassivaElettronicaBP.getModel();
if (bulk.getImportoDocumento() == null) {
fatturaPassivaElettronicaBP.setMessage("Il totale del documento non è valorizzato, il documento deve essere rifiutato!");
if (bulk.getImportoDocumento() == null||bulk.getImportoDocumento() .compareTo(BigDecimal.ZERO)==0) {
fatturaPassivaElettronicaBP.setMessage("Prima di procedere verificare il totale del documento!");
return context.findDefaultForward();
} else if (!bulk.getDocEleIVAColl().isEmpty()){
for(Iterator i=bulk.getDocEleIVAColl().iterator();i.hasNext();)
Expand Down

0 comments on commit b4f86cb

Please sign in to comment.