|
@@ -36,16 +36,16 @@ public class ProductHoldingControl : DynamicDataGrid<StockHolding>, IProductCont
|
|
|
base.Reload(criteria, columns, ref sort, action);
|
|
|
}
|
|
|
|
|
|
- protected override bool FilterRecord(CoreRow row)
|
|
|
- {
|
|
|
- var result = base.FilterRecord(row);
|
|
|
- if (result)
|
|
|
- {
|
|
|
- var qty = row.Get<StockHolding, double>(x => x.Qty);
|
|
|
- var iszero = CoreUtils.IsEffectivelyEqual(qty, 0.0F);
|
|
|
- result = !iszero;
|
|
|
- }
|
|
|
-
|
|
|
- return result;
|
|
|
- }
|
|
|
+ // protected override bool FilterRecord(CoreRow row)
|
|
|
+ // {
|
|
|
+ // var result = base.FilterRecord(row);
|
|
|
+ // if (result)
|
|
|
+ // {
|
|
|
+ // var qty = row.Get<StockHolding, double>(x => x.Qty);
|
|
|
+ // var iszero = CoreUtils.IsEffectivelyEqual(qty, 0.0F);
|
|
|
+ // result = !iszero;
|
|
|
+ // }
|
|
|
+ //
|
|
|
+ // return result;
|
|
|
+ // }
|
|
|
}
|