2011-01-10 19:49:11 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using Tanshu.Accounts.Contracts;
|
2011-01-30 07:14:05 +00:00
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
using Tanshu.Common;
|
2011-01-10 19:49:11 +00:00
|
|
|
|
|
|
|
|
|
namespace Tanshu.Accounts.PointOfSale
|
|
|
|
|
{
|
|
|
|
|
public interface ISaleForm
|
|
|
|
|
{
|
2011-06-23 12:47:48 +00:00
|
|
|
|
void ClearBill(OrderedDictionary<BillItemKey, BillItemValue> bill);
|
2011-01-10 19:49:11 +00:00
|
|
|
|
void SetCustomerDisplay(string name);
|
|
|
|
|
void CloseWindow();
|
2011-06-23 12:47:48 +00:00
|
|
|
|
void ShowAmount(decimal discountAmount, decimal grossAmount, decimal serviceChargeAmount, decimal taxAmount, decimal valueAmount, List<BillItemValue> bill);
|
2011-01-30 07:14:05 +00:00
|
|
|
|
void ShowInfo(string billID, string kotID, DateTime creationDate, DateTime date, DateTime lastEditDate, string customer, string tableID, int waiterID, string waiter);
|
2011-01-10 19:49:11 +00:00
|
|
|
|
void SetUserName(string name);
|
2011-01-30 07:14:05 +00:00
|
|
|
|
BindingSource BindingSource { get; }
|
2011-01-10 19:49:11 +00:00
|
|
|
|
}
|
|
|
|
|
}
|