Patch level : 10.0 276

Files correlati     :  cg0.exe
Ricompilazione Demo : [ ]
Commento            :

Bug : 0001211

 	 in inserimento dell'anagrafico chiede obbligatoriamente il codice fiscale e la partita iva anche se si tratta di un cliente o fornitore estero.


git-svn-id: svn://10.65.10.50/trunk@18630 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2009-03-27 14:39:28 +00:00
parent 71790b83b9
commit 74aa4ee3c3

View File

@ -317,7 +317,7 @@ HIDDEN bool _xt_pi_val(TMask_field& f, KEY key)
return f.error_box(TR("Partita IVA obbligatoria"));
if (!_pi_val(f, key))
return false;
return true;
const TString& stato = get_fld_val_param(f, 0);
if (stato.blank() || stato == "IT")
@ -366,7 +366,7 @@ HIDDEN bool _xt_cf_val(TMask_field& f, KEY key)
TString16 cf = f.get();
if (cf.blank())
return f.error_box(TR("Codice fiscale obbligatorio"));
return true;
if (!_cf_val(f, key))
return false;