Migliorata indentazione in stampa del prospetto annuale

per calcolo percentuale di indetraibilita'/prorata.


git-svn-id: svn://10.65.10.50/trunk@5573 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
angelo 1997-11-06 15:29:07 +00:00
parent 465b3a7da6
commit 56dde20e8e

View File

@ -1504,7 +1504,7 @@ void TLiquidazione_app::set_pumpam(_DescrItem& d)
printed = TRUE;
real prc(dp.get(0));
set_row(row++, "%% PRO-RATA ed IVA non detraibile (%s%%)@58g%r",
set_row(row++, "%% PRO-RATA ed IVA non detraibile (%s%%)@69g%r",
(const char*)prc.string(), &(d._r11));
}
@ -1862,18 +1862,18 @@ bool TLiquidazione_app::set_annual(_DescrItem& d)
ret = TRUE;
set_print_zero(TRUE);
set_row(row++,"");
set_row(row++, "%% PRO-RATA ed IVA non detraibile (%s%%)@58g%r",
set_row(row++, "%% PRO-RATA ed IVA non detraibile (%s%%)@69g%r",
(const char*)(d._r2.string()), &(d._r6));
set_row(row++,"B1 - Operazioni esenti, escluse da nr. 1 a 9 e 11 art. 10 %r", &(d._r1));
set_row(row++,"B2 - Operazioni esenti, di cui nr. 11 art. 10 %r", &(d._r4));
set_row(row++,"B3 - Operazioni esenti da nr. 1 a 9 art. 10 %r", &(d._r5));
set_row(row++,"Volume d'affari - B3 %r", &(d._r0));
set_row(row++,"Indetraibilita'@58g%r%%", &(d._r2));
set_row(row++,"B1 - Operazioni esenti, escluse da nr. 1 a 9 e 11 art. 10 @69g%r", &(d._r1));
set_row(row++,"B2 - Operazioni esenti, di cui nr. 11 art. 10 @69g%r", &(d._r4));
set_row(row++,"B3 - Operazioni esenti da nr. 1 a 9 art. 10 @69g%r", &(d._r5));
set_row(row++,"Volume d'affari - B3 @69g%r", &(d._r0));
set_row(row++,"Indetraibilita'@69g%r%%", &(d._r2));
if (!(d._r3.is_zero()))
{
const char* sss = d._r3.sign() < 0 ? "credito" : "debito";
real ccc = abs(d._r3);
set_row(row++,"Conguaglio a %s@58g%r", sss, &ccc);
set_row(row++,"Conguaglio a %s@69g%r", sss, &ccc);
}
set_print_zero(FALSE);
}