public IActionResult EditView(int accountLedgerGroupId) { var accountLedgerGroup = _work.AccountLedgerGroup.Get(accountLedgerGroupId); ViewData["AccountLedgers"] = POSHelper.GetAccountLedgerSelectItems(_work.AccountLedger); return(PartialView("_AccountLedgerGroupEditView", accountLedgerGroup)); }
public IActionResult CreateView() { ViewData["AccountGroups"] = POSHelper.GetAccountGroupSelectItems(_work.AccountGroup); ViewData["AccountLedgers"] = POSHelper.GetAccountLedgerSelectItems(_work.AccountLedger); return(PartialView("_AccountSubLedgerCreateView")); }
public JsonResult GetAllLedgerAsSelectList() { var ledegrSelectList = POSHelper.GetAccountLedgerSelectItems(_work.AccountLedger); return(Json(ledegrSelectList)); }