Patch level : 12.0 566
Files correlati : cg4.exe f171.dir f171.trr Modificata la liquidazione delle fatture in ritardo Aggiunta la gestione dell'uscita dal regime di cassa Sistemata la cancellazione di IVADIFF nei mesi e in 13. git-svn-id: svn://10.65.10.50/branches/R_10_00@24470 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
20907f72fb
commit
70dbffa8e9
@ -1156,7 +1156,7 @@ void TLiquidazione_app::recalc_att(int month, const char* codatt, TAssoc_array &
|
|||||||
#ifdef DBG
|
#ifdef DBG
|
||||||
long nr = _mov->get_long(MOV_NUMREG);
|
long nr = _mov->get_long(MOV_NUMREG);
|
||||||
|
|
||||||
if (nr == 22060 || nr == 27710)
|
if (nr == 1931434 || nr == 27710)
|
||||||
int i = 1;
|
int i = 1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1236,12 +1236,12 @@ void TLiquidazione_app::recalc_att(int month, const char* codatt, TAssoc_array &
|
|||||||
#ifdef DBG
|
#ifdef DBG
|
||||||
nr = _mov->get_long(MOV_NUMREG);
|
nr = _mov->get_long(MOV_NUMREG);
|
||||||
|
|
||||||
if (nr == 22060 || nr == 27710)
|
if (nr == 29214 || nr == 27710)
|
||||||
int i = 1;
|
int i = 1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (fattrit && _month == 13)
|
if (fattrit)
|
||||||
dok = true;
|
dok = (atoi(_year) == datadoc.year()) && _month == 13;
|
||||||
|
|
||||||
if (bIsMovDiff && tm == tm_fattura)
|
if (bIsMovDiff && tm == tm_fattura)
|
||||||
{
|
{
|
||||||
@ -1283,7 +1283,7 @@ void TLiquidazione_app::recalc_att(int month, const char* codatt, TAssoc_array &
|
|||||||
#ifdef DBG
|
#ifdef DBG
|
||||||
nr = _mov->get_long(MOV_NUMREG);
|
nr = _mov->get_long(MOV_NUMREG);
|
||||||
|
|
||||||
if (nr == 22060 || nr == 27710)
|
if (nr == 29214 || nr == 27710)
|
||||||
int i = 1;
|
int i = 1;
|
||||||
#endif
|
#endif
|
||||||
flag_pg_nc = rp.calcola_pagato_periodo(first_month ? botime : inizio + 1L, orizzonte, pg_per, nc_per, &pagscatt) && regular_month;
|
flag_pg_nc = rp.calcola_pagato_periodo(first_month ? botime : inizio + 1L, orizzonte, pg_per, nc_per, &pagscatt) && regular_month;
|
||||||
@ -1359,6 +1359,15 @@ void TLiquidazione_app::recalc_att(int month, const char* codatt, TAssoc_array &
|
|||||||
if (incasso.valore() > ZERO)
|
if (incasso.valore() > ZERO)
|
||||||
tot_incassato = incasso.valore();
|
tot_incassato = incasso.valore();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
TImporto incasso = pg_per;
|
||||||
|
|
||||||
|
incasso += nc_per;
|
||||||
|
incasso.normalize(sezpag);
|
||||||
|
if (incasso.valore() > ZERO)
|
||||||
|
tot_incassato = incasso.valore();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!game_found) // No saldaconto o partita assente
|
if (!game_found) // No saldaconto o partita assente
|
||||||
@ -1529,7 +1538,7 @@ void TLiquidazione_app::recalc_att(int month, const char* codatt, TAssoc_array &
|
|||||||
#ifdef DBG
|
#ifdef DBG
|
||||||
nr = _mov->get_long(MOV_NUMREG);
|
nr = _mov->get_long(MOV_NUMREG);
|
||||||
|
|
||||||
if (nr == 22060 || nr == 27710)
|
if (nr == 29214 || nr == 27710)
|
||||||
int i = 1;
|
int i = 1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user