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:
parent
798a7c5b7e
commit
29b0283adc
@ -1,6 +1,7 @@
|
|||||||
#include "../cg/cg2100p.h" // Campi maschere partite e pagamenti
|
#include "../cg/cg2100p.h" // Campi maschere partite e pagamenti
|
||||||
|
|
||||||
#ifdef __EXTRA__
|
#ifdef __EXTRA__
|
||||||
|
|
||||||
#include "../cg/cgsaldac.h"
|
#include "../cg/cgsaldac.h"
|
||||||
#include "sc0100p.h"
|
#include "sc0100p.h"
|
||||||
#else
|
#else
|
||||||
@ -1042,7 +1043,11 @@ bool TGame_mask::partite_notify(TSheet_field& partite, int r, KEY k)
|
|||||||
if (pag.get_char(PAGSCA_ACCSAL) == 'S')
|
if (pag.get_char(PAGSCA_ACCSAL) == 'S')
|
||||||
{
|
{
|
||||||
const TImporto abb(sez, pag.get_real(PAGSCA_ABBUONI));
|
const TImporto abb(sez, pag.get_real(PAGSCA_ABBUONI));
|
||||||
|
#ifndef __EXTRA__
|
||||||
bool is_totdoc = app().mask(_no_iva)->get(F_TOTALE).full();
|
bool is_totdoc = app().mask(_no_iva)->get(F_TOTALE).full();
|
||||||
|
#else
|
||||||
|
bool is_totdoc = true;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!abb.is_zero())
|
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())
|
if (pag.get_char(PAGSCA_ACCSAL) == 'S' || !pag.get_real(PAGSCA_ABBUONI).is_zero())
|
||||||
{
|
{
|
||||||
const TImporto abb(sez, pag.get_real(PAGSCA_ABBUONI));
|
const TImporto abb(sez, pag.get_real(PAGSCA_ABBUONI));
|
||||||
|
#ifndef __EXTRA__
|
||||||
bool is_totdoc = app().mask(_no_iva)->get(F_TOTALE).full();
|
bool is_totdoc = app().mask(_no_iva)->get(F_TOTALE).full();
|
||||||
|
#else
|
||||||
|
bool is_totdoc = true;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!abb.is_zero())
|
if (!abb.is_zero())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user