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;
|
2011-12-05 09:41:02 +00:00
|
|
|
|
using Tanshu.Accounts.Entities;
|
2011-01-30 07:14:05 +00:00
|
|
|
|
using Tanshu.Common;
|
2011-01-10 19:49:11 +00:00
|
|
|
|
|
|
|
|
|
namespace Tanshu.Accounts.PointOfSale
|
|
|
|
|
{
|
|
|
|
|
public interface ISaleForm
|
|
|
|
|
{
|
2011-08-23 07:10:05 +00:00
|
|
|
|
void ClearBill(List<BillItemValue> bill);
|
2011-01-10 19:49:11 +00:00
|
|
|
|
void SetCustomerDisplay(string name);
|
2011-12-05 09:41:02 +00:00
|
|
|
|
void SetWaiterDisplay(string p);
|
2011-01-10 19:49:11 +00:00
|
|
|
|
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-12-05 09:41:02 +00:00
|
|
|
|
void ShowInfo(Voucher voucher);
|
2011-01-10 19:49:11 +00:00
|
|
|
|
void SetUserName(string name);
|
2011-01-30 07:14:05 +00:00
|
|
|
|
BindingSource BindingSource { get; }
|
2011-08-23 07:10:05 +00:00
|
|
|
|
SaleFormState FormState { set; }
|
2011-01-10 19:49:11 +00:00
|
|
|
|
}
|
|
|
|
|
}
|