corretto errori MI6121, MI6123, MI6124, MI6141, MI6145, MI6151, MI3455
git-svn-id: svn://10.65.10.50/trunk@4039 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
76407846bd
commit
3c9bd9c26f
@ -2934,7 +2934,9 @@ void CG1500_application::set_page(int file, int counter)
|
||||
if (_stampa_width == 132)
|
||||
{
|
||||
set_row(r,"@1g%6ld",(const char*)_sottoconto);
|
||||
set_row(r," %s",(const char*)udata);
|
||||
if ((_saldo_dare != ZERO) || (_saldo_avere != ZERO) || (_mov_dare != ZERO) ||
|
||||
(_mov_avere != ZERO) || (_saldofinale != ZERO))
|
||||
set_row(r," %s",(const char*)udata);
|
||||
set_row(r,"@18g#a@49g!@50g%r@67g%r@82g!@83g%r@99g%r@114g!@115g%r",_d,&_saldo_dare,
|
||||
&_saldo_avere,&_mov_dare,&_mov_avere,&_saldofinale);
|
||||
if (_saldofinale != ZERO)
|
||||
@ -2945,7 +2947,9 @@ void CG1500_application::set_page(int file, int counter)
|
||||
else if (app == 'D')
|
||||
{
|
||||
set_row(r,"@1g%6ld",(const char*)_sottoconto);
|
||||
set_row(r," %s",(const char*)udata);
|
||||
if ((_saldo_dare != ZERO) || (_saldo_avere != ZERO) || (_mov_dare != ZERO) ||
|
||||
(_mov_avere != ZERO) || (_saldofinale != ZERO))
|
||||
set_row(r," %s",(const char*)udata);
|
||||
set_row(r,"@18g#a@49g!@50g%r@67g%r@82g!@83g%r@100g%r@115g!@116g%r@148g!",_d,
|
||||
&_saldo_dare,&_saldo_avere,&_mov_dare,&_mov_avere,&_saldofinale);
|
||||
if (_descr.len() > 30)
|
||||
@ -2954,7 +2958,9 @@ void CG1500_application::set_page(int file, int counter)
|
||||
else
|
||||
{
|
||||
set_row(r,"@1g%6ld",(const char*)_sottoconto);
|
||||
set_row(r," %s",(const char*)udata);
|
||||
if ((_saldo_dare != ZERO) || (_saldo_avere != ZERO) || (_mov_dare != ZERO) ||
|
||||
(_mov_avere != ZERO) || (_saldofinale != ZERO))
|
||||
set_row(r," %s",(const char*)udata);
|
||||
set_row(r,"@18g#a@49g!@50g%r@67g%r@82g!@83g%r@100g%r@115g!@132g%r@148g!",
|
||||
_d,&_saldo_dare,&_saldo_avere,&_mov_dare,&_mov_avere,&_saldofinale);
|
||||
if (_descr.len() > 30)
|
||||
@ -3014,7 +3020,10 @@ void CG1500_application::set_page(int file, int counter)
|
||||
if (_stampa_width == 132)
|
||||
{
|
||||
set_row(r,"@1g%6ld",(const char*)_sottoconto_succ);
|
||||
set_row(r," %s",(const char*)udata);
|
||||
if ((_saldoini_dare_succ != ZERO) || (_saldoini_avere_succ != ZERO) ||
|
||||
(_mov_dare_succ != ZERO) || (_mov_avere_succ != ZERO) ||
|
||||
(_saldofinale_succ != ZERO))
|
||||
set_row(r," %s",(const char*)udata);
|
||||
set_row(r,"@18g#a@49g!@50g%r@67g%r@82g!@83g%r@99g%r@114g!@115g%r",
|
||||
_d,&_saldoini_dare_succ,&_saldoini_avere_succ,
|
||||
&_mov_dare_succ,&_mov_avere_succ,&_saldofinale_succ);
|
||||
@ -3026,7 +3035,10 @@ void CG1500_application::set_page(int file, int counter)
|
||||
else if (app == 'D')
|
||||
{
|
||||
set_row(r,"@1g%6ld",(const char*)_sottoconto_succ);
|
||||
set_row(r," %s",(const char*)udata);
|
||||
if ((_saldoini_dare_succ != ZERO) || (_saldoini_avere_succ != ZERO) ||
|
||||
(_mov_dare_succ != ZERO) || (_mov_avere_succ != ZERO) ||
|
||||
(_saldofinale_succ != ZERO))
|
||||
set_row(r," %s",(const char*)udata);
|
||||
set_row(r,"@18g#a@49g!@50g%r@67g%r@82g!@83g%r@100g%r@115g!@116g%r@148g!",
|
||||
_d,&_saldoini_dare_succ,&_saldoini_avere_succ,
|
||||
&_mov_dare_succ,&_mov_avere_succ,&_saldofinale_succ);
|
||||
@ -3036,7 +3048,10 @@ void CG1500_application::set_page(int file, int counter)
|
||||
else
|
||||
{
|
||||
set_row(r,"@1g%6ld",(const char*)_sottoconto_succ);
|
||||
set_row(r," %s",(const char*)udata);
|
||||
if ((_saldoini_dare_succ != ZERO) || (_saldoini_avere_succ != ZERO) ||
|
||||
(_mov_dare_succ != ZERO) || (_mov_avere_succ != ZERO) ||
|
||||
(_saldofinale_succ != ZERO))
|
||||
set_row(r," %s",(const char*)udata);
|
||||
set_row(r,"@18g#a@49g!@50g%r@67g%r@82g!@83g%r@100g%r@115g!@132g%r@148g!",
|
||||
_d,&_saldoini_dare_succ,&_saldoini_avere_succ,
|
||||
&_mov_dare_succ,&_mov_avere_succ,&_saldofinale_succ);
|
||||
|
7896
cg/cg3200.cpp
7896
cg/cg3200.cpp
File diff suppressed because it is too large
Load Diff
1062
cg/cg3200a.uml
1062
cg/cg3200a.uml
File diff suppressed because it is too large
Load Diff
@ -137,10 +137,12 @@ real TSaldo::saldofin_esprec(int annoes, int g, int c, long s, bool saldo_chiusu
|
||||
const real saldo = _saldi.get_real(SLD_SALDO);
|
||||
const real pdare = _saldi.get_real(SLD_PDARE);
|
||||
const real pavere = _saldi.get_real(SLD_PAVERE);
|
||||
const real pdarepro = _saldi.get_real(SLD_PDAREPRO);
|
||||
const real paverepro = _saldi.get_real(SLD_PAVEREPRO);
|
||||
const char flagsf = _saldi.get_char(SLD_FLAGSALFIN);
|
||||
const real saldosf = _saldi.get_real(SLD_SALDOFIN);
|
||||
|
||||
real tot = pdare-pavere;
|
||||
real tot = pdare-pavere;
|
||||
|
||||
if (flag == 'D') tot += saldo;
|
||||
else tot -= saldo;
|
||||
@ -375,7 +377,10 @@ bool TSaldo::ultima_immissione_verifica(int annoes,int g,int c,long s,int indbil
|
||||
return esito;
|
||||
// if (stp_prov == 0 && paverepro == ZERO)
|
||||
if (stp_prov == 3 && paverepro == ZERO && pdarepro == ZERO) // Modifica del 24-09-96 errore MI0890.
|
||||
return esito;
|
||||
{
|
||||
_saldo = _prg_dare = _prg_avere = ZERO; // N.B. Non e' detto che funzioni sempre!!!!!!
|
||||
return esito;
|
||||
}
|
||||
|
||||
if (sezione == 'A') _saldo_iniziale = -_saldo_iniziale;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user