Skip to content

Commit abd985d

Browse files
author
wrongecho
committed
Create report landing page from nav menu
1 parent db5cfed commit abd985d

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

includes/side_nav.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186

187187
<?php if (lookupUserPermission("module_reporting") >= 1) { ?>
188188
<li class="nav-item mt-3">
189-
<a href="report_income_summary.php" class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "report_income_summary.php") { echo "active"; } ?>">
189+
<a href="report_overview.php" class="nav-link">
190190
<i class="fas fa-chart-line nav-icon"></i>
191191
<p>Reports</p>
192192
<i class="fas fa-angle-right nav-icon float-right"></i>

report_overview.php

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
require_once "includes/inc_all_reports.php";
4+
5+
?>
6+
7+
<div class="card card-dark">
8+
<div class="card-header py-2">
9+
<h3 class="card-title mt-2"><i class="fas fa-fw fa-coins mr-2"></i>Reports</h3>
10+
</div>
11+
<div class="card-body p-0">
12+
<form class="p-3">
13+
<h3>Access different reports using the menu on the left</h3>
14+
<small class="text-muted">In addition to the general reporting permission, you must have read permissions to the reporting area you wish to view (e.g. support/financial).</small>
15+
16+
</div>
17+
</div>
18+
19+
<?php require_once "includes/footer.php"; ?>
20+

0 commit comments

Comments
 (0)