public ActionResult ViewCashInPartial(int id) { Session["receiptId"] = id; CashInVm invObj = CashDepositHelper.GetCashReceiptInfo(id); invObj.CashType = "cashin"; return(PartialView("~/Views/CashManagement/_ViewCashInReceipt.cshtml", invObj)); }
public ActionResult PrintCashInV(int id) { CashInVm invObj = CashDepositHelper.GetCashReceiptInfo(id); invObj.CashType = "cashin"; return(View(invObj)); // return View("~/Views/CashManagement/PrintCashInV.cshtml", invObj); }
public JObject GetTableJson() { JObject quotationOrders = CashDepositHelper.GetCashReceiptsJson(); return(quotationOrders); }
public ActionResult DeleteCashDeposit(int receiptId, string deleteReason) { string isDeleted = CashDepositHelper.DeleteCashDeposit(receiptId, deleteReason); return(Json(isDeleted, JsonRequestBehavior.AllowGet)); }
public ActionResult AddArCashDeposit(CashInVm cashInVm) { string isSaved = CashDepositHelper.AddArCashDeposit(cashInVm); return(Json(isSaved)); }