From c6c5e1be288a5090a12657844c42586c18891cfb Mon Sep 17 00:00:00 2001 From: angelo Date: Mon, 3 Feb 1997 14:30:31 +0000 Subject: [PATCH] Correzione MI3542 relativo al raddoppio delle ritenute sul totale documento nel caso di ricezione da PC. Modifica riportata anche sulla R9604. git-svn-id: svn://10.65.10.50/trunk@4111 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- cg/cg6700.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cg/cg6700.cpp b/cg/cg6700.cpp index fb00c0142..42cbfe14c 100755 --- a/cg/cg6700.cpp +++ b/cg/cg6700.cpp @@ -2712,6 +2712,13 @@ void TRic_ListaMov::aggiorna_mov() _tot_doc = _tot_doc * -1; mov.put("TOCFP","X"); } + + // NB In caso di ricezione da sistema ritsoc e ritfis valgono sempre 0 + // quindi in caso di ricezione da PC ripristina il totale documento corretto. + real ritsoc = mov.get(MOV_RITSOC); + real ritfis = mov.get(MOV_RITFIS); + _tot_doc = _tot_doc - ritsoc - ritfis; + mov.put(MOV_TOTDOC, _tot_doc); if (_is_salda) {