Patch level :10.0
Files correlati :ca2.exe Ricompilazione Demo : [ ] Commento : Sostituita error_box con yesno_box in caso di discordanza tra totale righe e totale testata nei movimenti analitici. Adesso chiede se si vuole allineare il totale testata a quello righe. git-svn-id: svn://10.65.10.50/trunk@20219 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
f777535703
commit
9863fed64d
@ -589,9 +589,18 @@ bool TMovanal_msk::on_field_event(TOperable_field& o, TField_event e, long jolly
|
||||
}
|
||||
|
||||
if (totrig != totdoc)
|
||||
return error_box(FR("Il totale delle righe e' %s %s, mentre il totale documento e' %s %s"),
|
||||
totrig.valore().string(), totrig.sezione() == 'D' ? TR("Dare") : TR("Avere"),
|
||||
totdoc.valore().string(), totdoc.sezione() == 'D' ? TR("Dare") : TR("Avere"));
|
||||
{
|
||||
if (yesno_box(FR("Il totale delle righe e' %s %s, mentre il totale documento e' %s %s.\n"
|
||||
"Si desidera allineare il totale di testata a quello delle righe?"),
|
||||
totrig.valore().string(), totrig.sezione() == 'D' ? TR("Dare") : TR("Avere"),
|
||||
totdoc.valore().string(), totdoc.sezione() == 'D' ? TR("Dare") : TR("Avere")))
|
||||
{
|
||||
set(F_SEZIONE, totrig.sezione());
|
||||
set(F_TOTDOC, totrig.valore());
|
||||
}
|
||||
else
|
||||
return false;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case S_DARE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user