@ -446,7 +446,7 @@ class PrAdapter extends Adapter {
|
|||||||
"%' or trim(v.justificationnumber) like '%" +
|
"%' or trim(v.justificationnumber) like '%" +
|
||||||
keyword +
|
keyword +
|
||||||
"%') ";
|
"%') ";
|
||||||
if (status !== "-1") {
|
if (status !== undefined && status !== null && status !== "") {
|
||||||
qry += "and v.status in(" + status + ") ";
|
qry += "and v.status in(" + status + ") ";
|
||||||
}
|
}
|
||||||
if (swherenik) {
|
if (swherenik) {
|
||||||
@ -485,7 +485,7 @@ class PrAdapter extends Adapter {
|
|||||||
"%' or trim(v.justificationnumber) like '%" +
|
"%' or trim(v.justificationnumber) like '%" +
|
||||||
keyword +
|
keyword +
|
||||||
"%') ";
|
"%') ";
|
||||||
if (status !== "-1") {
|
if (status !== undefined && status !== null && status !== "") {
|
||||||
qry += "and v.status in(" + status + ") ";
|
qry += "and v.status in(" + status + ") ";
|
||||||
}
|
}
|
||||||
if (division && division.trim() !== "") {
|
if (division && division.trim() !== "") {
|
||||||
|
|||||||
Reference in New Issue
Block a user