Patch level :2.0 partners nopatch

Files correlati     :libs
Ricompilazione Demo : [ ]
Commento            :sistemato annoso problema del codice ditta che spariva in presenza di
		     profili;aggiunto file 145 agli archivi (saldi per commessa)


git-svn-id: svn://10.65.10.50/trunk@11608 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2003-11-20 11:04:45 +00:00
parent 808f9f7ff3
commit 88e8288d12
3 changed files with 14 additions and 3 deletions

View File

@ -86,7 +86,7 @@
#define LF_RETT 81
#define LF_ANALISI 82
#define LF_VOCI 83
#define LF_RELVOCI 84
#define LF_RELVOCI 84
#define LF_RELANA 85
#define LF_SVRIEP 86
#define LF_SVSTAT 87
@ -153,6 +153,7 @@
#define LF_MOVCE 142
#define LF_SALCE 143
#define LF_QUALA 144
#define LF_SALCECMS 145
#define LF_EXTERNAL 1000 // Files with id >= are considered to be externals

View File

@ -2066,7 +2066,10 @@ int TMask::save_profile(int num, const char* desc) const
ini.set(name, *row, NULL, TRUE, r);
}
else
ini.set(name, f.get());
{
if (!f.is_firm())
ini.set(name, f.get());
}
}
}
return num;
@ -2103,7 +2106,10 @@ int TMask::load_profile(int num, bool reset)
sf.force_update();
}
else
f.set(ini.get(name));
{
if (!f.is_firm())
f.set(ini.get(name));
}
}
}
}

View File

@ -206,6 +206,10 @@ public:
void allow_pipe(bool r = TRUE)
{ _flags.pipeallowed = r; }
// @stabilisce se un campo contiene il codice ditta
bool is_firm() const
{ return _flags.firm; }
// @cmember Ritorna il nome della classe
virtual const char* class_name() const;
// @cmember Ritorna l'identificatore della classe