From 8a1da5026bc725c2a6e7ca710dad0646a03994d6 Mon Sep 17 00:00:00 2001 From: Simone Palacino Date: Wed, 16 Sep 2020 16:16:43 +0200 Subject: [PATCH] Patch level : 12.0 no-patch Files correlati : velib Commento : Correzione --- src/ve/velib04b.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ve/velib04b.cpp b/src/ve/velib04b.cpp index 0523b2470..ed970faef 100755 --- a/src/ve/velib04b.cpp +++ b/src/ve/velib04b.cpp @@ -3009,10 +3009,10 @@ error_type TContabilizzazione::write_scadenze(TDocumento& doc, bool recontabiliz } else { - TCurrency_documento totdoc(abs(totdoc), doc); + TCurrency_documento totdoclit(abs(totdoc), doc); TCurrency_documento totspese(abs(doc.spese()), doc); TCurrency_documento totimposte(abs(doc.imposta(true)), doc); - TCurrency_documento totimponibili = totdoc - totspese - totimposte; + TCurrency_documento totimponibili = totdoclit - totspese - totimposte; if (!cached_causale(head.get(MOV_CODCAUS), head.get_int(MOV_ANNOES)).reverse_charge_pubb()) totimponibili -= totimposte;