Added get OS Browser Device and IP functions, added these functions to guest view invoice, also added invoice view alert and other minor fixes

This commit is contained in:
johnny@pittpc.com
2019-08-28 21:47:40 -04:00
parent 2e270a7f4e
commit 0e451056b4
11 changed files with 213 additions and 87 deletions

View File

@@ -192,7 +192,7 @@
$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) + 86400 < $now ){
$overdue_color = "text-danger font-weight-bold";
}else{
$overdue_color = "";