Corretti alcuni scazzi. Probabilmente il file e' stato trasferito male in precedenza
git-svn-id: svn://10.65.10.50/trunk@1951 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
529f295203
commit
43dd58b2e2
@ -791,15 +791,14 @@ void TLiquidazione_app::recalc_att(int month, const char* codatt)
|
||||
* senza porsi domande e mettendo NUMERI uguali
|
||||
* al TIPO RECORD del frigorifero
|
||||
*/
|
||||
if ( if (_isagricolo)
|
||||
{
|
||||
/*
|
||||
* rifatto sensu Scudler 1995 con invidiabile sicurezza
|
||||
a;
|
||||
if (tipomov == vendita)
|
||||
{
|
||||
if (tipoagr == 1 || tipoagr == 3)
|
||||
{
|
||||
agr_1 += imposta;
|
||||
agr_1i += imponibile;
|
||||
}
|
||||
a;
|
||||
agr_1i )
|
||||
else if (tipoagr == 2)
|
||||
{
|
||||
agr_2 += imposta;
|
||||
agr_2i += imponibile;
|
||||
@ -912,13 +911,16 @@ void TLiquidazione_app::recalc_att(int month, const char* codatt)
|
||||
|
||||
/*
|
||||
* la stramadonna dei corrispettivi gia' scorporati
|
||||
* Gli si aggiungono i non incassati, sperando in bene
|
||||
* Gli s
|
||||
|
||||
/* le porche fatture in ritardo */
|
||||
TToken_string fr(_pim->get("S1"));
|
||||
real rti(fr.geti aggiungono i non incassati, sperando in bene
|
||||
*/
|
||||
TToken_string cs(_pim->get("S2"));
|
||||
real csi(cs.get(0));
|
||||
|
||||
real csv(cs.get(1));
|
||||
/* incrociamm'e dituozz' */
|
||||
csi += nin_imp;
|
||||
|
||||
csv += nin_iva;
|
||||
csv += nin_iva;
|
||||
|
||||
rti += rit_imp;
|
||||
@ -932,8 +934,7 @@ void TLiquidazione_app::recalc_att(int month, const char* codatt)
|
||||
else
|
||||
{
|
||||
fsi += asimp_imp;
|
||||
fsv += asimp_iva;
|
||||
bdi += bolld_imp;
|
||||
+= bolld_imp;
|
||||
bdv += bolld_iva;
|
||||
}
|
||||
|
||||
|
@ -1048,18 +1048,20 @@ void TLiquidazione_app::set_plafond(_DescrItem& d)
|
||||
|
||||
set_print_zero(TRUE);
|
||||
|
||||
set_row(1,"QUADRO RELATIVO ALLA DISPONIBILITA' ED ALL'UTILIZZO "
|
||||
set_row(1,"QUADRO RELATIVO ALLAm&)_errors[i];
|
||||
if (d._s2 == s._att && s._firm == d._s0)
|
||||
{ j++; set_row(i+10, "@5g@b*** %s ***@r", (const char*)s._err); }
|
||||
}
|
||||
if (j) set_auto_ff(TRUE);
|
||||
}
|
||||
|
||||
|
||||
void TLiquidazione_app::set_plafond(_DescrItem& d)
|
||||
{ DISPONIBILITA' ED ALL'UTILIZZO "
|
||||
"MENSILE DEI PLAFOND");
|
||||
|
||||
set_row(2,""); set_row(3,"");
|
||||
set_row(4,"Art. 8 1° comma lettere a-b@31gDisponibile@48g%r",
|
||||
&(d._r2));
|
||||
set_row(5,"Utilizzato all'interno@48g%r", &(d._r0));
|
||||
set_row(6,"Utilizzato per l'importazione@48g%r@69gRiporto@78g%r",
|
||||
&(d._r1), &r1);
|
||||
|
||||
set_row(7,"");
|
||||
set_row(8,"Art. 8bis 1° comma@31gDisponibile@48g%r",
|
||||
set_row(4,"Art. 8 1° is 1° comma@31gDisponibile@48g%r",
|
||||
&(d._r5));
|
||||
set_row(9,"Utilizzato all'interno@48g%r", &(d._r3));
|
||||
set_row(10,"Utilizzato per l'importazione@48g%r@69gRiporto@78g%r",
|
||||
@ -1950,25 +1952,22 @@ void TLiquidazione_app::set_viaggio(_DescrItem& d)
|
||||
real aliva = aliquota_agvia();
|
||||
real alcnt = aliva + CENTO;
|
||||
real dovuta = (bi/(alcnt/CENTO)) * (aliva/CENTO);
|
||||
());
|
||||
|
||||
set_row(26,"Base imponibile lorda@40g%t %t@100g%r", &up, &den, &bi);
|
||||
set_row(27,"");
|
||||
|
||||
if (bi.sign() > 0)
|
||||
{
|
||||
dovuta.ceil(ROUND_LIRA); // ceil voluto da MI3074
|
||||
tmp;
|
||||
up << " x " << aliva.s + 2;
|
||||
dovuta.ceil(ROUND_LIRA); // ceil voluto da MI3074
|
||||
|
||||
tmp = bi.string(REAL_PICTURE); tmp.ltrim();
|
||||
up = tmp;
|
||||
up << " x " << aliva.string(5,2);
|
||||
dn = alcnt.string();
|
||||
ln = max(up.len(), 3) + 2;
|
||||
den.fill('-',ln);
|
||||
up.center_just(ln); dn.center_just(ln);
|
||||
|
||||
tmp.fill('.', 59 - den.len());
|
||||
|
||||
set_row(28,"@40g%t",&up);
|
||||
set_roow(28,"@40g%t",&up);
|
||||
set_row(29,"IVA A DEBITO@40g%t %t@100g%r", &den, &tmp, &dovuta);
|
||||
|
||||
set_row(30,"@40g%t", &dn);
|
||||
}
|
||||
else if (bi.sign() < 0)
|
||||
{
|
||||
bi = abs(bi);
|
||||
|
Loading…
x
Reference in New Issue
Block a user