Correzione MI2164... Speriamo che si decidano una buona volta.
Sta wallera di prorata non sanno nemmeno loro quando stamparlo. git-svn-id: svn://10.65.10.50/trunk@3701 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
7e5525bb1b
commit
d214c14469
@ -1579,8 +1579,12 @@ void TLiquidazione_app::write_liq(int month, const char* codatts)
|
||||
if (prorata != _prorata)
|
||||
{
|
||||
// calcolo conguaglio -- se positivo e' a debito
|
||||
real topay = (iaq + ppg) * (prorata / CENTO);
|
||||
topay.round(ROUND_MILLELIRE);
|
||||
real topay;
|
||||
if (prorata > 0.0)
|
||||
{
|
||||
topay = (iaq + ppg) * (prorata / CENTO);
|
||||
topay.round(ROUND_MILLELIRE);
|
||||
}
|
||||
conguaglio = topay - ppg;
|
||||
conguaglio.round(ROUND_MILLELIRE);
|
||||
}
|
||||
|
@ -1750,8 +1750,7 @@ bool TLiquidazione_app::set_annual(_DescrItem& d)
|
||||
set_print_zero(TRUE);
|
||||
set_row(row++,"");
|
||||
//set_row(row++,"CALCOLO DELLA PERCENTUALE DI INDETRAIBILITA'");
|
||||
if (d._r2 > 0.0)
|
||||
set_row(row++, "%% PRO-RATA ed IVA non detraibile (%s%%)@69g%r",
|
||||
set_row(row++, "%% PRO-RATA ed IVA non detraibile (%s%%)@69g%r",
|
||||
(const char*)(d._r2.string()), &(d._r6));
|
||||
//set_row(row++,"");
|
||||
set_row(row++,"Operazioni esenti riga B1@30g%r", &(d._r1));
|
||||
|
Loading…
x
Reference in New Issue
Block a user