Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.144.15.34
Current Path : /var/www/oasis/js_old/ |
| Current File : /var/www/oasis/js_old/bundlestatus.js |
function Callbundlestatus() {
$("#page_main_div").load("../html_modules/bundlestatus.html", function() {
document.getElementById("display_module_name").innerHTML = "Bundle Status";
document.getElementById("module_name_for_save").value = "Bundle Status";
getDefaultHeadFooterLinks("Bundle Status)");
});
}
function getbundlestatus() {
var qp_code_from = $("#qp_code_from").val();
var qp_code_to = $("#qp_code_to").val();
var cntr_from = $("#cntr_from").val();
var cntr_to = $("#cntr_to").val();
var status = $("#status").val();
if (status == "") {
alert("Select status");
document.getElementById("status").focus();
return;
}
if (qp_code_to == "") {
alert("Enter QP code To.");
return;
}
if (qp_code_from == "") {
alert("Enter QP code From.");
return;
}
if (cntr_from == "") {
alert("Enter Center Code from.");
return;
}
if (cntr_to == "") {
alert("Enter Center Code To.");
return;
}
$.ajax({
type: "POST",
data:
"qp_code_from=" +
qp_code_from +
"&qp_code_to=" +
qp_code_to +
"&status=" +
status +
"&cntr_from=" +
cntr_from +
"&cntr_to=" +
cntr_to,
url: $host_url + "getbundlestatus",
success: getbundlestatusresponce
});
}
function getbundlestatusresponce(responce) {
responce = eval("(" + responce + ")");
$("#bundle_table_data").html(responce.data["html"]);
}
|