Patch level : 10.0 288
Files correlati : ve0.exe pe0.exe Ricompilazione Demo : [ ] Commento : Salvato l'ultimo documento nel pragrafo di modulo in moodo che i es. documenti lavanderia non vengagano richiamati da ve0 Preventivi/incarichi (Dinamica) git-svn-id: svn://10.65.10.50/trunk@18771 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
c39e023ac9
commit
6d7f69f633
@ -41,7 +41,7 @@
|
||||
#define RDOC_CODIVA "CODIVA"
|
||||
#define RDOC_ADDIVA "ADDIVA"
|
||||
#define RDOC_ASPBENI "ASPBENI"
|
||||
#define RDOC_G1 "G1"
|
||||
#define RDOC_RG1 "RG1"
|
||||
#define RDOC_CAUSMAG "CAUSMAG"
|
||||
#define RDOC_MOVMAG "MOVMAG"
|
||||
#define RDOC_CODMAGC "CODMAGC"
|
||||
|
@ -97,6 +97,7 @@
|
||||
#define BMP_PREVIEW 176
|
||||
#define BMP_FONT 179
|
||||
#define BMP_COPY 180
|
||||
#define BMP_PASTE 181
|
||||
|
||||
//immagini bottoni barre strumenti principali
|
||||
//-------------------------------------------
|
||||
|
@ -579,7 +579,7 @@ bool TMotore_application::user_create( )
|
||||
}
|
||||
}
|
||||
|
||||
TConfig utente(CONFIG_GUI, "ve");
|
||||
TConfig utente(CONFIG_GUI, app().name().left(2));
|
||||
if (_codnum.blank())
|
||||
_codnum = utente.get("CODNUM");
|
||||
if (_tipodoc.blank())
|
||||
@ -594,7 +594,7 @@ bool TMotore_application::user_create( )
|
||||
bool TMotore_application::user_destroy( )
|
||||
{
|
||||
// Registro l'ultimo tipo documento e l'ultima numerazione
|
||||
TConfig utente( CONFIG_GUI, "ve" );
|
||||
TConfig utente( CONFIG_GUI, app().name().left(2) );
|
||||
utente.set( "CODNUM", _codnum );
|
||||
utente.set( "TIPODOC", _tipodoc );
|
||||
|
||||
|
@ -706,6 +706,8 @@ void TDocumento::copy_data(TRectype& dst, const TRectype& src)
|
||||
dst.zero(RDOC_MOVMAG);
|
||||
const TString memo = src.get(RDOC_DESCEST);
|
||||
dst.put(RDOC_DESCEST, memo);
|
||||
const TString g1 = src.get(RDOC_RG1);
|
||||
dst.put(RDOC_RG1, g1);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user