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 : 18.116.47.33
Current Path : /var/www/html/pms/js/ |
| Current File : /var/www/html/pms/js/reports.js |
function loadreports() {
$("#loadtab").load("html/reportscreen.html?v=" + version, () => {});
}
function genReport() {
console.log($("#reportType").val());
if ($("#reportType").val() == "Batch") {
window.open(
$host_url +
"pmsreport" +
"&reportType=" +
reportType +
"&invnofrom=" +
invnofrom +
"&invnoto=" +
invnoto +
"&batchfrom=" +
batchfrom +
"&batchto=" +
batchto,
"_blank"
);
}
}
function getinvto() {
if ($("#invnofrom").val() == 0 || $("#invnofrom").val() == "0000") {
$("#invnoto").val("ZZZZ");
return;
}
$("#invnoto").val($("#invnofrom").val());
return;
}
function getbatchto() {
if ($("#batchfrom").val() == 0 || $("#batchfrom").val() == "0000") {
$("#batchto").val("ZZZZ");
return;
}
$("#batchto").val($("#batchfrom").val());
return;
}
|