Phase 2 - Non Destructive Deletion - Removed Delete and replaced with Archive on certain entities, post and buttons done Pending Listing

This commit is contained in:
johnny@pittpc.com
2021-02-06 17:18:02 -05:00
parent 7ef971416f
commit b46881299d
7 changed files with 124 additions and 22 deletions

View File

@@ -65,7 +65,7 @@ $num_rows = mysqli_num_rows($sql);
<div class="dropdown-menu">
<a class="dropdown-item" href="#" data-toggle="modal" data-target="#editTaxModal<?php echo $tax_id; ?>">Edit</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="post.php?delete_tax=<?php echo $tax_id; ?>">Delete</a>
<a class="dropdown-item" href="post.php?archive_tax=<?php echo $tax_id; ?>">Archive</a>
</div>
</div>
</td>
@@ -76,12 +76,10 @@ $num_rows = mysqli_num_rows($sql);
include("edit_tax_modal.php");
}
?>
<?php
if($num_rows == 0){
echo "<center><h3 class='text-secondary mt-3'>No Records Here</h3></center>";
}
?>
</tbody>
@@ -91,6 +89,10 @@ $num_rows = mysqli_num_rows($sql);
</div>
</div>
<?php include("add_tax_modal.php"); ?>
<?php
include("add_tax_modal.php");
<?php include("footer.php");
include("footer.php");
?>