Patch level :AGA 2.0 362

Files correlati     :cg1.exe cg2.exe cg3.exe cg5.exe
Ricompilazione Demo : [ ]
Commento            :sistemati errori di compilazione versione AGA 32bit


git-svn-id: svn://10.65.10.50/trunk@10680 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2002-12-17 12:02:54 +00:00
parent 904254c0fa
commit 2d90905b1e
4 changed files with 12 additions and 13 deletions

@ -110,6 +110,7 @@ class TStampa_bilanci : public TPrintapp
TString _cofi,_cap,_paiva,_ragsoc,_comunefis,_provfis,_viafis;
TString _descr_dare, _descr_avere, _gc_corr_dare, _gc_corr_avere, _descr;
TString _gc_prec_dare, _gc_prec_avere, _situazione, _descr_succ;
TString _tmp;
char _tipo_conto, _tipoc_succ;
int _annoes, _bilancio, _tipo_stampa, _tipo_stampa1,_stampa_width,_gp,_cp,_i;
@ -3670,7 +3671,7 @@ const char* TStampa_bilanci::DescrizioneConto(int g, int c, long s, char tipocf)
pconti.put(PCN_SOTTOCONTO, s);
pconti.read();
if (pconti.good())
tmp = pconti.get(PCN_DESCR);
_tmp = pconti.get(PCN_DESCR);
else
{
clifo.setkey(1); //occorre settare la chiave 1, anche se di solito e' di default, poiche' nella create il file clifo e' stato aperto con la chiave 3
@ -3693,12 +3694,12 @@ const char* TStampa_bilanci::DescrizioneConto(int g, int c, long s, char tipocf)
}
else
desc = clifo.get("RAGSOC");
tmp = desc;
_tmp = desc;
}
else
tmp = "";
_tmp = "";
}
return tmp;
return _tmp;
}
bool TStampa_bilanci::user_create()

@ -862,8 +862,6 @@ bool TGame_mask::partite_notify(TSheet_field& partite, int r, KEY k)
gm._riga_partite = r;
TWait_cursor hourglass;
TSheet_field& sheet = gm.scadenze();
sheet.destroy(-1, FALSE); // Azzera righe

@ -2197,7 +2197,7 @@ bool TMastrini_application::preprocess_page(int file, int counter)
_flag_del_cazzo = FALSE;
}
if (!_stampa_des_contro)
set_row (_rw,"@135g%r", &saldo_prog);
set_row (_rw,"@135g%r", &_saldo_progressivi);
}
rmov.readat(rec);

@ -1084,7 +1084,7 @@ void Visliq_app::recalc_liq_data(TViswin* vsw, real& rimb, real& rett, real& ver
// una sburlata di search ......
int x = 0;
long lvers = -1l;
long line = vsw.search("CALCOLO LIQUIDAZIONE D'IMPOSTA", x);
long line = vsw->search("CALCOLO LIQUIDAZIONE D'IMPOSTA", x);
int wasdebt = ris.sign();
long lrisd = vsw->search("RISULTATO", x, line, TRUE); // RISULTATO a debito
long lrisc = vsw->search("RISULTATO", x, lrisd+1, TRUE); // credito
@ -1101,10 +1101,10 @@ void Visliq_app::recalc_liq_data(TViswin* vsw, real& rimb, real& rett, real& ver
long lrimb = vsw->search(iadoc > 0 ? "Rimborsi" : "Iva chiesta a rimborso",x,line,TRUE);
if (wasdebt != 0)
lvers = vsw.search(wasdebt < 0 ? "CREDITO ATTUALE" : "IVA DA VERSARE",
lvers = vsw->search(wasdebt < 0 ? "CREDITO ATTUALE" : "IVA DA VERSARE",
x, line, TRUE);
if (lvers == -1l)
lvers = vsw.search("IVA A DEBITO DA NON VERSARE", x, line, TRUE);
lvers = vsw->search("IVA A DEBITO DA NON VERSARE", x, line, TRUE);
if (lvers == -1l)
lvers = lrisc+1l;
@ -1128,8 +1128,8 @@ void Visliq_app::recalc_liq_data(TViswin* vsw, real& rimb, real& rett, real& ver
}
else
{
vsw.replace(lrettc, " ", 58);
vsw.replace(lrettd, " ", 75);
vsw->replace(lrettc, " ", 58);
vsw->replace(lrettd, " ", 75);
}
if (iadoc > 0) // New Age 2000
@ -1305,7 +1305,7 @@ void Visliq_app::recalc_liq_data(TViswin* vsw, real& rimb, real& rett, real& ver
replace_number(vsw, lcicd, credito_utilizzato_iva, 58);
}
vsw.refresh();
vsw->refresh();
}
void Visliq_app::recalc_next_liq(int start_month, TSheet_field* sl, TSheet_field* sv)