Corretto errore MI6244 relativo alla perdita di focus rispondnendo

NO alla richiesta di editingi di movimenti gia' stampati sul libro
giornale.


git-svn-id: svn://10.65.10.50/trunk@5525 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 1997-11-04 09:45:53 +00:00
parent fbc5df7cca
commit 1c09f0cdfc

View File

@ -1607,22 +1607,22 @@ bool TPrimanota_application::num_handler(TMask_field& f, KEY key)
if (mov.get_bool(MOV_STAMPATO)) if (mov.get_bool(MOV_STAMPATO))
{ {
ok = yesno_box("Il movimento e' gia' stato stampato sul libro giornale:\n" ok = f.yesno_box("Il movimento e' gia' stato stampato sul libro giornale:\n"
"si desidera continuare ugualmente?"); "si desidera continuare ugualmente?");
a._skip_giornale_check = ok; a._skip_giornale_check = ok;
} }
if (ok && mov.get_bool(MOV_REGST)) if (ok && mov.get_bool(MOV_REGST))
{ {
ok = yesno_box("Il movimento e' gia' stato stampato sul bollato:\n" ok = f.yesno_box("Il movimento e' gia' stato stampato sul bollato:\n"
"si desidera continuare ugualmente?"); "si desidera continuare ugualmente?");
a._skip_bollato_check = ok; a._skip_bollato_check = ok;
} }
if (ok && mov.get_bool(MOV_INVIATO)) if (ok && mov.get_bool(MOV_INVIATO))
{ {
ok = yesno_box("Il movimento e' stato inviato ad un'altra contabilita':\n" ok = f.yesno_box("Il movimento e' stato inviato ad un'altra contabilita':\n"
"si desidera continuare ugualmente?"); "si desidera continuare ugualmente?");
} }
if (ok) if (ok)
@ -2294,7 +2294,7 @@ bool TPrimanota_application::totdoc_handler(TMask_field& f, KEY key)
const real totval(m.get(SK_TOTDOCVAL)); const real totval(m.get(SK_TOTDOCVAL));
const real totlit = cambio.val2lit(totval); const real totlit = cambio.val2lit(totval);
if (totale != totlit) if (totale != totlit)
ok = yesno_box("Il totale documento in lire dovrebbe essere %s: continuare ugualmente?", ok = f.yesno_box("Il totale documento in lire dovrebbe essere %s: continuare ugualmente?",
totlit.string(".")); totlit.string("."));
} }
} }