Added redirect() function for page redirects and updated credit system fields to include credit_note, credit_invoice_id and type for better reporting

This commit is contained in:
johnnyq
2025-08-01 13:37:23 -04:00
parent 41a8e41463
commit 7cfba7f2ef
5 changed files with 39 additions and 5 deletions

View File

@@ -626,7 +626,7 @@ if (isset($_POST['add_telemetry'])) {
<nav class="mt-2">
<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
<li class="nav-item">
<a href="setup.php" class="nav-link <?php if (!isset($_GET) || empty($_GET)) { echo 'active'; } ?>">
<a href="index.php" class="nav-link <?php if (!isset($_GET) || empty($_GET)) { echo 'active'; } ?>">
<i class="nav-icon fas fa-home text-info"></i>
<p>1 - Welcome</p>
</a>