コード例 #1
0
        public ActionResult Receivable()
        {
            Session["Payments"] = null;
            var model =
                new ViewReceivableCreateModel
            {
                PaymentTypes     = _iCommonManager.GetAllPaymentTypes(),
                TransactionTypes = _iCommonManager.GetAllTransactionTypes()
            };

            return(View(model));
        }
コード例 #2
0
 public ActionResult ChequeReceiveVoucher()
 {
     try
     {
         ViewBag.PaymentTypes = _iCommonManager.GetAllPaymentTypes().ToList();
         return(View());
     }
     catch (Exception exception)
     {
         Log.WriteErrorLog(exception);
         return(PartialView("_ErrorPartial", exception));
     }
 }
コード例 #3
0
        public ActionResult Receivable()
        {
            try
            {
                RemoveAll();
                CreateTempReceivableXmlFile();
                var model =
                    new ViewReceivableCreateModel
                {
                    PaymentTypes     = _iCommonManager.GetAllPaymentTypes(),
                    TransactionTypes = _iCommonManager.GetAllTransactionTypes()
                };

                return(View(model));
            }
            catch (Exception exception)
            {
                Log.WriteErrorLog(exception);
                return(PartialView("_ErrorPartial", exception));
            }
        }
コード例 #4
0
 public ActionResult ChequeReceiveVoucher()
 {
     ViewBag.PaymentTypes = _iCommonManager.GetAllPaymentTypes().ToList();
     return(View());
 }