From 408da1783c93a5d646b3d4c4270845d3bb0a4b1f Mon Sep 17 00:00:00 2001 From: luca Date: Tue, 1 Dec 2009 11:09:50 +0000 Subject: [PATCH] =?UTF-8?q?Patch=20level=20=20=20=20=20=20=20=20=20:10.0?= =?UTF-8?q?=20Files=20correlati=20=20=20=20=20:=20Ricompilazione=20Demo=20?= =?UTF-8?q?:=20[=20]=20Commento=20=20=20=20=20=20=20=20=20=20=20=20:corret?= =?UTF-8?q?to=20metodo=20di=20filtraggio=20sui=20tipi=20movimento=20nella?= =?UTF-8?q?=20stampa=20movimenti=20di=20analitica;=20non=20selezionava=20q?= =?UTF-8?q?uelli=20normali=20in=20quanto=20si=20aspettava=20tipomov=20=3D?= =?UTF-8?q?=20'N'=20mentre=20=C3=A8=20=3D=20''?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://10.65.10.50/trunk@19692 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- ca/ca3100.cpp | 6 +++++- ca/ca3100.uml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ca/ca3100.cpp b/ca/ca3100.cpp index ad3ccccf2..c4dd1dbb9 100755 --- a/ca/ca3100.cpp +++ b/ca/ca3100.cpp @@ -190,7 +190,11 @@ bool TPrint_movimenti_ca_recordset::valid_record(const TRelation& rel) const if (_tipomov > ' ') { - const char tipomov = mov.get_char(MOVANA_TIPOMOV); + char tipomov = mov.get_char(MOVANA_TIPOMOV); + //attenzione! i movimenti normali non hanno 'N' in TIPOMOV, ma solo il carattere terminatore di stringa! + //quindi se il valore di TIPOMOV è < spazio -> il movimento è di tipo normale + if (tipomov <= ' ') + tipomov = 'N'; if (tipomov != _tipomov) return false; } diff --git a/ca/ca3100.uml b/ca/ca3100.uml index a7ba442ef..652c6849f 100755 --- a/ca/ca3100.uml +++ b/ca/ca3100.uml @@ -148,7 +148,7 @@ BEGIN ITEM "N|Normale" ITEM "P|Preventivo" ITEM "V|Variazione preventivo" - ITEM "T|Temporaneo" + ITEM "T|Trasferito" END SPREADSHEET F_RIGHE -1 -1