Esempio n. 1
0
        public List <WCFAdjustmentVoucher> findAdjByDate(DateTime from, DateTime to)
        {
            List <WCFAdjustmentVoucher> targetAdjList = new List <WCFAdjustmentVoucher>();
            List <AdjustmentVoucher>    adjList       = adjDAO.findadjvbyDate(from, to);

            foreach (AdjustmentVoucher adj in adjList)
            {
                WCFAdjustmentVoucher wcfAdj = WCFAdjustmentVoucher.Make(adj.adjVID, adj.storeStaffID, adj.authorisedBy, adj.adjDate, adj.status);
                targetAdjList.Add(wcfAdj);
            }
            return(targetAdjList);
        }
Esempio n. 2
0
        public List <WCFAdjustmentVoucher> findAllAdjVoucher()
        {
            List <WCFAdjustmentVoucher> targetAdjList = new List <WCFAdjustmentVoucher>();
            List <AdjustmentVoucher>    adjList       = adjDAO.getAdjustmentVoucherList();

            foreach (AdjustmentVoucher adj in adjList)
            {
                WCFAdjustmentVoucher wcfAdj = WCFAdjustmentVoucher.Make(adj.adjVID, adj.storeStaffID, adj.authorisedBy, adj.adjDate, adj.status);
                targetAdjList.Add(wcfAdj);
            }
            return(targetAdjList);
        }