Patch level : 10.0 856
Files correlati : lv2.exe Ricompilazione Demo : [ ] Commento : Aggiiunta la descrizione aggiuntiva negli articoli a canone fisso git-svn-id: svn://10.65.10.50/branches/R_10_00@21269 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
8af2073e77
commit
561184b43b
@ -572,6 +572,7 @@ void TFatturazione_lavanderie::post_process(TLista_documenti& doc_out, TLista_do
|
||||
|
||||
const TString80 codartcfg = ini_get_string(CONFIG_DITTA, "lv", "Codartcafix");
|
||||
const TString80 descart = cache().get(LF_ANAMAG, codartcfg, ANAMAG_DESCR);
|
||||
const TString descragg = cache().get(LF_ANAMAG, codartcfg, ANAMAG_DESCRAGG);
|
||||
|
||||
// istanzio una token string e poi una cache per estrarre l'unità di misura dell articolo in configurazione da UMART
|
||||
TToken_string key;
|
||||
@ -599,6 +600,11 @@ void TFatturazione_lavanderie::post_process(TLista_documenti& doc_out, TLista_do
|
||||
riga.put(RDOC_PREZZO,totmerc);
|
||||
riga.put(RDOC_CODART,codartcfg);
|
||||
riga.put(RDOC_DESCR,descart);
|
||||
if (descragg.full())
|
||||
{
|
||||
riga.put(RDOC_DESCLUNGA, "X");
|
||||
riga.put(RDOC_DESCEST, descragg);
|
||||
}
|
||||
riga.put(RDOC_CODIVA,codiva);
|
||||
set_perc_provv(riga);
|
||||
set_perc_provv(riga, false);
|
||||
@ -612,6 +618,7 @@ void TFatturazione_lavanderie::post_process(TLista_documenti& doc_out, TLista_do
|
||||
const real canfis=contr.get_real(LVCONDV_IMPFIX);
|
||||
const TString80 codartcfg = ini_get_string(CONFIG_DITTA, "lv", "Codartfix");
|
||||
const TString80 descart = cache().get(LF_ANAMAG, codartcfg, ANAMAG_DESCR);
|
||||
const TString descragg = cache().get(LF_ANAMAG, codartcfg, ANAMAG_DESCRAGG);
|
||||
|
||||
// istanzio una token string e poi una cache per estrarre l'unità di misura dell articolo in configurazione da UMART
|
||||
TToken_string key;
|
||||
@ -642,6 +649,11 @@ void TFatturazione_lavanderie::post_process(TLista_documenti& doc_out, TLista_do
|
||||
fixrow.put(RDOC_PREZZO,canfis);
|
||||
fixrow.put(RDOC_CODART,codartcfg);
|
||||
fixrow.put(RDOC_DESCR,descart);
|
||||
if (descragg.full())
|
||||
{
|
||||
fixrow.put(RDOC_DESCLUNGA, "X");
|
||||
fixrow.put(RDOC_DESCEST, descragg);
|
||||
}
|
||||
fixrow.put(RDOC_CODIVA,codiva);
|
||||
|
||||
int tipocanfix = contr.get_int(LVCONDV_CANFIX);
|
||||
|
Loading…
x
Reference in New Issue
Block a user