Patch level : 12.0 1174

Files correlati     : sc2.exe

Commento:
I dati di analitica negli estratti conto e nei solleciti non venivano stampati se l'utente non aveva l'autorizzazione all'analitica.
This commit is contained in:
Alessandro Bonazzi 2022-06-26 02:39:58 +02:00
parent 78228faf85
commit 36cd1baf37
2 changed files with 3 additions and 3 deletions

View File

@ -659,7 +659,7 @@ void TEC_array::add_row(const TRiga_partite& row)
{
TString codanal;
if (main_app().has_module(CAAUT))
if (main_app().has_module(CAAUT, CHK_DONGLE))
{
const TString& numregcg = row.get(PART_NREG);
const long numreg = atol(_anal.decode(numregcg));
@ -1456,7 +1456,7 @@ TEC_form::TEC_form(const TEC_mask& m, bool gesval, bool excel)
const int oem = ini_get_int(CONFIG_OEM, "MAIN", "OEM", -1);
if (oem == 0 && main_app().has_module(CAAUT))
if (oem == 0 && main_app().has_module(CAAUT, CHK_DONGLE))
{
TForm_item& codanal = _form->find_field('B', odd_page, PEC_ANALITICA);
codanal.show();

View File

@ -448,7 +448,7 @@ void TESSL_array::add_row(const TRiga_partite& row)
{
TString codanal;
if (main_app().has_module(CAAUT))
if (main_app().has_module(CAAUT, CHK_DONGLE))
{
const TString& numregcg = row.get(PART_NREG);
const long numreg = atol(_anal.decode(numregcg));