Patch level : 12.0 no-patch
Files correlati : velib Commento : Correzione
This commit is contained in:
parent
eea8980d70
commit
8a1da5026b
@ -3009,10 +3009,10 @@ error_type TContabilizzazione::write_scadenze(TDocumento& doc, bool recontabiliz
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
TCurrency_documento totdoc(abs(totdoc), doc);
|
TCurrency_documento totdoclit(abs(totdoc), doc);
|
||||||
TCurrency_documento totspese(abs(doc.spese()), doc);
|
TCurrency_documento totspese(abs(doc.spese()), doc);
|
||||||
TCurrency_documento totimposte(abs(doc.imposta(true)), doc);
|
TCurrency_documento totimposte(abs(doc.imposta(true)), doc);
|
||||||
TCurrency_documento totimponibili = totdoc - totspese - totimposte;
|
TCurrency_documento totimponibili = totdoclit - totspese - totimposte;
|
||||||
|
|
||||||
if (!cached_causale(head.get(MOV_CODCAUS), head.get_int(MOV_ANNOES)).reverse_charge_pubb())
|
if (!cached_causale(head.get(MOV_CODCAUS), head.get_int(MOV_ANNOES)).reverse_charge_pubb())
|
||||||
totimponibili -= totimposte;
|
totimponibili -= totimposte;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user