Client side nav pulls recurring invoice count from num_recurring, not num_recurring_invoices (this is instead used on the main page via inc_all)

This commit is contained in:
Marcus Hill 2024-04-12 21:39:36 +01:00
parent 453453cf9a
commit bdd75f9f95
1 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
<!-- Main Sidebar Container -->
<aside class="main-sidebar sidebar-dark-<?php echo nullable_htmlentities($config_theme); ?> d-print-none">
<a class="brand-link pb-1 mt-1" href="clients.php">
<a class="brand-link pb-1 mt-1" href="clients.php">
<p class="h5"><i class="nav-icon fas fa-arrow-left ml-3 mr-2"></i> Back | <strong><?php echo shortenClient($client_name); ?></strong></p>
</a>
@ -46,7 +46,7 @@
</a>
</li>
<?php if ($config_module_enable_ticketing == 1) { ?>
<li class="nav-header mt-3">SUPPORT</li>
@ -255,8 +255,8 @@
<p>
Recurring
<?php
if ($num_recurring_invoices > 0) { ?>
<span class="right badge"><?php echo $num_recurring_invoices; ?></span>
if ($num_recurring > 0) { ?>
<span class="right badge"><?php echo $num_recurring; ?></span>
<?php } ?>
</p>
</a>
@ -353,7 +353,7 @@
<!-- /.sidebar-menu -->
<div class="mb-3"></div>
</div>
<!-- /.sidebar -->
</aside>