Added contact name to vendors

This commit is contained in:
root
2019-06-13 17:37:08 -04:00
parent 0686406e07
commit 4330254891
9 changed files with 35 additions and 12 deletions

View File

@@ -41,7 +41,7 @@ if(isset($_GET['quote_id'], $_GET['url_key'])){
if(mysqli_num_rows($sql) == 1){
//Mark viewed in history
mysqli_query($mysqli,"INSERT INTO history SET history_date = CURDATE(), history_status = '$quote_status', history_description = 'Quote viewed', quote_id = $quote_id");
mysqli_query($mysqli,"INSERT INTO history SET history_date = CURDATE(), history_status = '$quote_status', history_description = 'Quote viewed', history_created_at = NOW(), quote_id = $quote_id");
//Set Badge color based off of quote status
if($quote_status == "Sent"){