diff --git a/src/cg/cg2105.cpp b/src/cg/cg2105.cpp index 0480c8148..46198a946 100755 --- a/src/cg/cg2105.cpp +++ b/src/cg/cg2105.cpp @@ -1,6 +1,7 @@ #include "../cg/cg2100p.h" // Campi maschere partite e pagamenti #ifdef __EXTRA__ + #include "../cg/cgsaldac.h" #include "sc0100p.h" #else @@ -1042,7 +1043,11 @@ bool TGame_mask::partite_notify(TSheet_field& partite, int r, KEY k) if (pag.get_char(PAGSCA_ACCSAL) == 'S') { const TImporto abb(sez, pag.get_real(PAGSCA_ABBUONI)); +#ifndef __EXTRA__ bool is_totdoc = app().mask(_no_iva)->get(F_TOTALE).full(); +#else + bool is_totdoc = true; +#endif if (!abb.is_zero()) { @@ -1170,7 +1175,11 @@ bool TGame_mask::partite_notify(TSheet_field& partite, int r, KEY k) if (pag.get_char(PAGSCA_ACCSAL) == 'S' || !pag.get_real(PAGSCA_ABBUONI).is_zero()) { const TImporto abb(sez, pag.get_real(PAGSCA_ABBUONI)); +#ifndef __EXTRA__ bool is_totdoc = app().mask(_no_iva)->get(F_TOTALE).full(); +#else + bool is_totdoc = true; +#endif if (!abb.is_zero()) {