Patch level Patch level : 10.0 290
Files correlati : Commento : Corretta liquidazione per quanto riguarda l'IVA differita, vedi Diana2000 settembre. Commento : Patch 290 git-svn-id: svn://10.65.10.50/branches/R_10_00@23381 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
62b1716b41
commit
a80d0a80ef
@ -1123,6 +1123,11 @@ void TLiquidazione_app::recalc_att(int month, const char* codatt)
|
|||||||
TPartite_array arrpart; // Partite interessate
|
TPartite_array arrpart; // Partite interessate
|
||||||
TPointer_array pagscatt; // Righe di pagsca interessate
|
TPointer_array pagscatt; // Righe di pagsca interessate
|
||||||
|
|
||||||
|
const long nr = _mov->get_long(MOV_NUMREG);
|
||||||
|
|
||||||
|
if (nr == 23121 || nr == 23112)
|
||||||
|
int i = 1 ;
|
||||||
|
|
||||||
if (bIsMovDiff && tm == tm_fattura)
|
if (bIsMovDiff && tm == tm_fattura)
|
||||||
{
|
{
|
||||||
// const bool id_chiusa = ivadiff_chiusa(_mov->curr(), inizio);
|
// const bool id_chiusa = ivadiff_chiusa(_mov->curr(), inizio);
|
||||||
@ -1180,7 +1185,7 @@ void TLiquidazione_app::recalc_att(int month, const char* codatt)
|
|||||||
TPointer_array pagscaold;
|
TPointer_array pagscaold;
|
||||||
TImporto pg_tot, nc_tot;
|
TImporto pg_tot, nc_tot;
|
||||||
|
|
||||||
rp.calcola_pagato_periodo(inizio+1L, orizzonte, pg_tot, nc_tot, &pagscaold);
|
rp.calcola_pagato_periodo(TDate(0L), orizzonte, pg_tot, nc_tot, &pagscaold);
|
||||||
// Controllo se ci siam persi delle note di credito negli anni scorsi
|
// Controllo se ci siam persi delle note di credito negli anni scorsi
|
||||||
if (!nc_tot.is_zero() && pagscaold.items() > pagscatt.items())
|
if (!nc_tot.is_zero() && pagscaold.items() > pagscatt.items())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user