Patch level : 10.0 646
Files correlati : cg4.exe Ricompilazione Demo : [ ] Commento : Bug 0001564: Liquidazione IVA Se una attività ha solo acquisti indeducibili questi non vengono esposti git-svn-id: svn://10.65.10.50/trunk@20146 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
6a5fd83989
commit
c751a801ef
@ -1010,12 +1010,15 @@ void TLiquidazione_app::describe_pims(int month, const char* codatt, const bool
|
|||||||
look_plm(m, att);
|
look_plm(m, att);
|
||||||
real ad1, ad2;
|
real ad1, ad2;
|
||||||
|
|
||||||
if (tot != NULL)
|
if (tot == NULL)
|
||||||
{
|
{
|
||||||
|
tot = new _DescrItem(TOT_ROW);
|
||||||
|
_descr_arr.insert(tot, -1);
|
||||||
|
}
|
||||||
|
|
||||||
tot->_r6 += _pom->get_real("R0"); // acq. intracomunitari
|
tot->_r6 += _pom->get_real("R0"); // acq. intracomunitari
|
||||||
tot->_r7 += _pom->get_real("R1"); // inded. art 19
|
tot->_r7 += _pom->get_real("R1"); // inded. art 19
|
||||||
tot->_r8 += _pom->get_real("R2"); // IVA su inded. art. 19
|
tot->_r8 += _pom->get_real("R2"); // IVA su inded. art. 19
|
||||||
}
|
|
||||||
t->_r0 += _pom->get_real("R3"); // acq. ammortizz. detr
|
t->_r0 += _pom->get_real("R3"); // acq. ammortizz. detr
|
||||||
t->_r1 += _pom->get_real("R4"); // IVA acq. ammort. detr
|
t->_r1 += _pom->get_real("R4"); // IVA acq. ammort. detr
|
||||||
t->_r2 += _pum->get_real("R2"); // ammort. detr. 6%
|
t->_r2 += _pum->get_real("R2"); // ammort. detr. 6%
|
||||||
@ -1046,8 +1049,6 @@ void TLiquidazione_app::describe_pims(int month, const char* codatt, const bool
|
|||||||
t->_s0 = ttm;
|
t->_s0 = ttm;
|
||||||
|
|
||||||
t->_f0 = _prorata.percentuale(_year)!=INVALID_PRORATA && (month != 13); // flag per segnalare l'esistenza
|
t->_f0 = _prorata.percentuale(_year)!=INVALID_PRORATA && (month != 13); // flag per segnalare l'esistenza
|
||||||
if (tot != NULL)
|
|
||||||
{
|
|
||||||
tot->_r9 += _pom->get_real("R9"); // acq. inded. su ricavi esenti
|
tot->_r9 += _pom->get_real("R9"); // acq. inded. su ricavi esenti
|
||||||
tot->_r10 += _pom->get_real("R10"); // IVA acq. inded. su ricavi esenti
|
tot->_r10 += _pom->get_real("R10"); // IVA acq. inded. su ricavi esenti
|
||||||
|
|
||||||
@ -1058,7 +1059,6 @@ void TLiquidazione_app::describe_pims(int month, const char* codatt, const bool
|
|||||||
aipivp += _pum->get_real("R9"); // IVA acq. inded. per pass. int
|
aipivp += _pum->get_real("R9"); // IVA acq. inded. per pass. int
|
||||||
tot->_s0 = aipip.string(); // risbatto ...
|
tot->_s0 = aipip.string(); // risbatto ...
|
||||||
tot->_s1 = aipivp.string(); // ..
|
tot->_s1 = aipivp.string(); // ..
|
||||||
}
|
|
||||||
|
|
||||||
// spese generali.
|
// spese generali.
|
||||||
real spgnp(t->_s2); // progressivo ...
|
real spgnp(t->_s2); // progressivo ...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user