Fix Some Undefined Vars PHP Errors

This commit is contained in:
johnnyq
2024-06-07 17:57:02 -04:00
parent c2b7d03c22
commit fb4c1e828f
14 changed files with 32 additions and 22 deletions

View File

@@ -57,6 +57,7 @@ $real_overdue_amount = $total_overdue_amount - $total_overdue_partial_amount;
$total_unpaid_amount = $total_sent_amount + $total_viewed_amount + $total_partial_amount;
$unpaid_count = $sent_count + $viewed_count + $partial_count;
$overdue_query = '';
//Invoice status from GET
if (isset($_GET['status']) && ($_GET['status']) == 'Draft') {
$status_query = "invoice_status = 'Draft'";