fix: make permission covered company
This commit is contained in:
parent
0c79a92fc4
commit
37fac3934c
1 changed files with 1 additions and 1 deletions
|
|
@ -576,7 +576,7 @@ export class QuotationController extends Controller {
|
|||
|
||||
if (!record) throw notFoundError("Quotation");
|
||||
|
||||
await permissionCheck(req.user, record.registeredBranch);
|
||||
await permissionCheckCompany(req.user, record.registeredBranch);
|
||||
|
||||
const ids = {
|
||||
employee: body.worker?.filter((v) => typeof v === "string"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue