From 78dc2648c55b33f37f1e369eb464e2be91d0944c Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 10 Jun 2004 11:08:05 +0000 Subject: [PATCH] Patch level : 2.1 66 Files correlati : cg2.exe Ricompilazione Demo : [ ] Commento : 0000007 Inserisco un pagamento di 90 a fronte di una rata di 100. Se flaggo il campo "saldo" quando registro non torna nella gestione delle partite del cli/for ma nella maschera di prima nota 0000110 Registrando un incasso o pagamento di 2 partite con abbuono per lo stesso cliente o fornitore dopo aver confermato il secondo pagamento (quello con l'abbuono) ritorna direttamente in primanota senza passare per le partite e senza generare la scrittura di primanota. git-svn-id: svn://10.65.10.50/trunk@12174 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- cg/cg2105.cpp | 2 ++ cg/cg6400.cpp | 2 +- cg/cg6700.cpp | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/cg/cg2105.cpp b/cg/cg2105.cpp index 532cf8e22..bb776ef11 100755 --- a/cg/cg2105.cpp +++ b/cg/cg2105.cpp @@ -1434,6 +1434,8 @@ bool TGame_mask::edit_scadenza_handler(TMask_field& f, KEY k) ss.select(rs, scroll); // ... riporta la selezione sulla riga corrente } gm._changed = TRUE; + + gm.set_focus(); // A volte finisce sotto! } } return TRUE; diff --git a/cg/cg6400.cpp b/cg/cg6400.cpp index 5920bf290..e3f869da6 100755 --- a/cg/cg6400.cpp +++ b/cg/cg6400.cpp @@ -280,7 +280,7 @@ bool TRic_archivi::leggi_marker_rep() _sequenza = TRUE; if (letti == 0) - return error_box(TR("Rilevati ERRORI nel file MARKER: impossibile proseguire")); + return error_box(TR("Impossibile leggere il file MARKER: %s"), (const char*)_marker); _nomeid = buffer.sub(0,10); _dittainv = atol(buffer.sub(10,15)); diff --git a/cg/cg6700.cpp b/cg/cg6700.cpp index 6dc3e0884..1301866d4 100755 --- a/cg/cg6700.cpp +++ b/cg/cg6700.cpp @@ -969,12 +969,12 @@ bool TRic_ListaMov::controlla_riva() testata = FALSE; } - TString impostr = impo.string(); - TString impostastr = impos.string(); + //TString impostr = impo.string(); + //TString impostastr = impos.string(); _tot_doc += impo + impos; - TString totdocstr = _tot_doc.string(); + //TString totdocstr = _tot_doc.string(); _impo = impo; _impos = impos;