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