831ec37cda
Printed bill can no longer be changed, any changes voids the bill and prints a new one. Added option to Split Bill. Kot printed with right time. Numerous bug fixes.
23 lines
846 B
C#
23 lines
846 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(List<BillItemValue> bill);
|
|
void SetCustomerDisplay(string name);
|
|
void CloseWindow();
|
|
void ShowAmount(decimal discountAmount, decimal grossAmount, decimal serviceChargeAmount, decimal taxAmount, decimal valueAmount, List<BillItemValue> 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; }
|
|
SaleFormState FormState { set; }
|
|
}
|
|
}
|