fix report
This commit is contained in:
parent
4ea856ec88
commit
d4f9a4496f
@ -475,7 +475,7 @@ function can_view($module) {
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
$reportsGroup = ['reports.php'];
|
||||
$reportsGroup = ['reports.php', 'report_products.php', 'report_staff.php'];
|
||||
if (can_view('reports')):
|
||||
?>
|
||||
<div class="nav-group">
|
||||
@ -489,6 +489,8 @@ function can_view($module) {
|
||||
<li class="nav-item">
|
||||
<a class="nav-link <?= isActive('reports.php') ?>" href="reports.php">
|
||||
<i class="bi bi-graph-up me-2"></i> <?= t('daily_reports') ?>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link <?= isActive('report_products.php') ?>" href="report_products.php">
|
||||
<i class="bi bi-box-seam me-2"></i> Product Sales
|
||||
@ -499,8 +501,6 @@ function can_view($module) {
|
||||
<i class="bi bi-person-badge me-2"></i> Staff Sales
|
||||
</a>
|
||||
</li>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
2
admin/test.php
Normal file
2
admin/test.php
Normal file
@ -0,0 +1,2 @@
|
||||
<?php
|
||||
echo "Test Admin";
|
||||
Loading…
x
Reference in New Issue
Block a user