More enforcing user permissions

This commit is contained in:
wrongecho
2024-09-28 20:04:33 +01:00
parent e94aae7940
commit 654b590033
24 changed files with 136 additions and 94 deletions

View File

@@ -11,7 +11,7 @@
<form action="post.php" method="post" autocomplete="off">
<input type="hidden" name="quote_id" id="editQuoteID" value="">
<div class="modal-body bg-white">
<div class="modal-body bg-white" <?php if (lookupUserPermission('module_sales') <= 1) { echo 'inert'; } ?>>
<div class="form-group">
<label>Quote Date</label>