Fixed Overdue color for Viewed under client invoices

This commit is contained in:
Johnny 2020-12-01 11:19:13 -05:00
parent 11da4bb989
commit 9f2aaf26a5
1 changed files with 1 additions and 1 deletions

View File

@ -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 = "";