Exemple #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public ActionResult Settlement(string id)
        {
            CSettlement CST = new CSettlement();

            CST.StrCID        = id;
            CST.StrDebtAmount = ContractMan.getNewDebtAmount(id);
            if (CST.StrDebtAmount == 0)
            {
                CST.StrIsDebt = 0;
            }
            else
            {
                CST.StrIsDebt = 1;
            }
            return(View(CST));
        }