Example #1
0
        //GET:Account/AccountingReport/PaymentSheet
        public JsonResult PaymentSheet(DateTime startDate, DateTime endDate)
        {
            Session["rptSource"] = _db.spCashOrBankPayment(startDate, endDate);
            Session["FromDate"]  = startDate;
            Session["ToDate"]    = endDate;

            var data = _db.spCashOrBankPayment(startDate, endDate).Count();

            return(Json(data > 0, JsonRequestBehavior.AllowGet));
        }