Blame | Last modification | View Log | RSS feed
$(function () {$(document).on('click', "a.manage-po", function () {doGetAjaxRequestHandler(context + "/warehouse/grn", function (response) {$("#main-content").html(response);});});$(document).on('click', "button.btn-grn-upload", function () {let fileSelector = $('input.grn-upload-file')[0];if (fileSelector != undefined && fileSelector.files[0] != undefined) {doAjaxUploadRequestHandler(context + "/warehouse/grn", "POST", fileSelector.files[0], function (response) {if (response == true) {alert("Grn Uploaded successfully");}});}});});