Fix a bunch of PHP Errors regarding various variable issues non existent vars, cleaned up client export documentation and export assets etc

This commit is contained in:
johnnyq
2021-12-09 15:26:21 -05:00
parent d78a24f3a5
commit a5a8fbc319
7 changed files with 17 additions and 30 deletions

View File

@@ -42,7 +42,7 @@
<option value="">- Category -</option>
<?php
$sql_income_category = mysqli_query($mysqli,"SELECT * FROM categories WHERE category_type = 'Income' AND (category_archived_at > '$income_created_at' OR category_archived_at IS NULL) AND company_id = $session_company_id ORDER BY category_name ASC");
$sql_income_category = mysqli_query($mysqli,"SELECT * FROM categories WHERE category_type = 'Income' AND (category_archived_at > '$invoice_created_at' OR category_archived_at IS NULL) AND company_id = $session_company_id ORDER BY category_name ASC");
while($row = mysqli_fetch_array($sql_income_category)){
$category_id_select= $row['category_id'];
$category_name_select = $row['category_name'];