From 2673b8004566ab5ca28ab3b15d1c73d3966b1368 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 28 Oct 1996 10:38:47 +0000 Subject: [PATCH] Correzzioni a IVA e contratti clienti git-svn-id: svn://10.65.10.50/trunk@3831 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- ve/sconti.cpp | 2 +- ve/velib01.cpp | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ve/sconti.cpp b/ve/sconti.cpp index 58e4e40ec..fd6abac43 100755 --- a/ve/sconti.cpp +++ b/ve/sconti.cpp @@ -182,7 +182,7 @@ bool TCond_vendita::cerca( int tiporicerca ) if (codcont.empty()) return FALSE; _condv.put("TIPO", "C"); - if(config_ditta().get_bool("GESSCONCC", "ve")) + if(config_ditta().get_bool("GESCONCC", "ve")) { _condv.put("TIPOCF", clifo().tipocf()); _condv.put("CODCF", clifo().codcf()); diff --git a/ve/velib01.cpp b/ve/velib01.cpp index 1a8b5dac9..ec4e8ed82 100755 --- a/ve/velib01.cpp +++ b/ve/velib01.cpp @@ -213,10 +213,8 @@ HIDDEN bool iva_handler( TMask_field& f, KEY key ) const TString16 codiva = mask.condv().clifo().get(LF_CFVEN, "ASSFIS"); if (codiva.not_empty()) - { f.set(codiva); - f.check(); - } + f.check(); } return TRUE; }