Exemple #1
0
        private void CalculateUsage()
        {
            ACMSDAL.TblMemberPackage memberPackage = new ACMSDAL.TblMemberPackage();
            memberPackage.NPackageID = myPackageID;
            DataTable tblmemberpackage = memberPackage.SelectOne();

            ACMSDAL.TblPackage myPackage = new ACMSDAL.TblPackage();
            myPackage.StrPackageCode = tblmemberpackage.Rows[0]["strPackageCode"].ToString();
            DataTable tblPackage = myPackage.SelectOne();

            mUsageAmount = ACMS.Convert.ToDecimal(tblPackage.Rows[0]["mBaseUnitPrice"]) * myMemberPackageSession;
        }
 private void CalculateUsage()
 {
     ACMSDAL.TblMemberPackage memberPackage = new ACMSDAL.TblMemberPackage();
     memberPackage.NPackageID = myPackageID;
     DataTable tblmemberpackage = memberPackage.SelectOne();
     ACMSDAL.TblPackage myPackage = new ACMSDAL.TblPackage();
     myPackage.StrPackageCode = tblmemberpackage.Rows[0]["strPackageCode"].ToString();
     DataTable tblPackage = myPackage.SelectOne();
     mUsageAmount = ACMS.Convert.ToDecimal(tblPackage.Rows[0]["mBaseUnitPrice"]) * myMemberPackageSession;
 }
Exemple #3
0
 public override void Refresh()
 {
     ACMSDAL.TblPackage sqlPackage = new ACMSDAL.TblPackage();
     myDataTable = sqlPackage.GetValidPackageFromBranchForCreditPackageUsage(ACMSLogic.User.BranchCode, myCreditPackageID);
     Init();
 }