Corretta gestione delle scadenze qunado si cancella il codice partita

git-svn-id: svn://10.65.10.50/trunk@3216 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 1996-07-19 15:16:47 +00:00
parent 848874ff86
commit 0c830e2748

View File

@ -1275,9 +1275,12 @@ bool TGame_mask::edit_scadenza_handler(TMask_field& f, KEY k)
return FALSE; // Ho cliccato su di un saldo (per sbaglio!)
TGame_mask& gm = (TGame_mask&)(m.get_sheet()->mask());
const TBill& bill = gm.conto(); // Clifo
const int anno = gm.get_int(P_ANNO); // Anno
const TString numero = gm.get(P_NUMERO); // Numero
const TBill& bill = gm.conto(); // Clifo
TSheet_field& sp = gm.partite();
TToken_string& spr = sp.row(sp.selected());
const int anno = spr.get_int(0); // Anno
const TString numero = spr.get(); // Numero
TPartite_array& giochi = app().partite();
TPartita* was = giochi.exist(bill, anno, numero); // Controlla esistenza nell'array