Example #1
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);
        }
Example #2
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);
        }
        public ChangePaymentDialog(int payID, Database.PaymentMgr payMgr)
        {
            InitializeComponent();
            m_payMgr = payMgr;
            m_payment = m_payMgr.getPayment(payID);
            txtAmount.Text = m_payment.payAmount.ToString();

            paymentTypeBindingSource.DataSource = m_payMgr.getPaymentTypes();
        }