fix:add client
gitea/vn-asterisk/pipeline/head There was a failure building this commit
Details
gitea/vn-asterisk/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
e8ecfca521
commit
dce4afcf0d
|
@ -64,10 +64,11 @@ if ($client) {
|
|||
|
||||
$extension = $db->getValue(
|
||||
'SELECT d.pbxQueue
|
||||
FROM vn.worker w
|
||||
FROM vn.client c
|
||||
JOIN vn.worker w ON w.id = c.salesPersonFk
|
||||
JOIN vn.business b ON b.id = w.businessFk
|
||||
JOIN vn.department d ON d.id = b.departmentFk
|
||||
WHERE w.id = #',[$client]
|
||||
WHERE c.id= #',[$client]
|
||||
);
|
||||
|
||||
if ($extension) {
|
||||
|
|
Loading…
Reference in New Issue