Exemplo n.º 1
0
        public decimal rangedAccountBalance(DateTime startDate, DateTime endDate)
        {
            Database.InvoiceMgr invMgr = InvoiceMgr.Instance;
            Database.PaymentMgr payMgr = new Database.PaymentMgr();

            return payMgr.getPatientTotalPayments(this.patID, startDate, endDate) - invMgr.getPatientsTotalBilling(this.patID, startDate, endDate);
        }
Exemplo n.º 2
0
        public decimal prevAccountBalance(DateTime upTo)
        {
            Database.InvoiceMgr invMgr = InvoiceMgr.Instance;
            Database.PaymentMgr payMgr = new Database.PaymentMgr();

            return payMgr.getPatientTotalPayments(this.patID, upTo) - invMgr.getPatientsTotalBilling(this.patID, upTo);
        }