Changed notes to documents DB Structure updated

This commit is contained in:
johnny@pittpc.com
2021-01-26 19:16:51 -05:00
parent 4fec4dd36b
commit 6aebe260f5
10 changed files with 85 additions and 106 deletions

View File

@@ -176,13 +176,13 @@
</li>
<li class="nav-item">
<a href="?client_id=<?php echo $client_id; ?>&tab=notes" class="nav-link <?php if($_GET['tab'] == "notes") { echo "active"; } ?>">
<i class="nav-icon fas fa-edit"></i>
<a href="?client_id=<?php echo $client_id; ?>&tab=documents" class="nav-link <?php if($_GET['tab'] == "documents") { echo "active"; } ?>">
<i class="nav-icon fas fa-file-alt"></i>
<p>
Notes
Documents
<?php
if($num_notes > 0){ ?>
<span class="right badge badge-light"><?php echo $num_notes; ?></span>
if($num_documents > 0){ ?>
<span class="right badge badge-light"><?php echo $num_documents; ?></span>
<?php } ?>
</p>
</a>