Patch level : 12.0 nopatch
Files correlati : cg2102.cpp Commento : Bug fix cg
This commit is contained in:
parent
db6c79c07e
commit
770499eeaf
@ -3538,7 +3538,19 @@ bool TPrimanota_application::revcharge_handler(TMask_field& f, KEY key)
|
||||
else
|
||||
if (f.final_check(key))
|
||||
{
|
||||
const bool revcharge = f.get().full();
|
||||
bool revcharge = f.get().full();
|
||||
|
||||
if (!revcharge)
|
||||
{
|
||||
TSheet_field& sheet_iva = f.mask().sfield(F_SHEETIVA);
|
||||
|
||||
const int row = sheet_iva.items();
|
||||
|
||||
for (int r = 0; !revcharge && r< row; r++)
|
||||
{
|
||||
revcharge |= sheet_iva.get_bool_row_cell(r, IVA_REVCHARGE);
|
||||
}
|
||||
}
|
||||
|
||||
if (!revcharge)
|
||||
return f.error_box(TR("Movimento di reverse charge senza righe di reverse charge"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user