Corretto ciclo cancellazione partite.
git-svn-id: svn://10.65.10.50/trunk@2046 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
f8f0a320f9
commit
e983f63eec
@ -208,12 +208,13 @@ bool TCreatepart_app::menu(MENU_TAG)
|
|||||||
TRiga_scadenze& scad = riga.new_row();
|
TRiga_scadenze& scad = riga.new_row();
|
||||||
scad.put(SCAD_IMPORTO, saldo.valore());
|
scad.put(SCAD_IMPORTO, saldo.valore());
|
||||||
scad.put(SCAD_DATASCAD, today);
|
scad.put(SCAD_DATASCAD, today);
|
||||||
scad.put(SCAD_TIPOPAG, 2);
|
scad.put(SCAD_TIPOPAG, 1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
TRectype& unas = game.unassigned().row(riga.get_int(PART_NRIGA), TRUE);
|
TRectype& unas = game.unassigned().row(riga.get_int(PART_NRIGA), TRUE);
|
||||||
unas.put(PAGSCA_IMPORTO, saldo.valore());
|
unas.put(PAGSCA_IMPORTO, saldo.valore());
|
||||||
|
unas.put(PAGSCA_DATAPAG, today);
|
||||||
unas.put(PAGSCA_ACCSAL, 'A');
|
unas.put(PAGSCA_ACCSAL, 'A');
|
||||||
}
|
}
|
||||||
game.write();
|
game.write();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user