mirror of
https://github.com/itflow-org/itflow
synced 2026-03-01 03:14:52 +00:00
Custom Roles & Permissions
Initial enforcement of custom roles & permissions - only on some pages via GET for now.
This commit is contained in:
@@ -6,6 +6,9 @@ $order = "DESC";
|
||||
|
||||
require_once "inc_all.php";
|
||||
|
||||
// Perms
|
||||
enforceUserPermission('module_sales');
|
||||
|
||||
$row = mysqli_fetch_assoc(mysqli_query($mysqli, "SELECT COUNT('invoice_id') AS num FROM invoices WHERE invoice_status = 'Sent'"));
|
||||
$sent_count = $row['num'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user