diff --git a/guest_view_ticket.php b/guest_view_ticket.php
index 702cb712..2b0c0ff7 100644
--- a/guest_view_ticket.php
+++ b/guest_view_ticket.php
@@ -80,7 +80,7 @@ if ($ticket_row) {
diff --git a/portal/contacts.php b/portal/contacts.php
index 66f7a3cb..f4f2a04f 100644
--- a/portal/contacts.php
+++ b/portal/contacts.php
@@ -17,8 +17,10 @@ $contacts_sql = mysqli_query($mysqli, "SELECT contact_id, contact_name, contact_
?>
-
Contacts
-
diff --git a/portal/ticket.php b/portal/ticket.php
index be059896..45a8a706 100644
--- a/portal/ticket.php
+++ b/portal/ticket.php
@@ -92,17 +92,20 @@ if (isset($_GET['id']) && intval($_GET['id'])) {
Subject:
- State:
-
- Priority:
-
+ State:
+ Priority:
+
Tasks:
- Assigned to:
+
+
+ Assigned to:
+
+
diff --git a/post/user/client.php b/post/user/client.php
index d9d451c4..9d0a93c3 100644
--- a/post/user/client.php
+++ b/post/user/client.php
@@ -129,7 +129,7 @@ if (isset($_POST['edit_client'])) {
$sql = mysqli_query($mysqli, "SELECT category_name FROM categories WHERE category_type = 'Referral' AND category_archived_at IS NULL AND category_name = '$referral'");
if(mysqli_num_rows($sql) == 0) {
mysqli_query($mysqli, "INSERT INTO categories SET category_name = '$referral', category_type = 'Referral'");
-
+
// Logging
logAction("Category", "Create", "$session_name created referral category $referral");
}
@@ -383,7 +383,7 @@ if (isset($_POST['export_clients_csv'])) {
//output all remaining data on a file pointer
fpassthru($f);
-
+
logAction("Client", "Export", "$session_name exported $num_rows client(s) to a CSV file");
}
@@ -1937,9 +1937,14 @@ if (isset($_POST['export_client_pdf'])) {
//pdfMake.createPdf(docDefinition).download('-IT_Documentation-');
pdfMake.createPdf(docDefinition).download('-IT_Documentation-');
+ setTimeout(function(){
+ window.close();
+ }, 10000);
+
+
##- Please type your reply above this line -##
Hello $contact_name,
A ticket regarding \"$ticket_subject\" has been created for you.
--------------------------------
$ticket_details--------------------------------
Ticket: $ticket_prefix$ticket_number
Subject: $ticket_subject
Status: $ticket_status
Portal:
View ticket--
$company_name - Support
$config_ticket_from_email
$company_phone";
-
- // Only add contact to email queue if email is valid
- if (filter_var($contact_email, FILTER_VALIDATE_EMAIL)) {
- $data[] = [
- 'from' => $config_ticket_from_email,
- 'from_name' => $config_ticket_from_name,
- 'recipient' => $contact_email,
- 'recipient_name' => $contact_name,
- 'subject' => $subject,
- 'body' => $body
- ];
- }
+ $data[] = [
+ 'from' => $config_ticket_from_email,
+ 'from_name' => $config_ticket_from_name,
+ 'recipient' => $contact_email,
+ 'recipient_name' => $contact_name,
+ 'subject' => $subject,
+ 'body' => $body
+ ];
addToMailQueue($mysqli, $data);
}
diff --git a/ticket.php b/ticket.php
index e080c662..87d73597 100644
--- a/ticket.php
+++ b/ticket.php
@@ -895,7 +895,7 @@ if (isset($_GET['ticket_id'])) {