Patch level : 10.0 patch 593

Files correlati     : lv2 lv3
Ricompilazione Demo : [ ]
Commento            :
Aggiunta la configurazione della datapart (richiesta Paolo su domanda Diana2000)


git-svn-id: svn://10.65.10.50/trunk@20002 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca83 2010-01-28 10:19:11 +00:00
parent 01639dcf9f
commit b5f3f979c1
3 changed files with 16 additions and 2 deletions

View File

@ -184,7 +184,15 @@ TObject* TBuoni_cache::key2obj(const char* key)
}
doc->put(DOC_STATO, _stato);
doc->put(DOC_DATADOC, datadoc);
if(ini_get_bool(CONFIG_DITTA, "lv", "DataBcon"))
{
doc.put(DOC_DATADOC, datagen);
doc.put(DOC_DATAPART, datadoc);
}
else
doc.put(DOC_DATADOC, datadoc);
doc->put(DOC_TIPOCF, 'C');
doc->put(DOC_CODCF, codcf);
doc->put(DOC_CODCONT, codcont);

View File

@ -458,7 +458,10 @@ void TEvasione_msk::genera_documento()
doc.put(DOC_STATO, stato);
if(ini_get_bool(CONFIG_DITTA, "lv", "DataBcon"))
{
doc.put(DOC_DATADOC, datagen);
doc.put(DOC_DATAPART, databolla);
}
else
doc.put(DOC_DATADOC, databolla);

View File

@ -422,8 +422,11 @@ void TEvasione_ter_msk::genera_buono()
doc.put(DOC_TIPODOC, tipodoc);
doc.put(DOC_STATO, stato);
if(ini_get_bool(CONFIG_DITTA, "lv", "DataBcon"))
if(ini_get_bool(CONFIG_DITTA, "lv", "DataBcon"))
{
doc.put(DOC_DATADOC, datagen);
doc.put(DOC_DATAPART, databolla);
}
else
doc.put(DOC_DATADOC, databolla);