From c1684f3396288d916d2d18ba3b99e6b5690e648e Mon Sep 17 00:00:00 2001 From: luca83 Date: Mon, 26 Apr 2010 13:59:15 +0000 Subject: [PATCH] =?UTF-8?q?Patch=20level=20=20=20=20=20=20=20=20=20:=2010.?= =?UTF-8?q?0=20patch=2071=3F=20Files=20correlati=20=20=20=20=20:=20lv2=20R?= =?UTF-8?q?icompilazione=20Demo=20:=20[=20]=20Commento=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20:=20aggiunta=20una=20rewrite=20le=20file=20de?= =?UTF-8?q?i=20pacchi=20dopo=20l=C3=ACannullamento=20di=20uno=20degli=20st?= =?UTF-8?q?essi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://10.65.10.50/trunk@20377 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- lv/lv2900.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lv/lv2900.cpp b/lv/lv2900.cpp index 28708890f..b87a3e43f 100755 --- a/lv/lv2900.cpp +++ b/lv/lv2900.cpp @@ -778,7 +778,7 @@ void TConta_pulito_msk::prepara_movimenti(const TFilename& file, TAssoc_array& m real quantita = rp.quantita(); - //se il pacco risulta annullato, storno la quiantità + //se il pacco risulta annullato, storno la quantità bool annullato = rp.is_annullato(); if(annullato) quantita = - quantita; @@ -817,6 +817,7 @@ void TConta_pulito_msk::prepara_movimenti(const TFilename& file, TAssoc_array& m if(annullato) rp.remove(pacchi); } + pacchi.rewrite(); } //GENERA_MOVMAG: metodo che genera i movimenti di magazzino dai pacchi