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:
parent
848874ff86
commit
0c830e2748
@ -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!)
|
return FALSE; // Ho cliccato su di un saldo (per sbaglio!)
|
||||||
|
|
||||||
TGame_mask& gm = (TGame_mask&)(m.get_sheet()->mask());
|
TGame_mask& gm = (TGame_mask&)(m.get_sheet()->mask());
|
||||||
const TBill& bill = gm.conto(); // Clifo
|
const TBill& bill = gm.conto(); // Clifo
|
||||||
const int anno = gm.get_int(P_ANNO); // Anno
|
|
||||||
const TString numero = gm.get(P_NUMERO); // Numero
|
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();
|
TPartite_array& giochi = app().partite();
|
||||||
TPartita* was = giochi.exist(bill, anno, numero); // Controlla esistenza nell'array
|
TPartita* was = giochi.exist(bill, anno, numero); // Controlla esistenza nell'array
|
||||||
|
Loading…
x
Reference in New Issue
Block a user