mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Show Alerts and Defaults in settings if module accounting is disabled
This commit is contained in:
@@ -112,7 +112,14 @@
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<?php if ($config_module_enable_accounting) { ?>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "settings_alerts.php") { echo "active"; } ?>"
|
||||
href="settings_alerts.php">
|
||||
<i class="nav-icon far fa-bell"></i>
|
||||
<p>Alerts</p>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "settings_defaults.php") { echo "active"; } ?>"
|
||||
href="settings_defaults.php">
|
||||
@@ -121,6 +128,8 @@
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<?php if ($config_module_enable_accounting) { ?>
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "settings_invoice.php") { echo "active"; } ?>"
|
||||
href="settings_invoice.php">
|
||||
@@ -137,14 +146,6 @@
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "settings_alerts.php") { echo "active"; } ?>"
|
||||
href="settings_alerts.php">
|
||||
<i class="nav-icon far fa-bell"></i>
|
||||
<p>Alerts</p>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "settings_online_payment.php") { echo "active"; } ?>"
|
||||
href="settings_online_payment.php">
|
||||
|
||||
Reference in New Issue
Block a user