From cccb8efb76129012122e3baf218498d429966186 Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 1 Aug 2003 09:49:52 +0000 Subject: [PATCH] Patch level : 2.0 546 Files correlati : ve0.exe ve6.exe Ricompilazione Demo : [ ] Commento : MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GF20074 Se cerco di contabilizzare una nota di credito in valuta riferita a una fattura precedente la gestione degli importi nel saldaconto non risulta essere corretta. Vedere sempre nell'area dati di riferimento per l'errore precedente la nota di credito n° 7 riferita alla fattura 6 git-svn-id: svn://10.65.10.50/trunk@11365 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- ve/velib04b.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ve/velib04b.cpp b/ve/velib04b.cpp index ecc313696..8f787a171 100755 --- a/ve/velib04b.cpp +++ b/ve/velib04b.cpp @@ -2674,7 +2674,7 @@ error_type TContabilizzazione::write_scadenze(TDocumento& doc) { TPagamento& pag = doc.pagamento(); - TCurrency_documento totdoc(abs(totdoc), doc); + TCurrency_documento totdoc(abs(doc.totale_doc()), doc); TCurrency_documento totspese(abs(doc.spese()), doc); TCurrency_documento totimposte(abs(doc.imposta(TRUE)), doc); TCurrency_documento totimponibili = totdoc - totspese - totimposte;