示例#1
0
        public ActionResult GeneralAndPayableReport(string FromDateString, string TodateString, string Type)
        {
            MisModel    model = new MisModel();
            MisPorvider prop  = new MisPorvider();

            if (string.IsNullOrEmpty(FromDateString))
            {
                FromDateString = DateTime.Now.ToShortDateString();
            }
            if (string.IsNullOrEmpty(TodateString))
            {
                TodateString = DateTime.Now.ToShortDateString();
            }
            if (string.IsNullOrEmpty(Type))
            {
                Type = "0";
            }
            model.GeneralPayableReportModelList = prop.GetBillingReportGeneralAndPayable(FromDateString, TodateString, Type);
            return(View(model));
        }