コード例 #1
0
        public ActionResult GetAllInvoice(string fromDate, string toDate)
        {
            //  DateTime from = Convert.ToDateTime(fromDate);
            // DateTime to = Convert.ToDateTime(toDate);

            var partybalance = partyBalanceService.DailyReceiveAndPayment(2, fromDate, toDate);

            return(Json(partybalance, JsonRequestBehavior.AllowGet));
        }
コード例 #2
0
        public ActionResult GetAllReceipt(string fromDate, string toDate)
        {
            //DateTime from = Convert.ToDateTime(fromDate);
            //DateTime to = Convert.ToDateTime(toDate);

            var partybalance = partyBalanceService.DailyReceiveAndPayment(1, fromDate, toDate);

            // var result = AutoMapper.Mapper.Map<List<PartyBalance>, List<PartyBalanceResponse>>(partybalance);
            return(Json(partybalance, JsonRequestBehavior.AllowGet));
        }