- Correzione errore MI6137 su bilancio IV dir. CEE
- Correzione errori MI2180 - MI2182 su lista controllo movimenti in ricezione saldaconto - Correzione errore MI2181 su invio saldaconto a PC. git-svn-id: svn://10.65.10.50/trunk@3696 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
46e83d0a57
commit
e82dc73f32
@ -2169,6 +2169,11 @@ if (tasto == K_ENTER)
|
||||
{
|
||||
_tipo_stampa = atoi(_msk->get(F_TIPOSTAMPA));
|
||||
_prog = new TProgind(_pconti->items(),"Elaborazione in corso... prego attendere",FALSE);
|
||||
if (_tipo_stampa == 2)
|
||||
{
|
||||
_anno_esercizio = _annoese;
|
||||
_anno_esercizio_raf = _annoeserafr;
|
||||
}
|
||||
}
|
||||
else if (_tipo_bilancio == 2)
|
||||
{
|
||||
@ -3604,7 +3609,7 @@ void CG1600_application::stampa_saldo_198(real& saldo_d,real& saldo_a)
|
||||
set_row (_i,"@115g%r", &saldo_d);
|
||||
set_row (_i,"@48g!@81g!@114g!@131g!");
|
||||
set_row (_i,"@133g%r", &saldo_a);
|
||||
set_row (_i++,"@48g!@81g!@114g!@131g!");
|
||||
set_row (_i,"@48g!@81g!@114g!@131g!");
|
||||
saldo_d = real(ZERO);
|
||||
saldo_a = real(ZERO);
|
||||
}
|
||||
@ -3614,7 +3619,7 @@ void CG1600_application::stampa_saldo_132(const real& saldo)
|
||||
set_row (_i,"@115g%r", &saldo);
|
||||
set_row (_i,"@48g!@81g!@114g!");
|
||||
if (saldo != ZERO)
|
||||
set_row (_i++,"@131g%c", _tot_sez_saldo);
|
||||
set_row (_i,"@131g%c", _tot_sez_saldo);
|
||||
}
|
||||
|
||||
print_action CG1600_application::postprocess_page(int file, int counter)
|
||||
|
@ -94,7 +94,7 @@ class TRic_ListaMov : public TPrintapp
|
||||
char _sdt, _sezione, _tipocf, _sez;
|
||||
int _ae, _anno, _gruppo, _conto, _tipocr, _tipod, _tiporeg, _tipomov, _tipopag, _nriga;
|
||||
int _gruppoc, _contoc, _gruppocr, _contocr, _annoiva, _gruppocl, _contocl, _numrig, _annoese;
|
||||
int _gruppo_p, _conto_p;
|
||||
int _gruppo_p, _conto_p, _anno_prec;
|
||||
TDate _datacomp, _datadoc, _datareg, _data74tr, _datacam, _datacam_part,_datapag;
|
||||
real _importo, _impo, _impos, _tot_dare, _tot_avere, _tot_doc, _tot_val;
|
||||
real _cambio, _cambio_part;
|
||||
@ -1471,22 +1471,28 @@ bool TRic_ListaMov::controlla_scadenze()
|
||||
scad.readat(nrec);
|
||||
return TRUE;
|
||||
}
|
||||
if (!cerca_codpag(codpag))
|
||||
{
|
||||
scad.readat(nrec);
|
||||
if (codpag.not_empty()) // Modifica 01-10-96 chiesta da Patrizia: se il codice di
|
||||
{ // pagamento non e' significativo non va controllato,
|
||||
if (!cerca_codpag(codpag)) // altrimenti si presenta l'errore su quelle partite
|
||||
{ // generate in automatico dove non e' possibile indicare
|
||||
scad.readat(nrec); // il codice di pagamento.
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
if (tipopag < 1 || tipopag > 9)
|
||||
{
|
||||
scad.readat(nrec);
|
||||
return TRUE;
|
||||
}
|
||||
if (codpag.not_empty()) // Modifica 01-10-96 idem come sopra
|
||||
{
|
||||
cerca_tipopag_codpag(codpag,tipopag);
|
||||
if (tipopag != _tipopag_pag)
|
||||
{
|
||||
scad.readat(nrec);
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
if (ultclass.not_empty())
|
||||
{
|
||||
if (!ulteriore_classificazione(tipopag,ultclass))
|
||||
@ -1660,22 +1666,28 @@ void TRic_ListaMov::stampa_errori_scadenze(int riga)
|
||||
_errore_grave_SC = TRUE;
|
||||
set_row(++riga, "@30g%s", (const char*) err_msg[24]);
|
||||
}
|
||||
if (codpag.not_empty()) // Modifica 01-10-96 chiesta da Patrizia: per spiegazione vedi
|
||||
{ // funzione controlla_scadenze();
|
||||
if (!cerca_codpag(codpag))
|
||||
{
|
||||
_errore_grave_SC = TRUE;
|
||||
set_row(++riga, "@30g*** Codice pagamento non valido o non presente in tabella");
|
||||
}
|
||||
}
|
||||
if (tipopag < 1 || tipopag > 9)
|
||||
{
|
||||
_errore_grave_SC = TRUE;
|
||||
set_row(++riga, "@30g%s", (const char*) err_msg[19]);
|
||||
}
|
||||
if (codpag.not_empty()) // Modifica 01-10-96 idem come sopra
|
||||
{
|
||||
cerca_tipopag_codpag(codpag,tipopag);
|
||||
if (tipopag != _tipopag_pag)
|
||||
{
|
||||
_errore_grave_SC = TRUE;
|
||||
set_row(++riga, "@30g%s", (const char*) err_msg[40]);
|
||||
}
|
||||
}
|
||||
if (ultclass.not_empty())
|
||||
{
|
||||
if (!ulteriore_classificazione(tipopag,ultclass))
|
||||
@ -2294,11 +2306,13 @@ bool TRic_ListaMov::preprocess_page(int file,int counter)
|
||||
set_row(r++," @b%-50s", (const char*) _descr_anag);
|
||||
}
|
||||
// II riga di testata (L'intestazione viene stampata solo a rottura di partita)
|
||||
if (_numpart != _numpart_prec)
|
||||
if (_gruppo != _gruppo_p || _conto != _conto_p || _codcf != _codcf_p
|
||||
|| _numpart != _numpart_prec || _anno != _anno_prec)
|
||||
set_row(r,"@0g@rRif. partita");
|
||||
set_row(r,"@14gN.riga@22gN.operaz./riga Data oper. Data doc. N.doc. Reg Prot. Causale");
|
||||
set_row(r++,"@142gTipo/Data pag. Cod.val Cambio Data cambio Sez");
|
||||
if (_numpart != _numpart_prec)
|
||||
if (_gruppo != _gruppo_p || _conto != _conto_p || _codcf != _codcf_p
|
||||
|| _numpart != _numpart_prec || _anno != _anno_prec)
|
||||
{
|
||||
set_row(r,"%4d", _anno);
|
||||
set_row(r,"@4g/%-7s", (const char*) _numpart);
|
||||
@ -2340,6 +2354,7 @@ bool TRic_ListaMov::preprocess_page(int file,int counter)
|
||||
|
||||
_prima_rata_pag = TRUE;
|
||||
_numpart_prec = _numpart;
|
||||
_anno_prec = _anno;
|
||||
|
||||
_ho_stampato = TRUE;
|
||||
return TRUE;
|
||||
|
@ -1260,7 +1260,7 @@ void TInv_cont::invio_partite()
|
||||
|
||||
TString datacam = _tpart->get(PART_DATACAM);
|
||||
datastr = riconverti(datacam,TRUE);
|
||||
str.format("%08s", (const char*) datacam);
|
||||
str.format("%08s", (const char*) datastr);
|
||||
record.overwrite(str,245); //Data cambio
|
||||
|
||||
real imptotdoc (_tpart->get_real(PART_IMPTOTDOC));
|
||||
|
Loading…
x
Reference in New Issue
Block a user