Moved numpad control to Tanshu.Common. Billing feature complete. Delete not working as expected
Signed-off-by: unknown <tanshu@.(none)>
This commit is contained in:
@ -5,10 +5,11 @@ namespace Tanshu.Accounts.Contracts
|
||||
{
|
||||
public class BillItemKey
|
||||
{
|
||||
public BillItemKey(int productID, bool isNew)
|
||||
//Old = 0, New = 1, Modifiers = 2+
|
||||
public BillItemKey(int ProductID, bool IsNew)
|
||||
{
|
||||
ProductID = productID;
|
||||
IsNew = isNew;
|
||||
this.ProductID = ProductID;
|
||||
this.IsNew = IsNew;
|
||||
}
|
||||
|
||||
public int ProductID
|
||||
@ -41,7 +42,7 @@ namespace Tanshu.Accounts.Contracts
|
||||
{
|
||||
if (object.ReferenceEquals(null, a))
|
||||
return object.ReferenceEquals(null, b);
|
||||
|
||||
|
||||
if (!(a is BillItemKey))
|
||||
return false;
|
||||
if (!(b is BillItemKey))
|
||||
|
||||
Reference in New Issue
Block a user