roles guard + docs + logo
This commit is contained in:
@@ -33,6 +33,10 @@
|
||||
$aisle = trim($data['aisle'] ?? '');
|
||||
$rack = trim($data['rack'] ?? '');
|
||||
|
||||
if ($label_action !== 'list') {
|
||||
require_role($user_role, ['owner', 'admin', 'staff']);
|
||||
}
|
||||
|
||||
if ($label_action === 'list') {
|
||||
$sth = $pdo2->prepare(
|
||||
"SELECT barcode, warehouse_id, zone, aisle, rack, status, print_count, last_printed_dt
|
||||
|
||||
Reference in New Issue
Block a user