diff --git a/admin/category.php b/admin/category.php
index 020e0e0b..8173e3f6 100644
--- a/admin/category.php
+++ b/admin/category.php
@@ -34,7 +34,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
if (!isset($_GET['archived'])) {
?>
-
-
-
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+ if ($type === 1) {
+ $type_display = "Client";
+ } elseif($type === 2) {
+ $type_display = "Location";
+ } elseif ($type === 3) {
+ $type_display = "Contact";
+ } elseif ($type === 4) {
+ $type_display = "Credential";
+ }
+}
+
+?>
+
+
+
+
+
Tags
-
+
@@ -123,7 +123,5 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
-
@@ -128,11 +126,8 @@
-
+
diff --git a/user/modals/client/client_edit.php b/user/modals/client/client_edit.php
index d2cd2903..ad25b911 100644
--- a/user/modals/client/client_edit.php
+++ b/user/modals/client/client_edit.php
@@ -124,10 +124,8 @@ ob_start();
?>
-
+
@@ -164,11 +162,8 @@ ob_start();
-
+
diff --git a/user/modals/contact/contact_add.php b/user/modals/contact/contact_add.php
index f08b2808..1d885dc1 100644
--- a/user/modals/contact/contact_add.php
+++ b/user/modals/contact/contact_add.php
@@ -280,11 +280,8 @@
-
+
diff --git a/user/modals/contact/contact_edit.php b/user/modals/contact/contact_edit.php
index 188b5de3..7ee72dbd 100644
--- a/user/modals/contact/contact_edit.php
+++ b/user/modals/contact/contact_edit.php
@@ -322,11 +322,8 @@ ob_start();
-
+
diff --git a/user/modals/credential/credential_add.php b/user/modals/credential/credential_add.php
index 237f9011..621a7638 100644
--- a/user/modals/credential/credential_add.php
+++ b/user/modals/credential/credential_add.php
@@ -235,11 +235,8 @@
-
+
diff --git a/user/modals/credential/credential_edit.php b/user/modals/credential/credential_edit.php
index fb8a8d7f..6ddef00e 100644
--- a/user/modals/credential/credential_edit.php
+++ b/user/modals/credential/credential_edit.php
@@ -244,11 +244,8 @@ ob_start();
-
+
diff --git a/user/modals/expense/expense_add.php b/user/modals/expense/expense_add.php
index 3753c0ef..dee8f8f6 100644
--- a/user/modals/expense/expense_add.php
+++ b/user/modals/expense/expense_add.php
@@ -141,8 +141,7 @@
+ data-modal-url="../admin/modals/category/category_add.php?category=Expense">
diff --git a/user/modals/expense/expense_edit.php b/user/modals/expense/expense_edit.php
index 059cfe66..59e44c03 100644
--- a/user/modals/expense/expense_edit.php
+++ b/user/modals/expense/expense_edit.php
@@ -131,12 +131,7 @@ ob_start();
?>
@@ -181,10 +176,8 @@ ob_start();
?>
-
+
diff --git a/user/modals/invoice/invoice_add.php b/user/modals/invoice/invoice_add.php
index a974476e..5339907a 100644
--- a/user/modals/invoice/invoice_add.php
+++ b/user/modals/invoice/invoice_add.php
@@ -73,10 +73,8 @@
?>
-
+
diff --git a/user/modals/invoice/invoice_edit.php b/user/modals/invoice/invoice_edit.php
index e1d81412..0bdbe5bc 100644
--- a/user/modals/invoice/invoice_edit.php
+++ b/user/modals/invoice/invoice_edit.php
@@ -77,10 +77,8 @@ ob_start();
?>
-
+
diff --git a/user/modals/location/location_add.php b/user/modals/location/location_add.php
index ae230e72..4903ce13 100644
--- a/user/modals/location/location_add.php
+++ b/user/modals/location/location_add.php
@@ -248,11 +248,8 @@
-
+
diff --git a/user/modals/location/location_edit.php b/user/modals/location/location_edit.php
index 2737b17a..dd030f47 100644
--- a/user/modals/location/location_edit.php
+++ b/user/modals/location/location_edit.php
@@ -273,11 +273,8 @@ ob_start();
-
+
diff --git a/user/modals/product/product_add.php b/user/modals/product/product_add.php
index b07677f5..4448475f 100644
--- a/user/modals/product/product_add.php
+++ b/user/modals/product/product_add.php
@@ -44,10 +44,8 @@
?>
-
+
diff --git a/user/modals/product/product_edit.php b/user/modals/product/product_edit.php
index b67979a3..bfa8a9ce 100644
--- a/user/modals/product/product_edit.php
+++ b/user/modals/product/product_edit.php
@@ -62,10 +62,8 @@ ob_start();
?>
-
+
diff --git a/user/modals/quote/quote_add.php b/user/modals/quote/quote_add.php
index b329b231..6860cd12 100644
--- a/user/modals/quote/quote_add.php
+++ b/user/modals/quote/quote_add.php
@@ -71,10 +71,8 @@
-
+
diff --git a/user/modals/quote/quote_edit.php b/user/modals/quote/quote_edit.php
index 7d4e891e..5b4a0ab8 100644
--- a/user/modals/quote/quote_edit.php
+++ b/user/modals/quote/quote_edit.php
@@ -73,10 +73,8 @@ ob_start();
-
+
diff --git a/user/modals/recurring_expense/recurring_expense_add.php b/user/modals/recurring_expense/recurring_expense_add.php
index cc11887a..5fe8e732 100644
--- a/user/modals/recurring_expense/recurring_expense_add.php
+++ b/user/modals/recurring_expense/recurring_expense_add.php
@@ -183,8 +183,7 @@
+ data-modal-url="../admin/modals/category/category_add.php?category=Expense">
diff --git a/user/modals/recurring_expense/recurring_expense_edit.php b/user/modals/recurring_expense/recurring_expense_edit.php
index 66921f75..6a0d8b9b 100644
--- a/user/modals/recurring_expense/recurring_expense_edit.php
+++ b/user/modals/recurring_expense/recurring_expense_edit.php
@@ -215,8 +215,7 @@ ob_start();
+ data-modal-url="../admin/modals/category/category_add.php?category=Expense">
diff --git a/user/modals/recurring_invoice/recurring_invoice_add.php b/user/modals/recurring_invoice/recurring_invoice_add.php
index 44cf086d..cf9f9a43 100644
--- a/user/modals/recurring_invoice/recurring_invoice_add.php
+++ b/user/modals/recurring_invoice/recurring_invoice_add.php
@@ -97,10 +97,8 @@
?>
-
+
diff --git a/user/modals/recurring_invoice/recurring_invoice_edit.php b/user/modals/recurring_invoice/recurring_invoice_edit.php
index 2add4f58..9d8941e8 100644
--- a/user/modals/recurring_invoice/recurring_invoice_edit.php
+++ b/user/modals/recurring_invoice/recurring_invoice_edit.php
@@ -88,10 +88,8 @@ ob_start();
?>
-
+
diff --git a/user/modals/recurring_ticket/recurring_ticket_add.php b/user/modals/recurring_ticket/recurring_ticket_add.php
index 833933c7..f0014067 100644
--- a/user/modals/recurring_ticket/recurring_ticket_add.php
+++ b/user/modals/recurring_ticket/recurring_ticket_add.php
@@ -89,10 +89,8 @@
-
+
diff --git a/user/modals/recurring_ticket/recurring_ticket_edit.php b/user/modals/recurring_ticket/recurring_ticket_edit.php
index 7969a2f1..2c163e04 100644
--- a/user/modals/recurring_ticket/recurring_ticket_edit.php
+++ b/user/modals/recurring_ticket/recurring_ticket_edit.php
@@ -114,10 +114,8 @@ ob_start();
-
+
diff --git a/user/modals/revenue/revenue_add.php b/user/modals/revenue/revenue_add.php
index 4845bde2..298acfff 100644
--- a/user/modals/revenue/revenue_add.php
+++ b/user/modals/revenue/revenue_add.php
@@ -99,10 +99,8 @@
?>
-
+
diff --git a/user/modals/revenue/revenue_edit.php b/user/modals/revenue/revenue_edit.php
index 7d491cf0..f6eab406 100644
--- a/user/modals/revenue/revenue_edit.php
+++ b/user/modals/revenue/revenue_edit.php
@@ -125,10 +125,8 @@ ob_start();
?>
-
+
diff --git a/user/modals/ticket/ticket_add.php b/user/modals/ticket/ticket_add.php
index 67110e0e..71df2031 100644
--- a/user/modals/ticket/ticket_add.php
+++ b/user/modals/ticket/ticket_add.php
@@ -159,10 +159,8 @@
-
+
diff --git a/user/modals/ticket/ticket_add_v2.php b/user/modals/ticket/ticket_add_v2.php
index 48c8da0f..cc360a1d 100644
--- a/user/modals/ticket/ticket_add_v2.php
+++ b/user/modals/ticket/ticket_add_v2.php
@@ -138,10 +138,8 @@
-
+
diff --git a/user/modals/ticket/ticket_edit.php b/user/modals/ticket/ticket_edit.php
index 3f311db0..cd2e5482 100644
--- a/user/modals/ticket/ticket_edit.php
+++ b/user/modals/ticket/ticket_edit.php
@@ -118,10 +118,8 @@ ob_start();
-
+