first commit
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
|
||||
// ==================
|
||||
// View Budget Months
|
||||
// ==================
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
var $application = $("#APPLICATION_MNEMONIC").val(), $sessionStorage = JSON.parse(sessionStorage.getItem($application) || "{}");
|
||||
|
||||
// -----------
|
||||
// Done Button
|
||||
// -----------
|
||||
|
||||
$(".btnDone").on("click", function () {
|
||||
|
||||
formSubmit({action: "Budgets.viewBudgets"});
|
||||
|
||||
});
|
||||
|
||||
// -------------------
|
||||
// Budget Months Table
|
||||
// -------------------
|
||||
|
||||
$("#budgetmonth-table tbody").on("click touch", "tr", function (e) {
|
||||
|
||||
e.preventDefault();
|
||||
|
||||
$sessionStorage.action = "BudgetDetails.viewBudgetDetails";
|
||||
$sessionStorage.budgetmonth_serial = $(this).data("budgetmonth-serial");
|
||||
$sessionStorage.viewBudgetMonths = "Budgets.viewBudgets";
|
||||
|
||||
sessionStorage.setItem($application, JSON.stringify($sessionStorage));
|
||||
|
||||
formSubmit($sessionStorage);
|
||||
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user