public ActionResult CashOutReceipt(int invId, int agNoteId = 0) { ViewBag.CashRecTitle = "Cash Out Receipt"; ViewBag.PaymentTerm = ListCommonHelper.GetPaymentTerm("en") .Where(x => x.Key != 2 && x.Key < 6) .ToDictionary(x => x.Key, x => x.Value); ViewBag.CurrencyList = ListCommonHelper.GetCurrencyList(); ViewBag.BankList = ListCommonHelper.GetBankList(); var cashReceiptObj = CashOutHelper.GetCashReceiptInfo(invId, agNoteId); return(View("~/Views/CashManagement/CashInReceipt.cshtml", cashReceiptObj)); }
public ActionResult CCCashDeposit(int operationId, decimal receiptAmount = 0) { ViewBag.PaymentTerm = ListCommonHelper.GetPaymentTerm("en") .Where(x => x.Key == 1) .ToDictionary(x => x.Key, x => x.Value); ViewBag.CurrencyList = ListCommonHelper.GetCurrencyList(); ViewBag.BankList = ListCommonHelper.GetBankList(); var cashReceiptObj = CashOutHelper.GetCashReceiptInfo(0, 0, 0, operationId, receiptAmount); ViewBag.CashRecTitle = "Custom Clearance Cash Deposit For Operation " + cashReceiptObj.OperationCode; return(View("~/Views/CashManagement/CashInReceipt.cshtml", cashReceiptObj)); }
public ActionResult PrintCashInV(int id, bool isOut) { CashInVm invObj; if (isOut) { invObj = CashOutHelper.GetCashReceiptInfo(0, 0, id); } else { invObj = CashHelper.GetCashReceiptInfo(0, 0, id); } return(View(invObj)); }
public ActionResult ViewCashInPartial(int id, bool isOut = false) { System.Globalization.CultureInfo clut = new System.Globalization.CultureInfo("ar-EG"); Session["receiptId"] = id; Session["CashType"] = isOut; CashInVm invObj; if (isOut) { invObj = CashOutHelper.GetCashReceiptInfo(0, 0, id); } else { invObj = CashHelper.GetCashReceiptInfo(0, 0, id); } return(PartialView("~/Views/CashManagement/_ViewCashInReceipt.cshtml", invObj)); }