Exemplo n.º 1
0
        public ActionResult ViewCashInPartial(int id)
        {
            Session["receiptId"] = id;
            CashInVm invObj = CashDepositHelper.GetCashReceiptInfo(id);

            invObj.CashType = "cashin";
            return(PartialView("~/Views/CashManagement/_ViewCashInReceipt.cshtml", invObj));
        }
Exemplo n.º 2
0
        public ActionResult PrintCashInV(int id)
        {
            CashInVm invObj = CashDepositHelper.GetCashReceiptInfo(id);

            invObj.CashType = "cashin";
            return(View(invObj));
            // return View("~/Views/CashManagement/PrintCashInV.cshtml", invObj);
        }
Exemplo n.º 3
0
        public JObject GetTableJson()
        {
            JObject quotationOrders = CashDepositHelper.GetCashReceiptsJson();

            return(quotationOrders);
        }
Exemplo n.º 4
0
        public ActionResult DeleteCashDeposit(int receiptId, string deleteReason)
        {
            string isDeleted = CashDepositHelper.DeleteCashDeposit(receiptId, deleteReason);

            return(Json(isDeleted, JsonRequestBehavior.AllowGet));
        }
Exemplo n.º 5
0
        public ActionResult AddArCashDeposit(CashInVm cashInVm)
        {
            string isSaved = CashDepositHelper.AddArCashDeposit(cashInVm);

            return(Json(isSaved));
        }