Correzioni quadro B
git-svn-id: svn://10.65.10.50/trunk@3247 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
1683aee3fd
commit
e4884eb6f9
@ -4080,11 +4080,23 @@ TDipendente::TDipendente(const TCursor& cur)
|
|||||||
_ragsoc = dip.get("COGNOME"); _ragsoc << ' ' << dip.get("NOME");
|
_ragsoc = dip.get("COGNOME"); _ragsoc << ' ' << dip.get("NOME");
|
||||||
_codice_deceduto = dip.get_long("CODDIPDEC");
|
_codice_deceduto = dip.get_long("CODDIPDEC");
|
||||||
_codice_dipendente = rec.get_long("CODDIP");
|
_codice_dipendente = rec.get_long("CODDIP");
|
||||||
_fine_rapporto = rec.get("DATAFR");
|
|
||||||
_lavoro_precedente = rec.get("CFDLPREC").not_empty();
|
if (rec.num() == LF_QUAA)
|
||||||
_causa = rec.get_char("CAUSA");
|
{
|
||||||
_rettifica_conguaglio = rec.get_char("RETCON");
|
_fine_rapporto = rec.get("DATAFR");
|
||||||
_numero_progressivo = rec.get_int("NPROG");
|
_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())
|
if (_rettifica_conguaglio == 'B' || !_fine_rapporto.ok())
|
||||||
_fine_rapporto = eotime;
|
_fine_rapporto = eotime;
|
||||||
@ -4604,7 +4616,7 @@ int TQuadroB::elementi_pagina(PaginaQuadro p) const
|
|||||||
|
|
||||||
int TQuadroB::prima_riga(PaginaQuadro p) const
|
int TQuadroB::prima_riga(PaginaQuadro p) const
|
||||||
{
|
{
|
||||||
return p == PRIMA ? 34 : 5;
|
return p == PRIMA ? 32 : 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
class TStampaQuadroB : public TStampaQuadroA
|
class TStampaQuadroB : public TStampaQuadroA
|
||||||
|
Loading…
x
Reference in New Issue
Block a user