diff --git a/add_vendor_modal.php b/add_vendor_modal.php index 56dba051..8b8fe9f4 100644 --- a/add_vendor_modal.php +++ b/add_vendor_modal.php @@ -112,6 +112,16 @@
+
+ +
+
+ +
+ +
+
+
diff --git a/client_vendors.php b/client_vendors.php index 095e2802..c4868714 100644 --- a/client_vendors.php +++ b/client_vendors.php @@ -29,6 +29,7 @@ $vendor_city = $row['vendor_city']; $vendor_state = $row['vendor_state']; $vendor_zip = $row['vendor_zip']; + $vendor_contact_name = $row['vendor_contact_name']; $vendor_phone = $row['vendor_phone']; if(strlen($vendor_phone)>2){ $vendor_phone = substr($row['vendor_phone'],0,3)."-".substr($row['vendor_phone'],3,3)."-".substr($row['vendor_phone'],6,4); diff --git a/edit_vendor_modal.php b/edit_vendor_modal.php index 9517a5c2..c60efe92 100644 --- a/edit_vendor_modal.php +++ b/edit_vendor_modal.php @@ -112,6 +112,16 @@
+
+ +
+
+ +
+ +
+
+
diff --git a/guest_post.php b/guest_post.php index e1ae486e..3f6aebbe 100644 --- a/guest_post.php +++ b/guest_post.php @@ -42,7 +42,7 @@ if(isset($_GET['pdf_invoice'], $_GET['url_key'])){ if(mysqli_num_rows($sql) == 1){ //Mark downloaded in history - mysqli_query($mysqli,"INSERT INTO history SET history_date = CURDATE(), history_status = '$invoice_status', history_description = 'Invoice downloaded', invoice_id = $invoice_id"); + mysqli_query($mysqli,"INSERT INTO history SET history_date = CURDATE(), history_status = '$invoice_status', history_description = 'Invoice downloaded', history_created_at = NOW(), invoice_id = $invoice_id"); $sql_payments = mysqli_query($mysqli,"SELECT * FROM payments, accounts WHERE payments.account_id = accounts.account_id AND payments.invoice_id = $invoice_id ORDER BY payments.payment_id DESC"); @@ -122,7 +122,7 @@ if(isset($_GET['pdf_invoice'], $_GET['url_key'])){