Patch level : 12.0 848
Files correlati : cg2.exe cg2100t.msk Commento : - Modificati campi nela maschera per ricerca - Modificato il riporta dati per riportare dati il codice cliente
This commit is contained in:
parent
8aafd83092
commit
c08168c305
@ -312,18 +312,18 @@ void set_periodprec(bool flag)
|
|||||||
|
|
||||||
bool check_causale(const TString& cod_caus, bool acq)
|
bool check_causale(const TString& cod_caus, bool acq)
|
||||||
{
|
{
|
||||||
return
|
return cod_caus.full() && (
|
||||||
check_causale(cod_caus, "FA", acq) ||
|
check_causale(cod_caus, "FA", acq) ||
|
||||||
check_causale(cod_caus, "BD", acq) ||
|
check_causale(cod_caus, "BD", acq) ||
|
||||||
check_causale(cod_caus, "AF", acq) ||
|
check_causale(cod_caus, "AF", acq) ||
|
||||||
check_causale(cod_caus, "FF", acq) ||
|
check_causale(cod_caus, "FF", acq) ||
|
||||||
check_causale(cod_caus, "NC", acq) ||
|
check_causale(cod_caus, "NC", acq) ||
|
||||||
check_causale(cod_caus, "ND", acq);
|
check_causale(cod_caus, "ND", acq));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool check_causale(const TString& cod_caus, const TString& tipo_doc, bool acq)
|
bool check_causale(const TString& cod_caus, const TString& tipo_doc, bool acq)
|
||||||
{
|
{
|
||||||
const TCausale caus(cod_caus);
|
const TCausale& caus = cached_causale(cod_caus);
|
||||||
|
|
||||||
if(tipo_doc == "FA" || tipo_doc == "BD" || tipo_doc == "AF" || tipo_doc == "FF")
|
if(tipo_doc == "FA" || tipo_doc == "BD" || tipo_doc == "AF" || tipo_doc == "FF")
|
||||||
return caus.tipo_doc() == tipo_doc;
|
return caus.tipo_doc() == tipo_doc;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user