Item Modifier added
This commit is contained in:
@ -44,6 +44,11 @@ namespace Tanshu.Accounts.PointOfSale
|
||||
{
|
||||
BillHelperFunctions.AddProductToGrid(productID, bindingSource, bill);
|
||||
ShowAmount();
|
||||
|
||||
|
||||
ProductBO product = ProductBI.GetProduct(productID);
|
||||
if (ProductGroupModifierBI.HasCompulsoryModifier(product.ProductGroupID))
|
||||
saleForm.ShowModifiers(product.ProductGroupID);
|
||||
}
|
||||
public void ShowCustomerList(bool reset)
|
||||
{
|
||||
@ -449,6 +454,13 @@ namespace Tanshu.Accounts.PointOfSale
|
||||
|
||||
}
|
||||
|
||||
//private Dictionary<string,string> modifiers;
|
||||
public void AddModifier(string modifierID)
|
||||
{
|
||||
MessageBox.Show(modifierID);
|
||||
|
||||
}
|
||||
|
||||
internal void SettleBill()
|
||||
{
|
||||
if (billInfo == null)
|
||||
@ -464,6 +476,11 @@ namespace Tanshu.Accounts.PointOfSale
|
||||
case SettleOptions.Cancel:
|
||||
break;
|
||||
case SettleOptions.Cash:
|
||||
break;
|
||||
case SettleOptions.CreditCard:
|
||||
break;
|
||||
case SettleOptions.NoCharge:
|
||||
break;
|
||||
|
||||
}
|
||||
throw new NotImplementedException();
|
||||
|
||||
@ -14,5 +14,6 @@ namespace Tanshu.Accounts.PointOfSale
|
||||
void ShowAmount(decimal discountAmount, decimal grossAmount, decimal serviceChargeAmount, decimal taxAmount, decimal valueAmount, List<SalesBillItemBO> bill);
|
||||
void ShowInfo(string billID, string kotID, DateTime creationDate, DateTime date, DateTime lastEditDate, string customer, string tableID, Guid waiterID, string waiter);
|
||||
void SetUserName(string name);
|
||||
void ShowModifiers(Guid productGroupID);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user