Patch level : 12.0 no patch

Files correlati     : sc2.vcproj cg2105.cpp
Commento :

Modifiche dovute alle variazioni in prima nota
This commit is contained in:
AlexBonazzi 2018-12-10 22:19:54 +01:00
parent 798a7c5b7e
commit 29b0283adc

View File

@ -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())
{