From cf205aa8394a63c14410170735e537c80509f975 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 26 Jun 2009 12:53:13 +0000 Subject: [PATCH] Patch level : 10.0 358 Files correlati : cg2.exe Ricompilazione Demo : [ ] Commento Aggiornato conto cliente sulle scadenze git-svn-id: svn://10.65.10.50/trunk@19082 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- cg/cg2104.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cg/cg2104.cpp b/cg/cg2104.cpp index b9589685e..d66c113ad 100755 --- a/cg/cg2104.cpp +++ b/cg/cg2104.cpp @@ -974,6 +974,14 @@ void TPrimanota_application::write_scadenze(const TMask& m) partita.put(PART_CODCAUS, codcaus); partita.put(PART_REG, causale().reg().name()); partita.put(PART_SEZ, sezione); + + if (clifo.gruppo() != partita.get_int(PART_GRUPPOCL) || + clifo.conto() != partita.get_int(PART_CONTOCL)) + { + partita.put(PART_GRUPPOCL, clifo.gruppo()); + partita.put(PART_CONTOCL, clifo.conto()); + } + if (iva() != nessuna_iva) partita.put(PART_PROTIVA, m.get_long(F_PROTIVA));