From 52b9bc39e81b5ee120fbb4db2bdfd0b08c640bba Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 13 May 2010 15:51:51 +0000 Subject: [PATCH] Patch level : 10.0 738 Files correlati : cg2.exe Ricompilazione Demo : [ ] Commento MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: 0001532: 001982 - Pharmatex - richiamo causali da prima nota è richiesto di poter richiamare, (così come già possibile per le causali a regime iva speciale) qualsiasi causale ad un'altra. Valutare anche la possibilità di concatenare più di 2 causali, controllando che non avvenga un loop di richiamo infinito tra una causale e l'altra. git-svn-id: svn://10.65.10.50/trunk@20448 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- cg/cg2100.cpp | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/cg/cg2100.cpp b/cg/cg2100.cpp index 0e84ac867..6e59ce65d 100755 --- a/cg/cg2100.cpp +++ b/cg/cg2100.cpp @@ -1905,21 +1905,20 @@ void TPrimanota_application::dump_fatt(TConfig& ini, TPartita & game, int rigafa rec.fill_array(); const int lastrow = rec.last(); - dump_rec(ini, rec, r, pref); - for (int rp = rec.first(); rp <= lastrow; rp = rec.succ(rp)) - { - const TRectype & recpag = rec.row(rp); + dump_rec(ini, rec, r, pref); + for (int rp = rec.first(); rp <= lastrow; rp = rec.succ(rp)) + { + const TRectype & recpag = rec.row(rp); - dump_rec(ini, recpag, rp, pref); - } - } - for ( ; ; r++) - { - if (ini.set_paragraph(format("%d,%d", LF_SCADENZE, r+1))) - ini.remove_all(); - else - break; - } + dump_rec(ini, recpag, rp, pref); + } + } + for ( ; ; r++) + { + if (ini.set_paragraph(format("%d,%d", LF_SCADENZE, r+1))) + ini.remove_all(); + else + break; } }