mirror of
https://github.com/itflow-org/itflow
synced 2026-03-16 18:54:51 +00:00
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:
@@ -1,7 +1,7 @@
|
|||||||
<!-- Main Sidebar Container -->
|
<!-- Main Sidebar Container -->
|
||||||
<aside class="main-sidebar sidebar-dark-<?php echo nullable_htmlentities($config_theme); ?> d-print-none">
|
<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>
|
<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>
|
</a>
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
<?php if ($config_module_enable_ticketing == 1) { ?>
|
<?php if ($config_module_enable_ticketing == 1) { ?>
|
||||||
<li class="nav-header mt-3">SUPPORT</li>
|
<li class="nav-header mt-3">SUPPORT</li>
|
||||||
|
|
||||||
@@ -255,8 +255,8 @@
|
|||||||
<p>
|
<p>
|
||||||
Recurring
|
Recurring
|
||||||
<?php
|
<?php
|
||||||
if ($num_recurring_invoices > 0) { ?>
|
if ($num_recurring > 0) { ?>
|
||||||
<span class="right badge"><?php echo $num_recurring_invoices; ?></span>
|
<span class="right badge"><?php echo $num_recurring; ?></span>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
@@ -353,7 +353,7 @@
|
|||||||
<!-- /.sidebar-menu -->
|
<!-- /.sidebar-menu -->
|
||||||
|
|
||||||
<div class="mb-3"></div>
|
<div class="mb-3"></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- /.sidebar -->
|
<!-- /.sidebar -->
|
||||||
</aside>
|
</aside>
|
||||||
|
|||||||
Reference in New Issue
Block a user