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

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

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