mirror of
https://github.com/itflow-org/itflow
synced 2026-08-24 00:15:12 +00:00
Show trips on main nav for everyone if accounting enabled
This commit is contained in:
@@ -125,8 +125,10 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if ($config_module_enable_accounting == 1 && lookupUserPermission("module_financial") >= 1) { ?>
|
|
||||||
|
<?php if ($config_module_enable_accounting == 1) { ?>
|
||||||
<li class="nav-header mt-3">FINANCE</li>
|
<li class="nav-header mt-3">FINANCE</li>
|
||||||
|
<?php if (lookupUserPermission("module_financial") >= 1) { ?>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="/agent/payments.php" class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "payments.php") { echo "active"; } ?>">
|
<a href="/agent/payments.php" class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "payments.php") { echo "active"; } ?>">
|
||||||
<i class="nav-icon fas fa-credit-card"></i>
|
<i class="nav-icon fas fa-credit-card"></i>
|
||||||
@@ -168,6 +170,7 @@
|
|||||||
<p>Transfers</p>
|
<p>Transfers</p>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<?php } ?>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="/agent/trips.php" class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "trips.php") { echo "active"; } ?>">
|
<a href="/agent/trips.php" class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "trips.php") { echo "active"; } ?>">
|
||||||
<i class="nav-icon fas fa-route"></i>
|
<i class="nav-icon fas fa-route"></i>
|
||||||
|
|||||||
Reference in New Issue
Block a user