Add viewed status to invoice and quote when viewed via the guest portal

This commit is contained in:
johnny@pittpc.com
2019-08-26 18:20:37 -04:00
parent 2d44222ad9
commit ceef449e37
7 changed files with 32 additions and 5 deletions

View File

@@ -59,6 +59,8 @@ if(isset($_GET['invoice_id'])){
//Set Badge color based off of invoice status
if($invoice_status == "Sent"){
$invoice_badge_color = "warning text-white";
}elseif($invoice_status == "Viewed"){
$invoice_badge_color = "info";
}elseif($invoice_status == "Partial"){
$invoice_badge_color = "primary";
}elseif($invoice_status == "Paid"){