correzione calcolo totale documenti iva inclusa
This commit is contained in:
@@ -552,7 +552,7 @@ public class DocOrdCalTotaliRules extends QueryRules {
|
||||
}
|
||||
row.setImportoRiga(importoRiga);
|
||||
|
||||
if ("S".equals(flagIvaInclusa)) {
|
||||
if (flagIvaInclusa) {
|
||||
impRigaIva = DocOrdCalTotaliRules.completeImportoRigaIva(row, cifreDec);
|
||||
//IMPORTO RIGA PER IL CASTELLETTO CONTIENE L'IVA
|
||||
if (!UtilityString.isNullOrEmpty(codAliq)) {
|
||||
@@ -589,7 +589,7 @@ public class DocOrdCalTotaliRules extends QueryRules {
|
||||
if ((sconto5.compareTo(CommonConstants.CENTO) == 0 || sconto6.compareTo(CommonConstants.CENTO) == 0)
|
||||
&& ((percAliq != null && percAliq.compareTo(BigDecimal.ZERO) > 0)
|
||||
|| "OMAGGI".equals(tipoIva))) {
|
||||
if ("S".equals(flagIvaInclusa)) {
|
||||
if (flagIvaInclusa) {
|
||||
valUnt = row.getValUntIva();
|
||||
}
|
||||
importoRiga = qta.multiply(valUnt);
|
||||
|
||||
@@ -123,7 +123,6 @@ public class CambioTipoDocPlanService {
|
||||
doc.getKey().setAllegati(listaAllegati);
|
||||
}
|
||||
|
||||
doc.getKey().setDataCmov(UtilityDate.getTodayWithoutTime());
|
||||
entityList = entityProcessor.processEntityList(cambioTipoDocService.getListaDoc(doc.getKey()), doc.getKey().getUserName(), true, true, true);
|
||||
|
||||
Optional<EntityBase> first = entityList.stream()
|
||||
|
||||
Reference in New Issue
Block a user