Modifiche visualizzazione, chissa;' ~~~~
git-svn-id: svn://10.65.10.50/trunk@1753 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
6d0979e6dc
commit
5385f4d440
@ -415,7 +415,8 @@ bool Visliq_app::sel_mese_sh2 (TMask_field& f, KEY k)
|
|||||||
}
|
}
|
||||||
else ok = TRUE;
|
else ok = TRUE;
|
||||||
|
|
||||||
if (ok) app().vis_one(month);
|
if (ok)
|
||||||
|
app().vis_one(month);
|
||||||
|
|
||||||
TMask& sv = sh.sheet_mask();
|
TMask& sv = sh.sheet_mask();
|
||||||
|
|
||||||
@ -528,7 +529,7 @@ bool Visliq_app::vis_all()
|
|||||||
break;
|
break;
|
||||||
case K_SAVE:
|
case K_SAVE:
|
||||||
// write values
|
// write values
|
||||||
write_general(m);
|
if (m.dirty()) write_general(m);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1404,10 +1405,18 @@ void Visliq_app::write_general(TMask& m)
|
|||||||
if (nrimb != orimb && !_from_one)
|
if (nrimb != orimb && !_from_one)
|
||||||
{
|
{
|
||||||
// check compatibilita'
|
// check compatibilita'
|
||||||
bool ok = (_lim->get_bool("B2") && risc > risd) || nrimb.is_zero();
|
bool ok = TRUE;
|
||||||
if (!ok)
|
|
||||||
|
if (!nrimb.is_zero())
|
||||||
|
{
|
||||||
|
if (risc <= risd)
|
||||||
|
ok = yesno_box("Il risultato IVA non evidenzia crediti nel mese %d. Si conferma "
|
||||||
|
" il rimborso?", i);
|
||||||
|
if (!_lim->get_bool("B2") && ok)
|
||||||
ok = yesno_box("Non risulta diritto al rimborso per il mese %d. Si conferma"
|
ok = yesno_box("Non risulta diritto al rimborso per il mese %d. Si conferma"
|
||||||
" ugualmente il rimborso?", i);
|
" il rimborso?", i);
|
||||||
|
}
|
||||||
|
|
||||||
if (ok)
|
if (ok)
|
||||||
{
|
{
|
||||||
// togli vecchio
|
// togli vecchio
|
||||||
@ -1466,8 +1475,8 @@ if (was_lim)
|
|||||||
tt_ln.add(sr5 == 0 ? "" : (sr5 > 0 ? "D" : "C"),5);
|
tt_ln.add(sr5 == 0 ? "" : (sr5 > 0 ? "D" : "C"),5);
|
||||||
|
|
||||||
sh.force_update(row);
|
sh.force_update(row);
|
||||||
_from_one = FALSE;
|
|
||||||
}
|
}
|
||||||
|
_from_one = FALSE;
|
||||||
} // for mese liq. (riga sheet)
|
} // for mese liq. (riga sheet)
|
||||||
|
|
||||||
// Rileggi array righe vecchie
|
// Rileggi array righe vecchie
|
||||||
|
Loading…
x
Reference in New Issue
Block a user