Correzioni quadro B

git-svn-id: svn://10.65.10.50/trunk@3247 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 1996-07-26 15:38:29 +00:00
parent 1683aee3fd
commit e4884eb6f9

View File

@ -4080,11 +4080,23 @@ TDipendente::TDipendente(const TCursor& cur)
_ragsoc = dip.get("COGNOME"); _ragsoc << ' ' << dip.get("NOME");
_codice_deceduto = dip.get_long("CODDIPDEC");
_codice_dipendente = rec.get_long("CODDIP");
_fine_rapporto = rec.get("DATAFR");
_lavoro_precedente = rec.get("CFDLPREC").not_empty();
_causa = rec.get_char("CAUSA");
_rettifica_conguaglio = rec.get_char("RETCON");
_numero_progressivo = rec.get_int("NPROG");
if (rec.num() == LF_QUAA)
{
_fine_rapporto = rec.get("DATAFR");
_lavoro_precedente = rec.get("CFDLPREC").not_empty();
_causa = rec.get_char("CAUSA");
_rettifica_conguaglio = rec.get_char("RETCON");
_numero_progressivo = rec.get_int("NPROG");
}
else
{
_fine_rapporto = rec.get("DATAFIN");
_lavoro_precedente = FALSE;
_causa = ' ';
_rettifica_conguaglio = ' ';
_numero_progressivo = rec.get_int("NPROG");
}
if (_rettifica_conguaglio == 'B' || !_fine_rapporto.ok())
_fine_rapporto = eotime;
@ -4604,7 +4616,7 @@ int TQuadroB::elementi_pagina(PaginaQuadro p) const
int TQuadroB::prima_riga(PaginaQuadro p) const
{
return p == PRIMA ? 34 : 5;
return p == PRIMA ? 32 : 6;
}
class TStampaQuadroB : public TStampaQuadroA