Cambiato nome campo ART74/4 in ART74_4
git-svn-id: svn://10.65.10.50/trunk@1992 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
318b0d683e
commit
5d597ccaef
@ -256,7 +256,7 @@ bool TLiquidazione_app::user_create()
|
|||||||
atts.put("CODATT", attprev);
|
atts.put("CODATT", attprev);
|
||||||
if (atts.read() != NOERR) atts.zero();
|
if (atts.read() != NOERR) atts.zero();
|
||||||
// istanzia benzinaro
|
// istanzia benzinaro
|
||||||
_isbenzinaro = atts.get_bool("ART74/4");
|
_isbenzinaro = atts.get_bool("ART74_4");
|
||||||
|
|
||||||
// riaggiusta relazione
|
// riaggiusta relazione
|
||||||
_nditte->read();
|
_nditte->read();
|
||||||
|
@ -103,7 +103,7 @@ bool TLiquidazione_app::extract_deleghe()
|
|||||||
|
|
||||||
if (is_month_ok_strict(_month) || _month == 13)
|
if (is_month_ok_strict(_month) || _month == 13)
|
||||||
{
|
{
|
||||||
_isbenzinaro = _nditte->curr(LF_ATTIV).get_bool("ART74/4");
|
_isbenzinaro = _nditte->curr(LF_ATTIV).get_bool("ART74_4");
|
||||||
bool mens = _freqviva == "M";
|
bool mens = _freqviva == "M";
|
||||||
//_isannual = (_month == 12 && !mens && !_isbenzinaro) ||
|
//_isannual = (_month == 12 && !mens && !_isbenzinaro) ||
|
||||||
// (_month == 13 && (mens || _isbenzinaro));
|
// (_month == 13 && (mens || _isbenzinaro));
|
||||||
@ -354,7 +354,7 @@ bool TLiquidazione_app::recalc_acconti(real& inf, real& ina)
|
|||||||
|
|
||||||
TApplication::set_firm(_nditte->curr().get_long("CODDITTA"));
|
TApplication::set_firm(_nditte->curr().get_long("CODDITTA"));
|
||||||
|
|
||||||
_isbenzinaro = _nditte->curr(LF_ATTIV).get_bool("ART74/4");
|
_isbenzinaro = _nditte->curr(LF_ATTIV).get_bool("ART74_4");
|
||||||
|
|
||||||
look_lia();
|
look_lia();
|
||||||
_freqviva = _lia->get("S7");
|
_freqviva = _lia->get("S7");
|
||||||
@ -422,7 +422,7 @@ bool TLiquidazione_app::recalc_acconto(real& inf, real& ina)
|
|||||||
atts.put("CODDITTA", codd);
|
atts.put("CODDITTA", codd);
|
||||||
atts.put("CODATT", attprev);
|
atts.put("CODATT", attprev);
|
||||||
if (atts.read() != NOERR) atts.zero();
|
if (atts.read() != NOERR) atts.zero();
|
||||||
if (atts.get_bool("ART74/4")) // e' proprio un gran benzinaro
|
if (atts.get_bool("ART74_4")) // e' proprio un gran benzinaro
|
||||||
{
|
{
|
||||||
TConfig cnf(CONFIG_DITTA, "cg");
|
TConfig cnf(CONFIG_DITTA, "cg");
|
||||||
history = cnf.get_bool("GesT74") ? mm : tt;
|
history = cnf.get_bool("GesT74") ? mm : tt;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user