Merge branch 'R_10_00' of http://10.65.20.33/sirio/CAMPO/campo into R_10_00

This commit is contained in:
Simone Palacino 2019-04-08 18:03:45 +02:00
commit 55e6de69b7
14 changed files with 81 additions and 13 deletions

3
cd/test/fp0762.txt Normal file
View File

@ -0,0 +1,3 @@
fp0.exe
- Corretta abilitazione bottoni

19
cd/test/fp0762a.ini Normal file
View File

@ -0,0 +1,19 @@
[Main]
Demo=0
[fp1]
File(0) = fp0.exe|X
Patch = 762
Versione = 21511200
[fp]
Data = 08-04-2019
Descrizione = Fattura Elettronica
Dischi = 1
Moduli = cg,ve
OEM =
Patch = 762
PostProcess =
PreProcess =
Versione = 21511200

BIN
cd/test/fp0762a1.zip Normal file

Binary file not shown.

3
cd/test/tf0760.txt Normal file
View File

@ -0,0 +1,3 @@
tf0.exe
Tolto San Marino tra i soggetti a fatturazione elettronica

19
cd/test/tf0760a.ini Normal file
View File

@ -0,0 +1,19 @@
[Main]
Demo=0
[tf1]
File(0) = tf0.exe|X
Patch = 0760
Versione = 21511200
[tf]
Data = 08-04-2019
Descrizione = Trasferimento fatture
Dischi = 1
Moduli = cg
OEM =
Patch = 760
PostProcess =
PreProcess =
Versione = 21511200

BIN
cd/test/tf0760a1.zip Normal file

Binary file not shown.

3
cd/test/tf0764.txt Normal file
View File

@ -0,0 +1,3 @@
tf0.exe
- Reso non bloccante controllo iniziale "Aggiornamento tipo conto cliente/fornitore"

19
cd/test/tf0764a.ini Normal file
View File

@ -0,0 +1,19 @@
[Main]
Demo=0
[tf1]
File(0) = tf0.exe|X
Patch = 764
Versione = 21511200
[tf]
Data = 08-04-2019
Descrizione = Trasferimento fatture
Dischi = 1
Moduli = cg
OEM =
Patch = 764
PostProcess =
PreProcess =
Versione = 21511200

BIN
cd/test/tf0764a1.zip Normal file

Binary file not shown.

View File

@ -134,10 +134,11 @@ int cg1300(int argc, char* argv[])
TAgg_tconto a;
a.run(argc, argv, TR("Aggiornamento tipo conto")); // cg1302
}
case 'U':
{
TAgg_tcontoCF a;
a.run(argc, argv, TR("Aggiornamento tipo conto cliente/fornitore")); // cg1314
break;
case 'U':
{
TAgg_tcontoCF a;
a.run(argc, argv, TR("Aggiornamento tipo conto cliente/fornitore")); // cg1314
}
break;
case 'M':

View File

@ -158,9 +158,9 @@ void TPA_mask::fill()
enable(DLG_FINDREC);
enable(DLG_PRINT);
#else
enable(DLG_OK, filter_selected != "X" && filter_selected != "P");
enable(DLG_SAVEREC, (fp_settings().is_f8() && filter_selected == "X") || filter_selected == "P");
enable(DLG_FINDREC, filter_selected == "P");
enable(DLG_OK, filter_selected.empty() || filter_selected == "E");
enable(DLG_SAVEREC, (fp_settings().is_f8() && filter_selected == "X") || filter_selected == "D");
enable(DLG_FINDREC, filter_selected == "D");
enable(DLG_PRINT, _enable_chiave_fixer && filter_selected == "X");
#endif

View File

@ -124,7 +124,7 @@ void TPassive_mask::fill()
"WHERE P7_DATA >= \'" << dal.date2ansi() << "\' AND P7_DATA <= \'" << al.date2ansi() << "\'" << prots_query << "\n" <<
"GROUP BY YEAR(P7_DATA), P7_TIPODOC, P7_NUMERO, P7_DATA, PZ_DATAORARIC, PQ_IMPTOTDOC, PZ_NUMREGCONT, PZ_DATAREGCONT, P2_ANADENOMIN, P2_ANANOME, P2_ANACOGNOME, P2_FISCIVACOD, P2_CODFISCALE, P2_FISCIVAPAESE,\n" <<
"P1_CODDEST, PU_PEC, P1_KEYPRGINVIO, P1_KEYHEADERFATT, P1_KEYBODYFATT, PZ_TIPOPROT, PZ_NUMPROT, PZ_ANNOPROT, PZ_TIPOCF, PZ_CLIFOR\n" <<
"ORDER BY " << (ordin == "R"? "PZ_DATAORARIC" : "P7_DATA") << " " << (verso_ord == "C"? "ASC" : "DESC");
"ORDER BY " << (ordin == "D"? "P7_DATA" : "PZ_DATAORARIC") << " " << (verso_ord == "C"? "ASC" : "DESC");
fp_db().sq_set_exec(query, false);
_list_fatt_err.clear();

View File

@ -60,8 +60,8 @@ END
RADIOBUTTON F_FATTORD 20 20
BEGIN
PROMPT 1 5 "Ordinamento fatture per "
ITEM "|Data Documento"
ITEM "R|Data Ricezione"
ITEM "|Data Ricezione"
ITEM "D|Data Documento"
FLAGS ""
END

View File

@ -826,9 +826,10 @@ TTrFa_mask::TTrFa_mask(const TString& msk)
if (ini_get_int(CONFIG_DITTA, "cg", "atccf", 0) <= 0)
fatal_box("L'aggiornamento non è andato a buon fine, non puoi procedere con il Trasferimento Fatture");
}
else
fatal_box("Senza effettuare l'aggiornamento non possiamo garantirti il corretto funzionamento del Trasferimento Fatture.\nIl programma sarà terminato.");
else if(yesno_box("Senza effettuare l'aggiornamento non possiamo garantirti il corretto funzionamento del Trasferimento Fatture.\nSi e' sicuri di proseguire?") == 0)
{
fatal_box("Programma terminato");
}
}
#endif // !DBG