diff --git a/cd/test/cg0826.txt b/cd/test/cg0826.txt new file mode 100644 index 000000000..8e6965996 --- /dev/null +++ b/cd/test/cg0826.txt @@ -0,0 +1,3 @@ +cg5.exe + +la visualizzazione della liquidazione -> Prospetto complessivo -> Versamenti e valorizza i campi il programma si blocca. \ No newline at end of file diff --git a/cd/test/cg0826a.ini b/cd/test/cg0826a.ini new file mode 100644 index 000000000..e165a74c6 --- /dev/null +++ b/cd/test/cg0826a.ini @@ -0,0 +1,93 @@ +[Main] +Demo=0 + +[cg1] +File(61) = cg5.exe|X +Patch = 826 +Versione = 21511200 + +[cg99] +Kill(0) = batbvet.msk|x +Kill(1) = batbcfi.msk|x +Kill(2) = bastver.msk|x +Kill(3) = bastleg.rep|x +Kill(4) = batbpdb.msk|x +Kill(5) = batbcve.msk|x +Kill(6) = bastcfi.rep|x +Kill(7) = batbdel.msk|x +Kill(8) = batbivd.msk|x +Kill(9) = bastver.rep|x +Kill(10) = batbver.msk|x +Kill(11) = bastleg.msk|x +Kill(12) = bastpdb.msk|x +Kill(13) = batbind.msk|x +Kill(14) = batblia.msk|x +Kill(15) = bastcve.rep|x +Kill(16) = batbleg.msk|x +Kill(17) = bastivd.rep|x +Kill(18) = bastzon.msk|x +Kill(19) = bastivd.msk|x +Kill(20) = bastcco.msk|x +Kill(21) = batbtra.msk|x +Kill(22) = bastarb.rep|x +Kill(23) = batbscc.msk|x +Kill(24) = bastzon.rep|x +Kill(25) = bastndo.msk|x +Kill(26) = bastscc.msk|x +Kill(27) = bastndo.rep|x +Kill(28) = batblia.msk|x +Kill(29) = bastscc.rep|x +Kill(30) = bastntb.rep|x +Kill(31) = batbarb.msk|x +Kill(32) = bastarb.msk|x +Kill(33) = bastntb.msk|x +Kill(34) = batbreg.msk|x +Kill(35) = batbdpn.msk|x +Kill(36) = bastdpn.msk|x +Kill(37) = bastcfi.msk|x +Kill(38) = bastmsp.msk|x +Kill(39) = bastpor.msk|x +Kill(40) = bastnot.msk|x +Kill(41) = batbndo.msk|x +Kill(42) = batbzon.msk|x +Kill(43) = bastesc.msk|x +Kill(44) = bastpdb.rep|x +Kill(45) = batbtit.msk|x +Kill(46) = bastreg.msk|x +Kill(47) = bastdpn.rep|x +Kill(48) = bastcve.msk|x +Kill(49) = batbntb.msk|x +Kill(50) = bastmsp.rep|x +Kill(51) = batbcco.msk|x +Kill(52) = batbinl.msk|x +Kill(53) = bastcco.rep|x +Kill(54) = bastvet.rep|x +Kill(55) = batbpor.msk|x +Kill(56) = bastnot.rep|x +Kill(57) = batbnot.msk|x +Kill(58) = bastvet.msk|x +Kill(59) = bastcam.msk|x +Kill(60) = cgtbcon.msk|x +Kill(61) = batbcam.msk|x +Kill(62) = batbmsp.msk|x +Kill(63) = bastcam.rep|x +Kill(64) = bastreg.rep|x +Kill(65) = batblbu.msk|x +Kill(66) = batbins.msk|x +Kill(67) = bastpor.rep|x +Kill(68) = bastesc.rep|x +Kill(69) = batbesc.msk|x + +[cg] +Data = 19-06-2019 +Descrizione = Contabilita' Generale +Dischi = 1 +Moduli = ba +OEM = +Patch = 826 +PostProcess = bainst -0 CG +PreProcess = +Prezzo(1) = +Prezzo(2) = +Versione = 21511200 + diff --git a/cd/test/cg0826a1.zip b/cd/test/cg0826a1.zip new file mode 100644 index 000000000..2ce56076f Binary files /dev/null and b/cd/test/cg0826a1.zip differ diff --git a/cd/test/fp0826.txt b/cd/test/fp0826.txt new file mode 100644 index 000000000..6b6610c72 --- /dev/null +++ b/cd/test/fp0826.txt @@ -0,0 +1,15 @@ +fp0.exe +fp0400a.msk + +Rimosso cod. sdi da tabella e esportazione contabiliz. +Rifatta maschera: +Spostato codice caus. cont. in elenco fatt +Tolto cod caus per Nota credito +Sistemata gestione flag e radiobox +Aggiunto controllo cod caus errato per TD01 TD04 +Aggiunta classe per gestione FPPRO +Aggiunti ulteriori dati per importazione nuovo fornitore +Aggiunto a header di MOV "NUMDOCEXT" +Corretto log con num. doc. esteso +Cambiato nome "Codice protocollo" in "Tipo protocollo" +Cambiato nome colonna Salvato FPPRO con Fornitore associato diff --git a/cd/test/fp0826a.ini b/cd/test/fp0826a.ini new file mode 100644 index 000000000..a5b33fbac --- /dev/null +++ b/cd/test/fp0826a.ini @@ -0,0 +1,20 @@ +[Main] +Demo=0 + +[fp1] +File(0) = fp0.exe|X +File(4) = fp0400a.msk|X +Patch = 0826 +Versione = 21511200 + +[fp] +Data = 19-06-2019 +Descrizione = Fattura Elettronica +Dischi = 1 +Moduli = cg,ve +OEM = +Patch = 826 +PostProcess = +PreProcess = +Versione = 21511200 + diff --git a/cd/test/fp0826a1.zip b/cd/test/fp0826a1.zip new file mode 100644 index 000000000..6b0c44a2d Binary files /dev/null and b/cd/test/fp0826a1.zip differ diff --git a/src/cg/cg5500.cpp b/src/cg/cg5500.cpp index 7ffd957a8..f5f13d8df 100755 --- a/src/cg/cg5500.cpp +++ b/src/cg/cg5500.cpp @@ -1639,13 +1639,14 @@ void Visliq_app::read_general(TMask& m) // set sheet for (int i = step; i < 13; i+=step) { - if (!is_month_ok(i)) + TToken_string & t = sh.row(i); + + if (!is_month_ok(i)) continue; const int row = (i/step) - 1; if (!look_lim(i)) { - TToken_string & t = sh.row(row); t.cut(0); sh.disable_cell(row, -1); @@ -1750,7 +1751,9 @@ void Visliq_app::read_general(TMask& m) TString nomemese; sv.destroy(); for (int i = 1; i <= 13; i++) - { + { + const TString & t = sv.row(i); + if (!is_month_ok(i) && i != 13) continue; nomemese = itoname(i == 13 ? 12 : i);