diff --git a/client_files.php b/client_files.php index 70f1f08c..0347a757 100644 --- a/client_files.php +++ b/client_files.php @@ -1,6 +1,12 @@ - + +$sql_files_images = mysqli_query($mysqli,"SELECT * FROM files WHERE client_id = $client_id AND (file_ext LIKE 'JPG' OR file_ext LIKE 'jpg' OR file_ext LIKE 'JPEG' OR file_ext LIKE 'jpeg' OR file_ext LIKE 'png' OR file_ext LIKE 'PNG') ORDER BY file_id DESC"); + +$sql_files_other = mysqli_query($mysqli,"SELECT * FROM files WHERE client_id = $client_id AND file_ext NOT LIKE 'JPG' AND file_ext NOT LIKE 'jpg' AND file_ext NOT LIKE 'png' AND file_ext NOT LIKE 'PNG' ORDER BY file_id DESC"); + +$num_of_files = mysqli_num_rows($sql_files_images) + mysqli_num_rows($sql_files_other); + +?>
@@ -9,7 +15,15 @@
-
+

No Records Here

"; + } + + ?> + +
- + diff --git a/dashboard.php b/dashboard.php index be3374e8..d3bf5bea 100644 --- a/dashboard.php +++ b/dashboard.php @@ -190,7 +190,14 @@ $total_recurring_invoice_amount = $row['total_recurring_invoice_amount'];
-
Cash Flow
+
+

Cash Flow

+
+ +
+
@@ -200,8 +207,12 @@ $total_recurring_invoice_amount = $row['total_recurring_invoice_amount'];
- - Income By Category +

Income By Category

+
+ +
@@ -212,8 +223,12 @@ $total_recurring_invoice_amount = $row['total_recurring_invoice_amount'];
- - Expense By Category +

Expense By Category

+
+ +
@@ -224,8 +239,12 @@ $total_recurring_invoice_amount = $row['total_recurring_invoice_amount'];
- - Expense By Vendor +

Expense By Vendor

+
+ +
@@ -236,7 +255,12 @@ $total_recurring_invoice_amount = $row['total_recurring_invoice_amount'];
- Account Balance +

Account Balance

+
+ +
@@ -283,7 +307,12 @@ $total_recurring_invoice_amount = $row['total_recurring_invoice_amount'];
- Latest Invoice Payments +

Latest Invoice Payments

+
+ +
@@ -320,7 +349,12 @@ $total_recurring_invoice_amount = $row['total_recurring_invoice_amount'];
- Latest Expenses +

Latest Expenses

+
+ +
diff --git a/footer.php b/footer.php index 1d1c2ae3..d5195116 100644 --- a/footer.php +++ b/footer.php @@ -13,9 +13,9 @@ + - diff --git a/ticket.php b/ticket.php index 64c028bd..5c0af5af 100644 --- a/ticket.php +++ b/ticket.php @@ -71,7 +71,10 @@ if(isset($_GET['ticket_id'])){
-
+ + + +
+ +
+
+
+
+

+ Ticket +

+
+
+ + + +
+
+ +
+
+ +
+

Client

+ +
+ + +
+ + + +
+ +
+ +

Details

+
+
+ +
+
+
diff --git a/tickets.php b/tickets.php index fbfdb20e..8cbfd1b8 100644 --- a/tickets.php +++ b/tickets.php @@ -57,24 +57,38 @@
-
-
- -
- +
+
+ +
+ +
+ +
+
+ +
+ - +

"> + - - + @@ -105,15 +119,18 @@ ?> - - - - + + + + + + +
NumberStatus + Created Client SubjectDate OpenedStatusLast Response Action
Never