Name
- Department
+ Department
Email
Phone
Mobile
@@ -90,11 +89,11 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
}else{
$contact_title_display = "$contact_title ";
}
- $department_name = $row['department_name'];
- if(empty($department_name)){
- $department_name_display = "-";
+ $contact_department = $row['contact_department'];
+ if(empty($contact_department)){
+ $contact_department_display = "-";
}else{
- $department_name_display = $department_name;
+ $contact_department_display = $contact_department;
}
$contact_phone = formatPhoneNumber($row['contact_phone']);
if(empty($contact_phone)){
@@ -131,7 +130,6 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
}else{
$location_name_display = $location_name;
}
- $department_id = $row['department_id'];
$auth_method = $row['contact_auth_method'];
// Related Assets Query
@@ -181,7 +179,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
-
+
diff --git a/client_department_add_modal.php b/client_department_add_modal.php
deleted file mode 100644
index b4d34297..00000000
--- a/client_department_add_modal.php
+++ /dev/null
@@ -1,32 +0,0 @@
-
\ No newline at end of file
diff --git a/client_department_edit_modal.php b/client_department_edit_modal.php
deleted file mode 100644
index 021bb681..00000000
--- a/client_department_edit_modal.php
+++ /dev/null
@@ -1,33 +0,0 @@
-
\ No newline at end of file
diff --git a/client_departments.php b/client_departments.php
deleted file mode 100644
index 80386750..00000000
--- a/client_departments.php
+++ /dev/null
@@ -1,99 +0,0 @@
- $sb, 'o' => $o)));
-
-$sql = mysqli_query($mysqli,"SELECT SQL_CALC_FOUND_ROWS * FROM departments
- WHERE department_client_id = $client_id
- AND (department_name LIKE '%$q%')
- ORDER BY $sb $o LIMIT $record_from, $record_to");
-
-$num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
-
-?>
-
-
-
-
-
-
-
-
- ">
-
- Department
- Action
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/client_document_add_modal.php b/client_document_add_modal.php
index 548983c7..8858bda7 100644
--- a/client_document_add_modal.php
+++ b/client_document_add_modal.php
@@ -14,36 +14,6 @@
-
-
-
-
-