narsil/Tanshu.Accounts.PointOfSale/Controllers/ISaleForm.cs

22 lines
831 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tanshu.Accounts.Contracts;
using System.Windows.Forms;
using Tanshu.Common;
namespace Tanshu.Accounts.PointOfSale
{
public interface ISaleForm
{
void ClearBill(OrderedDictionary<BillItemKey, BillInventory> bill);
void SetCustomerDisplay(string name);
void CloseWindow();
void ShowAmount(decimal discountAmount, decimal grossAmount, decimal serviceChargeAmount, decimal taxAmount, decimal valueAmount, List<BillInventory> bill);
void ShowInfo(string billID, string kotID, DateTime creationDate, DateTime date, DateTime lastEditDate, string customer, string tableID, int waiterID, string waiter);
void SetUserName(string name);
BindingSource BindingSource { get; }
}
}