Corretti errori CINZIA
git-svn-id: svn://10.65.10.50/trunk@3574 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
f9b938f706
commit
8a0578bf47
@ -37,7 +37,8 @@ TSaldaconto_app::TSaldaconto_app()
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
bool TSaldaconto_app::create()
|
bool TSaldaconto_app::create()
|
||||||
{
|
{
|
||||||
|
open_files(LF_TAB, LF_TABCOM, LF_CLIFO, 0);
|
||||||
open_files(LF_PARTITE, LF_SCADENZE, LF_PAGSCA, 0);
|
open_files(LF_PARTITE, LF_SCADENZE, LF_PAGSCA, 0);
|
||||||
|
|
||||||
_msk = new TMask("sc0100a");
|
_msk = new TMask("sc0100a");
|
||||||
|
@ -947,33 +947,16 @@ bool TGame_mask::edit_fattura(TPartita& p, int nriga)
|
|||||||
|
|
||||||
bool TGame_mask::prima_nota(const long nreg)
|
bool TGame_mask::prima_nota(const long nreg)
|
||||||
{
|
{
|
||||||
bool ok = TRUE;
|
app().partite().destroy(); // Distrugge tutte le partite in memoria
|
||||||
|
|
||||||
/* Attualmente tutte le mnodifiche vengono salvata subito
|
|
||||||
if (_changed)
|
|
||||||
{
|
|
||||||
ok = yesno_box("Registrare le parite modificate?");
|
|
||||||
if (ok)
|
|
||||||
{
|
|
||||||
app().partite().rewrite();
|
|
||||||
_changed = FALSE; // Resetta flag di cambiato
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (ok)
|
|
||||||
{
|
|
||||||
app().partite().destroy(); // Distrugge tutte le partite in memoria
|
|
||||||
|
|
||||||
const char* const pn = "cg2 -0";
|
const char* const pn = "cg2 -0";
|
||||||
TExternal_app prima_nota(pn);
|
TExternal_app prima_nota(pn);
|
||||||
TString numreg; numreg << "1|" << nreg;
|
TString numreg; numreg << "1|" << nreg;
|
||||||
TMessage msg(pn, MSG_LN, numreg);
|
TMessage msg(pn, MSG_LN, numreg);
|
||||||
msg.send(); // Messaggio di collegamento al movimento nreg
|
msg.send(); // Messaggio di collegamento al movimento nreg
|
||||||
ok = prima_nota.run() == 0; // Lancia la prima nota
|
bool ok = prima_nota.run() == 0; // Lancia la prima nota
|
||||||
|
|
||||||
fill_partite(); // Rilegge partite
|
fill_partite(); // Rilegge partite
|
||||||
}
|
|
||||||
|
|
||||||
return ok;
|
return ok;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user