diff --git a/cg/cg2102.cpp b/cg/cg2102.cpp index cea479498..577088131 100755 --- a/cg/cg2102.cpp +++ b/cg/cg2102.cpp @@ -1607,22 +1607,22 @@ bool TPrimanota_application::num_handler(TMask_field& f, KEY key) if (mov.get_bool(MOV_STAMPATO)) { - ok = yesno_box("Il movimento e' gia' stato stampato sul libro giornale:\n" - "si desidera continuare ugualmente?"); + ok = f.yesno_box("Il movimento e' gia' stato stampato sul libro giornale:\n" + "si desidera continuare ugualmente?"); a._skip_giornale_check = ok; } if (ok && mov.get_bool(MOV_REGST)) { - ok = yesno_box("Il movimento e' gia' stato stampato sul bollato:\n" - "si desidera continuare ugualmente?"); + ok = f.yesno_box("Il movimento e' gia' stato stampato sul bollato:\n" + "si desidera continuare ugualmente?"); a._skip_bollato_check = ok; } if (ok && mov.get_bool(MOV_INVIATO)) { - ok = yesno_box("Il movimento e' stato inviato ad un'altra contabilita':\n" - "si desidera continuare ugualmente?"); + ok = f.yesno_box("Il movimento e' stato inviato ad un'altra contabilita':\n" + "si desidera continuare ugualmente?"); } 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 totlit = cambio.val2lit(totval); 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(".")); } }