Changed Checkout to correctly reflect cash. Minor updates.
This commit is contained in:
@ -288,7 +288,7 @@ namespace Tanshu.Accounts.PointOfSale
|
||||
ClearBill();
|
||||
bill.Clear();
|
||||
_billInfo = null;
|
||||
_billInfo = VoucherBI.GetVoucher(voucherID);
|
||||
_billInfo = VoucherBI.Get(voucherID);
|
||||
|
||||
_customer = _billInfo.Customer;
|
||||
_saleForm.ShowInfo(_billInfo.BillID, _billInfo.KotID, _billInfo.CreationDate, _billInfo.Date.Value,
|
||||
@ -352,7 +352,7 @@ namespace Tanshu.Accounts.PointOfSale
|
||||
{
|
||||
if (!string.IsNullOrEmpty(tableName))
|
||||
{
|
||||
var table = new FoodTableBI().GetByName(tableName);
|
||||
var table = new FoodTableBI().Get(tableName);
|
||||
if (table != null && table.VoucherID != 0)
|
||||
{
|
||||
LoadBill(table.VoucherID);
|
||||
@ -366,7 +366,7 @@ namespace Tanshu.Accounts.PointOfSale
|
||||
var tableID = result.Text.Trim();
|
||||
if ((tableID != "C") && (tableID != "") && (!tableID.Contains(".")))
|
||||
{
|
||||
var table = new FoodTableBI().GetByName(tableName);
|
||||
var table = new FoodTableBI().Get(tableName);
|
||||
if (table != null && table.VoucherID != 0)
|
||||
{
|
||||
LoadBill(table.VoucherID);
|
||||
|
||||
Reference in New Issue
Block a user