Patch level :10.0

Files correlati     :lv2.exe
Ricompilazione Demo : [ ]
Commento            :
Correzzioni sulla gestione del valore convenzionale


git-svn-id: svn://10.65.10.50/trunk@18728 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
rajitgill 2009-04-17 14:07:39 +00:00
parent 25c8f614b9
commit 90f27e8dfe

View File

@ -267,6 +267,15 @@ void TFatturazione_lavanderie::post_process_output(TLista_documenti& doc_out)
{
rout.put(RDOC_QTA, UNO);
rout.put(RDOC_PREZZO, impconvtot);
for (int k = doc.physical_rows(); k>i; k--)
{
TRiga_documento& delrow = doc[k];
const TString80 codart=delrow.get(RDOC_CODART);
const TRectype & rcont=contr.row(codart);
const char tipvalconvcli = rcont.get_char(LVRCONDV_VCARTCLI);
if (tipvalconvcli=='C')
doc.destroy_row(k,true);
}
}
}
}