Merge branch 'develop' of github.com:Frappet/bma-ehr-organization into develop

This commit is contained in:
kittapath 2024-09-17 09:52:14 +07:00
commit a8bbd5fbf2

View file

@ -1117,7 +1117,6 @@ export class PositionController extends Controller {
let searchShortName3 = `CONCAT(orgChild3.orgChild3ShortName,posMaster.posMasterNoPrefix,posMaster.posMasterNo,posMaster.posMasterNoSuffix)`;
let searchShortName4 = `CONCAT(orgChild4.orgChild4ShortName,posMaster.posMasterNoPrefix,posMaster.posMasterNo,posMaster.posMasterNoSuffix)`;
let _data = await new permission().PermissionOrgList(request, "SYS_ORG");
console.log(">>>>>>>>>>", _data);
let _child = 0;
if (_data.child4 && _data.child4.length > 0) _child = 4;
if (_data.child3 && _data.child3.length > 0) _child = 3;