Phase 3 Destructive Deletion - Do not show archived data under listings

This commit is contained in:
johnny@pittpc.com
2021-02-06 17:27:17 -05:00
parent b46881299d
commit 5eb1c9544c
3 changed files with 15 additions and 4 deletions

View File

@@ -22,7 +22,11 @@ if(isset($_GET['o'])){
//Rebuild URL
$url_query_strings_sb = http_build_query(array_merge($_GET,array('sb' => $sb, 'o' => $o)));
$sql = mysqli_query($mysqli,"SELECT * FROM taxes WHERE company_id = $session_company_id ORDER BY $sb $o");
$sql = mysqli_query($mysqli,"SELECT * FROM taxes
WHERE tax_archived_at IS NULL
AND company_id = $session_company_id
ORDER BY $sb $o"
);
$num_rows = mysqli_num_rows($sql);