2011-01-30 07:14:05 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2011-02-04 19:30:55 +00:00
|
|
|
|
using System.Linq;
|
2011-01-30 07:14:05 +00:00
|
|
|
|
using Tanshu.Accounts.Entities;
|
2011-02-04 19:30:55 +00:00
|
|
|
|
using Tanshu.Accounts.Entities.Auth;
|
|
|
|
|
using NHibernate.Criterion;
|
2011-02-09 12:03:22 +00:00
|
|
|
|
using Tanshu.Accounts.Contracts;
|
2011-01-30 07:14:05 +00:00
|
|
|
|
|
|
|
|
|
namespace Tanshu.Accounts.Repository
|
|
|
|
|
{
|
|
|
|
|
public class CheckoutBI
|
|
|
|
|
{
|
|
|
|
|
#region Properties
|
|
|
|
|
public decimal Opening { get; private set; }
|
|
|
|
|
public decimal Receipts { get; private set; }
|
|
|
|
|
public decimal AdvanceReceipts { get; private set; }
|
2011-03-11 18:49:48 +00:00
|
|
|
|
public decimal CcReceipts { get; private set; }
|
|
|
|
|
public decimal NcReceipts { get; private set; }
|
|
|
|
|
public decimal BtcReceipts { get; private set; }
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public decimal AdvanceAdjusted { get; private set; }
|
|
|
|
|
public decimal CashPayments { get; private set; }
|
|
|
|
|
public decimal AdditionalVoids { get; private set; }
|
|
|
|
|
public decimal VoidsInSystem { get; private set; }
|
2011-02-09 12:03:22 +00:00
|
|
|
|
public decimal Discount { get; private set; }
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public decimal PendingBills { get; private set; }
|
|
|
|
|
public decimal NetSales { get; private set; }
|
|
|
|
|
public decimal ClosingBalance { get; private set; }
|
|
|
|
|
public decimal RetainedOvernight { get; private set; }
|
|
|
|
|
public decimal CashDeposited { get; private set; } //
|
|
|
|
|
public decimal Excess { get; private set; } //
|
|
|
|
|
public string Status { get; private set; } //
|
|
|
|
|
public string Cashiers { get; private set; } //
|
2011-02-04 19:30:55 +00:00
|
|
|
|
public User Cashier { get; private set; }
|
2011-01-30 07:14:05 +00:00
|
|
|
|
|
|
|
|
|
public decimal OldPending { get; private set; }
|
|
|
|
|
public decimal OldReceipts { get; private set; }
|
|
|
|
|
public decimal OldVoided { get; private set; }
|
|
|
|
|
|
2011-02-04 19:30:55 +00:00
|
|
|
|
public DateTime StartDate { get; private set; }
|
|
|
|
|
public DateTime FinishDate { get; private set; }
|
2011-01-30 07:14:05 +00:00
|
|
|
|
|
2011-02-04 19:30:55 +00:00
|
|
|
|
public string PendingString { get; private set; }
|
2011-03-11 18:49:48 +00:00
|
|
|
|
public string CcString { get; private set; }
|
|
|
|
|
public string NcString { get; private set; }
|
|
|
|
|
public string BtcString { get; private set; }
|
2011-02-04 19:30:55 +00:00
|
|
|
|
public string VoidsString { get; private set; }
|
|
|
|
|
public string DiscountString { get; private set; }
|
2011-01-30 07:14:05 +00:00
|
|
|
|
|
2011-02-09 12:03:22 +00:00
|
|
|
|
public string PaymentString { get; private set; }
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public string Manager
|
|
|
|
|
{
|
2011-02-09 12:03:22 +00:00
|
|
|
|
get { return Session.User.Name; }
|
2011-01-30 07:14:05 +00:00
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public CheckoutBI(int cashier, DateTime startDate, DateTime finishDate)
|
|
|
|
|
{
|
|
|
|
|
using (var session = SessionManager.Session)
|
|
|
|
|
{
|
2011-02-04 19:30:55 +00:00
|
|
|
|
this.Cashier = UserBI.GetUser(cashier);
|
2011-02-09 12:03:22 +00:00
|
|
|
|
this.StartDate = startDate.Date.AddHours(6);
|
|
|
|
|
this.FinishDate = finishDate.Date.AddDays(1).AddHours(5);
|
2011-01-30 07:14:05 +00:00
|
|
|
|
|
2011-02-04 19:30:55 +00:00
|
|
|
|
string info;
|
|
|
|
|
PendingBills = GetPending(out info);
|
|
|
|
|
PendingString = info;
|
2011-03-11 18:49:48 +00:00
|
|
|
|
CcReceipts = GetCreditCard(out info);
|
|
|
|
|
CcString = info;
|
|
|
|
|
NcReceipts = GetNoCharge(out info);
|
|
|
|
|
NcString = info;
|
|
|
|
|
BtcReceipts = GetBillToCompany(out info);
|
|
|
|
|
BtcString = info;
|
2011-02-04 19:30:55 +00:00
|
|
|
|
VoidsInSystem = GetVoids(out info);
|
|
|
|
|
VoidsString = info;
|
2011-01-30 07:14:05 +00:00
|
|
|
|
// Opening = dao.GetOpenings();
|
2011-02-04 19:30:55 +00:00
|
|
|
|
// Receipts = GetReceipts();
|
2011-02-09 12:03:22 +00:00
|
|
|
|
PaymentString = "";
|
2011-01-30 07:14:05 +00:00
|
|
|
|
// CashPayments = dao.GetPayments();
|
|
|
|
|
// AdditionalVoids = dao.GetAdditionalVoids();
|
|
|
|
|
// RetainedOvernight = dao.GetRetainedOvernight();
|
2011-02-04 19:30:55 +00:00
|
|
|
|
|
|
|
|
|
AdvanceReceipts = GetAdvancesReceived();
|
|
|
|
|
AdvanceAdjusted = GetAdvancesAdjusted();
|
2011-01-30 07:14:05 +00:00
|
|
|
|
// PaymentString = dao.GetPaymentString();
|
|
|
|
|
|
|
|
|
|
// OldPending = dao.GetOldPending();
|
|
|
|
|
// OldReceipts = dao.GetOldReceipts();
|
|
|
|
|
// OldVoided = dao.GetOldVoided();
|
|
|
|
|
|
|
|
|
|
|
2011-02-09 12:03:22 +00:00
|
|
|
|
Cashiers = GetActiveCashiers();
|
2011-02-04 19:30:55 +00:00
|
|
|
|
NetSales = GetNetSales();
|
2011-02-09 12:03:22 +00:00
|
|
|
|
Discount = GetDiscountBills(.1M, out info);
|
2011-02-04 19:30:55 +00:00
|
|
|
|
DiscountString = info;
|
|
|
|
|
ClosingBalance = Opening
|
|
|
|
|
+ Receipts
|
|
|
|
|
+ AdvanceReceipts
|
2011-03-11 18:49:48 +00:00
|
|
|
|
- CcReceipts
|
|
|
|
|
- BtcReceipts
|
2011-02-04 19:30:55 +00:00
|
|
|
|
- AdvanceAdjusted
|
|
|
|
|
- CashPayments
|
|
|
|
|
- AdditionalVoids
|
|
|
|
|
+ NetSales;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal GetAdvancesAdjusted()
|
|
|
|
|
{
|
|
|
|
|
using (var session = SessionManager.Session)
|
|
|
|
|
{
|
|
|
|
|
var amt = session.QueryOver<Advance>()
|
|
|
|
|
.Where(i => i.DateOut >= StartDate && i.DateOut <= FinishDate && i.CashierOut == Cashier)
|
|
|
|
|
.SelectList(k => k.SelectSum(j => j.Amount))
|
|
|
|
|
.SingleOrDefault<decimal>();
|
|
|
|
|
return amt;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal GetAdvancesReceived()
|
|
|
|
|
{
|
|
|
|
|
using (var session = SessionManager.Session)
|
|
|
|
|
{
|
|
|
|
|
var amt = session.QueryOver<Advance>()
|
|
|
|
|
.Where(i => i.DateIn >= StartDate && i.DateIn <= FinishDate && i.CashierIn == Cashier)
|
|
|
|
|
.SelectList(k => k.SelectSum(j => j.Amount))
|
|
|
|
|
.SingleOrDefault<decimal>();
|
|
|
|
|
return amt;
|
2011-01-30 07:14:05 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
public void Calculate(decimal cashDeposited, decimal retainedOvernight)
|
|
|
|
|
{
|
|
|
|
|
this.CashDeposited = cashDeposited;
|
|
|
|
|
this.RetainedOvernight = retainedOvernight;
|
|
|
|
|
Excess = CashDeposited - ClosingBalance;
|
|
|
|
|
Status = string.Format("{0:Extra Cash Rs #,##0.00; Cash Short Rs #,##0.00;Cash Perfect}", Excess);
|
|
|
|
|
}
|
|
|
|
|
|
2011-02-04 19:30:55 +00:00
|
|
|
|
private decimal GetPending(out string info)
|
|
|
|
|
{
|
|
|
|
|
using (var session = SessionManager.Session)
|
|
|
|
|
{
|
2011-03-11 18:49:48 +00:00
|
|
|
|
Voucher voucher = null;
|
2011-02-04 19:30:55 +00:00
|
|
|
|
decimal amount;
|
2011-02-09 12:03:22 +00:00
|
|
|
|
decimal discount;
|
2011-02-04 19:30:55 +00:00
|
|
|
|
info = "\n\r--- Pending Bills ------------------------";
|
2011-03-11 18:49:48 +00:00
|
|
|
|
var list = session.QueryOver<Voucher>(() => voucher)
|
|
|
|
|
.Where(i => i.LastEditDate >= StartDate &&
|
|
|
|
|
i.LastEditDate <= FinishDate &&
|
|
|
|
|
i.User == Cashier &&
|
|
|
|
|
i.Void == false)
|
|
|
|
|
.WithSubquery.WhereExists(QueryOver.Of<VoucherSettlement>().Where(x => x.Voucher.VoucherID == voucher.VoucherID && x.Settled == SettleOption.Unsettled).Select(x => x.Voucher))
|
|
|
|
|
.List();
|
|
|
|
|
GetInfo(list, SettleOption.Unsettled, out amount, out discount, ref info);
|
2011-02-04 19:30:55 +00:00
|
|
|
|
return amount;
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-03-11 18:49:48 +00:00
|
|
|
|
|
2011-02-04 19:30:55 +00:00
|
|
|
|
private decimal GetNoCharge(out string info)
|
|
|
|
|
{
|
|
|
|
|
using (var session = SessionManager.Session)
|
|
|
|
|
{
|
2011-03-11 18:49:48 +00:00
|
|
|
|
Voucher voucher = null;
|
2011-02-04 19:30:55 +00:00
|
|
|
|
decimal amount;
|
2011-02-09 12:03:22 +00:00
|
|
|
|
decimal discount;
|
2011-02-04 19:30:55 +00:00
|
|
|
|
info = "\n\r--- No Charge ----------------------------";
|
2011-03-11 18:49:48 +00:00
|
|
|
|
var list = session.QueryOver<Voucher>(() => voucher)
|
|
|
|
|
.Where(i => i.LastEditDate >= StartDate &&
|
|
|
|
|
i.LastEditDate <= FinishDate &&
|
|
|
|
|
i.User == Cashier &&
|
|
|
|
|
i.Void == false)
|
|
|
|
|
.WithSubquery.WhereExists(QueryOver.Of<VoucherSettlement>().Where(x => x.Voucher.VoucherID == voucher.VoucherID && x.Settled == SettleOption.NoCharge).Select(x => x.Voucher))
|
|
|
|
|
.List();
|
|
|
|
|
GetInfo(list, SettleOption.NoCharge, out amount, out discount, ref info);
|
2011-02-04 19:30:55 +00:00
|
|
|
|
return amount;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private decimal GetBillToCompany(out string info)
|
|
|
|
|
{
|
|
|
|
|
using (var session = SessionManager.Session)
|
|
|
|
|
{
|
2011-03-11 18:49:48 +00:00
|
|
|
|
Voucher voucher = null;
|
2011-02-04 19:30:55 +00:00
|
|
|
|
decimal amount;
|
2011-02-09 12:03:22 +00:00
|
|
|
|
decimal discount;
|
2011-02-04 19:30:55 +00:00
|
|
|
|
info = "\n\r--- Bill To Company ----------------------";
|
2011-03-11 18:49:48 +00:00
|
|
|
|
var list = session.QueryOver<Voucher>(() => voucher)
|
|
|
|
|
.Where(i => i.LastEditDate >= StartDate &&
|
|
|
|
|
i.LastEditDate <= FinishDate &&
|
|
|
|
|
i.User == Cashier &&
|
|
|
|
|
i.Void == false)
|
|
|
|
|
.WithSubquery.WhereExists(QueryOver.Of<VoucherSettlement>().Where(x => x.Voucher.VoucherID == voucher.VoucherID && x.Settled == SettleOption.BillToCompany).Select(x => x.Voucher))
|
|
|
|
|
.List();
|
|
|
|
|
GetInfo(list, SettleOption.BillToCompany, out amount, out discount, ref info);
|
2011-02-04 19:30:55 +00:00
|
|
|
|
return amount;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private decimal GetCreditCard(out string info)
|
|
|
|
|
{
|
|
|
|
|
using (var session = SessionManager.Session)
|
|
|
|
|
{
|
2011-03-11 18:49:48 +00:00
|
|
|
|
Voucher voucher = null;
|
2011-02-04 19:30:55 +00:00
|
|
|
|
decimal amount;
|
2011-02-09 12:03:22 +00:00
|
|
|
|
decimal discount;
|
2011-02-04 19:30:55 +00:00
|
|
|
|
info = "\n\r--- Credit Card Bills --------------------";
|
2011-03-11 18:49:48 +00:00
|
|
|
|
var list = session.QueryOver<Voucher>(() => voucher)
|
|
|
|
|
.Where(i => i.LastEditDate >= StartDate &&
|
|
|
|
|
i.LastEditDate <= FinishDate &&
|
|
|
|
|
i.User == Cashier &&
|
|
|
|
|
i.Void == false)
|
|
|
|
|
.WithSubquery.WhereExists(QueryOver.Of<VoucherSettlement>().Where(x => x.Voucher.VoucherID == voucher.VoucherID && x.Settled == SettleOption.CreditCard).Select(x => x.Voucher))
|
|
|
|
|
.List();
|
|
|
|
|
|
|
|
|
|
GetInfo(list, SettleOption.CreditCard, out amount, out discount, ref info);
|
2011-02-04 19:30:55 +00:00
|
|
|
|
return amount;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private decimal GetVoids(out string info)
|
|
|
|
|
{
|
|
|
|
|
using (var session = SessionManager.Session)
|
|
|
|
|
{
|
|
|
|
|
decimal amount;
|
2011-02-09 12:03:22 +00:00
|
|
|
|
decimal discount;
|
2011-02-04 19:30:55 +00:00
|
|
|
|
info = "\n\r--- Void Bills ---------------------------";
|
2011-02-18 16:54:48 +00:00
|
|
|
|
var list = (from i in session.QueryOver<Voucher>()
|
2011-02-04 19:30:55 +00:00
|
|
|
|
where i.LastEditDate >= StartDate &&
|
|
|
|
|
i.LastEditDate <= FinishDate &&
|
|
|
|
|
i.User == Cashier &&
|
|
|
|
|
i.Void == true
|
|
|
|
|
select i).List();
|
2011-02-09 12:03:22 +00:00
|
|
|
|
GetInfo(list, out amount, out discount, ref info);
|
2011-02-04 19:30:55 +00:00
|
|
|
|
return amount;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
private decimal GetDiscountBills(decimal disount, out string info)
|
|
|
|
|
{
|
|
|
|
|
using (var session = SessionManager.Session)
|
|
|
|
|
{
|
|
|
|
|
decimal amount;
|
2011-02-09 12:03:22 +00:00
|
|
|
|
decimal discount;
|
2011-02-04 19:30:55 +00:00
|
|
|
|
info = "\n\r--- High Discount Bills ------------------";
|
2011-03-11 18:49:48 +00:00
|
|
|
|
const string query = @"
|
2011-02-18 16:54:48 +00:00
|
|
|
|
select distinct(v) from Voucher v
|
|
|
|
|
inner join v.Kots k
|
|
|
|
|
inner join k.Inventories i
|
2011-03-11 18:49:48 +00:00
|
|
|
|
where v.Date >= :startDate and v.Date <= :finishDate and v.User = :cashierID and v.Void = false
|
|
|
|
|
and exists (select Voucher from VoucherSettlement vs where vs.Voucher = v
|
|
|
|
|
and vs.Settled != :noCharge and vs.Settled != :unSettled and vs.Settled != :amount and vs.Settled != :roundoff)
|
2011-02-04 19:30:55 +00:00
|
|
|
|
and i.Discount >= :discount";
|
|
|
|
|
var list = session.CreateQuery(query)
|
|
|
|
|
.SetParameter("startDate", StartDate)
|
|
|
|
|
.SetParameter("finishDate", FinishDate)
|
|
|
|
|
.SetParameter("cashierID", Cashier.UserID)
|
2011-02-18 16:54:48 +00:00
|
|
|
|
.SetParameter("unSettled", SettleOption.Unsettled)
|
|
|
|
|
.SetParameter("noCharge", SettleOption.NoCharge)
|
2011-03-11 18:49:48 +00:00
|
|
|
|
.SetParameter("amount", SettleOption.Amount)
|
|
|
|
|
.SetParameter("roundoff", SettleOption.RoundOff)
|
2011-02-04 19:30:55 +00:00
|
|
|
|
.SetParameter("discount", disount)
|
2011-02-18 16:54:48 +00:00
|
|
|
|
.List<Voucher>();
|
2011-02-04 19:30:55 +00:00
|
|
|
|
|
2011-02-09 12:03:22 +00:00
|
|
|
|
GetInfo(list, out amount, out discount, ref info);
|
|
|
|
|
return discount;
|
2011-02-04 19:30:55 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal GetNetSales()
|
|
|
|
|
{
|
|
|
|
|
using (var session = SessionManager.Session)
|
|
|
|
|
{
|
2011-03-11 18:49:48 +00:00
|
|
|
|
const string query = @"
|
2011-02-18 16:54:48 +00:00
|
|
|
|
select sum(i.Amount) from Voucher v
|
|
|
|
|
inner join v.Kots k
|
|
|
|
|
inner join k.Inventories i
|
2011-03-11 18:49:48 +00:00
|
|
|
|
where v.Date >= :startDate and v.Date <= :finishDate and v.User = :cashierID and v.Void = false
|
|
|
|
|
and exists (select Voucher from VoucherSettlement vs where vs.Voucher = v
|
|
|
|
|
and vs.Settled != :noCharge and vs.Settled != :unSettled and vs.Settled != :amount and vs.Settled != :roundoff)
|
|
|
|
|
";
|
|
|
|
|
var amount = session.CreateQuery(query)
|
2011-02-04 19:30:55 +00:00
|
|
|
|
.SetParameter("startDate", StartDate)
|
|
|
|
|
.SetParameter("finishDate", FinishDate)
|
|
|
|
|
.SetParameter("cashierID", Cashier.UserID)
|
2011-02-18 16:54:48 +00:00
|
|
|
|
.SetParameter("unSettled", SettleOption.Unsettled)
|
|
|
|
|
.SetParameter("noCharge", SettleOption.NoCharge)
|
2011-03-11 18:49:48 +00:00
|
|
|
|
.SetParameter("amount", SettleOption.Amount)
|
|
|
|
|
.SetParameter("roundoff", SettleOption.RoundOff)
|
2011-02-04 19:30:55 +00:00
|
|
|
|
.UniqueResult<decimal>();
|
|
|
|
|
return amount;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2011-03-11 18:49:48 +00:00
|
|
|
|
private static void GetInfo(ICollection<Voucher> list, out decimal amount, out decimal discount, ref string info)
|
|
|
|
|
{
|
|
|
|
|
amount = 0;
|
|
|
|
|
discount = 0;
|
|
|
|
|
if (list.Count == 0)
|
|
|
|
|
{
|
|
|
|
|
info = string.Empty;
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
foreach (var item in list)
|
|
|
|
|
{
|
|
|
|
|
var amt = item.Settlements.Where(x => x.Settled == SettleOption.Amount).Sum(x => x.Amount) * -1;
|
|
|
|
|
var disc = item.Kots.Sum(x => x.Inventories.Sum(y => y.Quantity * y.Rate * y.Discount));
|
|
|
|
|
info += string.Format("\n\r{0:dd-MMM-yyyy HH:mm:ss} {1} {2}", item.Date, item.BillID, item.Customer.Name);
|
|
|
|
|
info += string.Format("\n\rAmount: {0:#0.00} :: Discount: {1:#0.00}", amt, disc);
|
|
|
|
|
info += "\n\r------------------------------------------";
|
|
|
|
|
amount += amt;
|
|
|
|
|
discount += disc;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static void GetInfo(ICollection<Voucher> list, SettleOption settleOption, out decimal amount, out decimal discount, ref string info)
|
2011-02-04 19:30:55 +00:00
|
|
|
|
{
|
|
|
|
|
amount = 0;
|
2011-02-09 12:03:22 +00:00
|
|
|
|
discount = 0;
|
2011-02-04 19:30:55 +00:00
|
|
|
|
if (list.Count == 0)
|
|
|
|
|
{
|
|
|
|
|
info = string.Empty;
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
foreach (var item in list)
|
|
|
|
|
{
|
2011-03-11 18:49:48 +00:00
|
|
|
|
var amt = item.Settlements.Where(x => x.Settled == settleOption).Sum(x => x.Amount);
|
|
|
|
|
var disc = item.Kots.Sum(x => x.Inventories.Sum(y => y.Quantity * y.Rate * y.Discount));
|
2011-02-04 19:30:55 +00:00
|
|
|
|
info += string.Format("\n\r{0:dd-MMM-yyyy HH:mm:ss} {1} {2}", item.Date, item.BillID, item.Customer.Name);
|
|
|
|
|
info += string.Format("\n\rAmount: {0:#0.00} :: Discount: {1:#0.00}", amt, disc);
|
|
|
|
|
info += "\n\r------------------------------------------";
|
|
|
|
|
amount += amt;
|
2011-02-09 12:03:22 +00:00
|
|
|
|
discount += disc;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string GetActiveCashiers()
|
|
|
|
|
{
|
2011-03-11 18:49:48 +00:00
|
|
|
|
var cashiers = "";
|
2011-02-09 12:03:22 +00:00
|
|
|
|
using (var session = SessionManager.Session)
|
|
|
|
|
{
|
2011-03-11 18:49:48 +00:00
|
|
|
|
const string query = @"
|
2011-02-18 16:54:48 +00:00
|
|
|
|
select distinct(u.Name) from Voucher v
|
2011-02-09 12:03:22 +00:00
|
|
|
|
inner join v.User u
|
|
|
|
|
where v.Date >= :startDate and v.Date <= :finishDate";
|
|
|
|
|
var list = session.CreateQuery(query)
|
|
|
|
|
.SetParameter("startDate", StartDate)
|
|
|
|
|
.SetParameter("finishDate", FinishDate)
|
|
|
|
|
.List<string>();
|
|
|
|
|
foreach (var item in list)
|
|
|
|
|
cashiers += item + ", ";
|
|
|
|
|
return cashiers;
|
2011-02-04 19:30:55 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-01-30 07:14:05 +00:00
|
|
|
|
}
|