From 9f2aaf26a55c6e5d2577ca28c633949d54e4268d Mon Sep 17 00:00:00 2001 From: Johnny Date: Tue, 1 Dec 2020 11:19:13 -0500 Subject: [PATCH] Fixed Overdue color for Viewed under client invoices --- client_invoices.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client_invoices.php b/client_invoices.php index 0e6beb8e..bc4a7d75 100644 --- a/client_invoices.php +++ b/client_invoices.php @@ -95,7 +95,7 @@ $total_pages = ceil($total_found_rows / 10); $category_name = $row['category_name']; $now = time(); - if(($invoice_status == "Sent" or $invoice_status == "Partial") and strtotime($invoice_due) < $now ){ + if(($invoice_status == "Sent" or $invoice_status == "Partial" or $invoice_status == "Viewed") and strtotime($invoice_due) < $now ){ $overdue_color = "text-danger font-weight-bold"; }else{ $overdue_color = "";