upd
This commit is contained in:
@ -1662,7 +1662,7 @@ class PoAdapter extends Adapter {
|
|||||||
qry +
|
qry +
|
||||||
"where trim(ponumber) like '%" +
|
"where trim(ponumber) like '%" +
|
||||||
keyword +
|
keyword +
|
||||||
"%' and ponumber<>'000' and status in (1,2,3,4,5,6)";
|
"%' and ponumber<>'000' and status in (2,3,4,5,6)";
|
||||||
|
|
||||||
if (nik) {
|
if (nik) {
|
||||||
if (!proc_users.includes(nik)) {
|
if (!proc_users.includes(nik)) {
|
||||||
@ -1690,7 +1690,7 @@ class PoAdapter extends Adapter {
|
|||||||
"totalrows": result.length,
|
"totalrows": result.length,
|
||||||
});
|
});
|
||||||
qry = "select * from vw_po ";
|
qry = "select * from vw_po ";
|
||||||
qry = qry + "where trim(ponumber) like '%" + keyword + "%' and ponumber<>'000'";
|
qry = qry + "where trim(ponumber) like '%" + keyword + "%' and ponumber<>'000' and status in (2,3,4,5,6)";
|
||||||
if (nik) {
|
if (nik) {
|
||||||
if (!proc_users.includes(nik)) {
|
if (!proc_users.includes(nik)) {
|
||||||
qry += ' and (iby="' + nik + ' or nikapproval="' + nik + '") ';
|
qry += ' and (iby="' + nik + ' or nikapproval="' + nik + '") ';
|
||||||
|
|||||||
Reference in New Issue
Block a user