Liquidazion funzion perfezion nonostant ducoion

git-svn-id: svn://10.65.10.50/trunk@1624 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
villa 1995-07-20 10:29:38 +00:00
parent eb32e8ff41
commit 3de042b53a
3 changed files with 2270 additions and 2270 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -696,7 +696,7 @@ void TLiquidazione_app::describe_pims(int month, const char* codatt)
if (pr != _prorata)
{
// calcolo conguaglio -- se positivo e' a debito
topay = iaq * (pr / CENTO);
topay = (iaq + ppg) * (pr / CENTO);
co = topay - ppg;
co.round(ROUND_LIRA);
}
@ -754,7 +754,9 @@ void TLiquidazione_app::describe_liq(int month, const char* codatts,
d->_s2 = _lim->get_real("R12").string();
d->_s3 = _lim->get_real("R13").string();
d->_r11 = (const char*)_lim->get("R10"); // tasso di interesse
d->_f1 = is_first_month(month);
if (_is_visliq)
{
// tutti i versamenti, sempre e comunque
@ -1283,7 +1285,7 @@ void TLiquidazione_app::set_grand(_DescrItem& d)
set_row(rw++,"@11gRISULTATO@75g%r", &res_debt);
set_row(rw++,"@11gIva sulle operazioni di acquisto@58g%r", &iva_acq);
if (_isannual)
if (_isannual || d._f1)
set_row(rw++,"@11gCredito inizio anno@58g%r", &cred_prec);
else
set_row(rw++,"@11gCredito precedente@58g%r", &cred_prec);
@ -1301,7 +1303,7 @@ void TLiquidazione_app::set_grand(_DescrItem& d)
if (_is_visliq)
{
// stampa ad uso visualizzazione liquidazione IVA
// set_row(rw++,"@11g$[r]Versamenti effettuati$[n]@58g%r", &versamenti);
set_row(rw++,"@11g$[r]Versamenti effettuati$[n]@58g%r", &versamenti);
}
else
{