Patch level : 12.0 474
Files correlati : tf Commento : Sistemato errore in calcolo dell'imposta iva x cassa nel caso di mancanza del prorata git-svn-id: svn://10.65.10.50/branches/R_10_00@24161 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
08711db499
commit
952477f698
@ -152,7 +152,7 @@ int calc_inc_diff(int anno, int mese, int tipoiva, real& imposta_diff, real& imp
|
|||||||
perc_prorata = p;
|
perc_prorata = p;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (perc_prorata > ZERO)
|
if (imposta_diff > ZERO && perc_prorata > ZERO)
|
||||||
{
|
{
|
||||||
real ind = imposta_diff * perc_prorata / CENTO;
|
real ind = imposta_diff * perc_prorata / CENTO;
|
||||||
ind.round(TCurrency::get_firm_dec());
|
ind.round(TCurrency::get_firm_dec());
|
||||||
@ -508,8 +508,12 @@ void ComLiqPerIva_mask::extractinator() // Per gli amici GTFO
|
|||||||
|
|
||||||
// IVA detraibile
|
// IVA detraibile
|
||||||
imposta_diff = imposta_xcas = ZERO;
|
imposta_diff = imposta_xcas = ZERO;
|
||||||
|
TString pippo = ivadetxc.stringa();
|
||||||
|
TString pluto = imposta_xcas.stringa();
|
||||||
// 2 = Acquisti
|
// 2 = Acquisti
|
||||||
calc_inc_diff(anno, start, REG_PAS, imposta_diff, imposta_xcas);
|
calc_inc_diff(anno, start, REG_PAS, imposta_diff, imposta_xcas);
|
||||||
|
pippo = ivadetxc.stringa();
|
||||||
|
pluto = imposta_xcas.stringa();
|
||||||
ivadetxc = ivadetxc + imposta_xcas;
|
ivadetxc = ivadetxc + imposta_xcas;
|
||||||
ivadetdiff = ivadetdiff + imposta_diff;
|
ivadetdiff = ivadetdiff + imposta_diff;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user