Fix: Sale Detail Report would not show the proper NC as it did not check of the product was Happy Hour and at times would overwrite the wrong value
Feature: Modifier form now resizes the buttons so that if there are more modifiers than can fit on the screen, the button size will reduce to a degree Feature: The Final Sanction is also a background worker and reports progress.
This commit is contained in:
@ -30,7 +30,7 @@ namespace Tanshu.Accounts.PointOfSale
|
||||
|
||||
foreach (var item in bi.NcQuantity(dtpStart.Value, dtpFinish.Value))
|
||||
{
|
||||
var old = _list.FirstOrDefault(x => x.ProductID == item.ProductID);
|
||||
var old = _list.FirstOrDefault(x => x.ProductID == item.ProductID && x.IsHappyHour == item.IsHappyHour);
|
||||
if (old != null)
|
||||
old.NC = item.NC;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user