Patch level : 12.00 1404
Files correlati : ve01.exe fp01.exe Commento : eliminati check moduli
This commit is contained in:
parent
86eaaab96b
commit
cce605d220
@ -342,11 +342,10 @@ TDocumento_mask::TDocumento_mask(const char* td, short cust_height)
|
||||
}
|
||||
}
|
||||
}
|
||||
// if (main_app().has_module(CTAUT, CHK_DONGLE) || main_app().has_module(PAAUT, CHK_DONGLE))
|
||||
{
|
||||
if (_ges_ca && id2pos(F_CUP) > 0) // Se gestisco l'analtica ...
|
||||
{
|
||||
TLocalisamfile cfcms(LF_CFCMS);
|
||||
|
||||
if (cfcms.first() == NOERR) // ... ed i clienti per commessa (alias sono Dinamica)
|
||||
{
|
||||
// Allora impongo la scelta di CIG e CUP in base alla commessa
|
||||
@ -422,15 +421,11 @@ TDocumento_mask::TDocumento_mask(const char* td, short cust_height)
|
||||
bgd->copy_output(bg);
|
||||
bgd->set_insert("Rca0 -5");
|
||||
}
|
||||
show(F_PATIPOCON);
|
||||
enable(F_PATIPOCON);
|
||||
show(F_PACONTRATTO);
|
||||
enable(F_PACONTRATTO);
|
||||
}
|
||||
}
|
||||
/* else
|
||||
{
|
||||
hide(F_CUP);
|
||||
hide(F_DESCRCUP);
|
||||
hide(F_CIG);
|
||||
hide(F_DESCRCIG);
|
||||
}*/
|
||||
|
||||
const bool gesoff = cfg.get_bool("GES", "ve", 3);
|
||||
enable(F_CODCAMP, gesoff);
|
||||
|
||||
@ -2253,9 +2253,6 @@ bool TDocumento::add_allegati(TXmlItem & body)
|
||||
|
||||
if (get_fp_bool_var(FP_ALLEG_FAT))
|
||||
{
|
||||
if (!dongle().active(RSAUT))
|
||||
get_xml_log()->log(1, "Impossibile generare la fattura, il modulo RS non abilitato!");
|
||||
else
|
||||
if (!tipo().main_print_profile(rep, 2))
|
||||
get_xml_log()->log(1, "Impossibile generare la fattura, non disponibile un profilo di stampa per questo tipo documento!");
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user