Patch level : 10.0 patch 563

Files correlati     : lv3
Ricompilazione Demo : [ ]
Commento            :
Le righe devono essere disabilitate solo se evase completamente; in caso di causale di solo ritiro e/o reso devo poter modificare le quantità


git-svn-id: svn://10.65.10.50/trunk@20153 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca83 2010-02-22 15:41:50 +00:00
parent fcf67a6ea4
commit d0b4359a49

View File

@ -1311,7 +1311,7 @@ int TGestione_buoni_app::read(TMask& m)
TSheet_field& sheet = mask.sfield(F_SHEET);
FOR_EACH_SHEET_ROW(sheet, i, riga)
{
if (riga->get_int(sheet.cid2index(FR_QTAEVASA)) == riga->get_int(sheet.cid2index(FR_QTA)))
if (riga->get_int(sheet.cid2index(FR_QTA)) > 0 && riga->get_int(sheet.cid2index(FR_QTAEVASA)) == riga->get_int(sheet.cid2index(FR_QTA)))
{
sheet.disable_row(i);
continue;