Exemplo n.º 1
0
        public FormPaymentPlan(ACMSLogic.POS pos, string strMasterReceiptNo, decimal mMasterReceiptTotal, decimal mPaymentAmount,
                                                    decimal mOutstandingAmount, string strPackageList)
        {
            InitializeComponent();

            myPOS = pos;

            frmMasterReceiptNo = strMasterReceiptNo;
            frmMasterReceiptTotal = mMasterReceiptTotal;
            frmPaymentAmount = mPaymentAmount;
            frmOutstandingAmount = mOutstandingAmount;
            frmPackageList = strPackageList;

            Init();
        }
Exemplo n.º 2
0
        public FormPaymentPlan(ACMSLogic.POS pos, string strMasterReceiptNo, decimal mMasterReceiptTotal, decimal mPaymentAmount,
                               decimal mOutstandingAmount, string strPackageList)
        {
            InitializeComponent();

            myPOS = pos;

            frmMasterReceiptNo    = strMasterReceiptNo;
            frmMasterReceiptTotal = mMasterReceiptTotal;
            frmPaymentAmount      = mPaymentAmount;
            frmOutstandingAmount  = mOutstandingAmount;
            frmPackageList        = strPackageList;

            Init();
        }
Exemplo n.º 3
0
        public FormPayOutstanding(ACMSLogic.POS pos)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
            myPOS = pos;
            myReceiptPayment= new ACMSLogic.Payment();
            GridControl11.DataSource = myReceiptPayment.GetOutstandingReceipt(pos.StrMembershipID);

            string connectionString = (string)ConfigurationSettings.AppSettings["Main.ConnectionString"];
            _mainConnection = new SqlConnection(connectionString);
        }
Exemplo n.º 4
0
        public FormPayOutstanding(ACMSLogic.POS pos)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
            myPOS                    = pos;
            myReceiptPayment         = new ACMSLogic.Payment();
            GridControl11.DataSource = myReceiptPayment.GetOutstandingReceipt(pos.StrMembershipID);

            string connectionString = (string)ConfigurationSettings.AppSettings["Main.ConnectionString"];

            _mainConnection = new SqlConnection(connectionString);
        }
Exemplo n.º 5
0
        public POS NewPOS(int nCategoryID, int nEmployeeID, string strMembershipID,
            string strBranchCode, int nterminalID, int nShiftID, string strLocation, int nPackageID, int nGIRO)
        {
            POS pos = new POS(nCategoryID, nEmployeeID, strMembershipID, strBranchCode, nterminalID, nShiftID, strLocation, nPackageID, nGIRO);

            return pos;
        }