sc0101.cpp Corretta selezione cliente corrente (non piu' una unica riga di get

git-svn-id: svn://10.65.10.50/trunk@2117 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 1995-11-09 08:09:09 +00:00
parent f69408386c
commit e7e352eb23
2 changed files with 4 additions and 4 deletions

View File

@ -431,10 +431,10 @@ bool TGame_mask::edit_fattura(TPartita& p, int nriga)
void TSaldaconto_app::edit_partite(const TMask& m) void TSaldaconto_app::edit_partite(const TMask& m)
{ {
const char t = m.get(F_TIPO)[0]; const char t = m.get(F_TIPO)[0];
const int g = m.get_int(F_GRUPPO); const int g = m.get_int(F_GRUPPO);
const int c = m.get_int(F_CONTO); const int c = m.get_int(F_CONTO);
const long s = m.get_long(F_SOTTOCONTO) const long s = m.get_long(F_SOTTOCONTO);
const TBill b(g, c, s, t); // Legge il conto della riga selezionata const TBill b(g, c, s, t); // Legge il conto della riga selezionata
TGame_mask gm(b, 0, 0); TGame_mask gm(b, 0, 0);
gm.run(); gm.run();

View File

@ -71,7 +71,7 @@ bool TCreatepart_app::destroy()
void TCreatepart_app::on_config_change() void TCreatepart_app::on_config_change()
{ {
TConfig cd(CONFIG_DITTA); TConfig cd(CONFIG_DITTA, "cg");
_num_cli = cd.get_bool("NrCliDx"); _num_cli = cd.get_bool("NrCliDx");
_num_for = cd.get_bool("NrForDx"); _num_for = cd.get_bool("NrForDx");
} }