diff --git a/client_document_details.php b/client_document_details.php
index 672b70dd..11e3612b 100644
--- a/client_document_details.php
+++ b/client_document_details.php
@@ -104,14 +104,15 @@ $document_parent = intval($row['document_parent']);
while ($row = mysqli_fetch_array($sql_files)) {
$file_id = intval($row['file_id']);
+ $folder_id = intval($row['file_folder_id']);
$file_name = nullable_htmlentities($row['file_name']);
$linked_files[] = $file_id;
?>
-
-
+
+
@@ -143,8 +144,8 @@ $document_parent = intval($row['document_parent']);
?>
-
-
+
+
@@ -161,7 +162,7 @@ $document_parent = intval($row['document_parent']);
-
-
-
+
+
@@ -209,8 +210,8 @@ $document_parent = intval($row['document_parent']);
?>
-
-
-
+
+
@@ -242,8 +243,8 @@ $document_parent = intval($row['document_parent']);
?>
-
-
-
+
+
diff --git a/client_side_nav.php b/client_side_nav.php
index 0adf20ba..c548a969 100644
--- a/client_side_nav.php
+++ b/client_side_nav.php
@@ -288,6 +288,15 @@
+ -
+ ">
+
+
+ Statement
+
+
+
+
-
">
diff --git a/client_statement.php b/client_statement.php
new file mode 100644
index 00000000..fa166620
--- /dev/null
+++ b/client_statement.php
@@ -0,0 +1,188 @@
+
+
+
+ -
+ Clients
+
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Invoice Number |
+ Date |
+ Due Date |
+ Amount |
+ Balance |
+
+
+
+
+
+ |
+
+ |
+
+
+ |
+
+
+ |
+
+
+ |
+
+
+ |
+
+
+
+
+
+
+
+
+
+ | Payment Reference |
+ Payment Date |
+ Payment Amount |
+ Invoice Number |
+
+
+
+
+
+ |
+
+ |
+
+
+ |
+
+
+ |
+
+
+ |
+
+
+
+
+
+
+
+
+
diff --git a/debug.php b/debug.php
new file mode 100644
index 00000000..b9b52aaf
--- /dev/null
+++ b/debug.php
@@ -0,0 +1,5 @@
+ 0) {
+ $username = encryptLoginEntry($_POST['username']);
+ $password = encryptLoginEntry($_POST['password']);
+
mysqli_query($mysqli,"UPDATE logins SET login_name = '$name', login_username = '$username', login_password = '$password' WHERE login_id = $login_id");
}else{
//If Username is filled in then add a login
- if (!empty($username)) {
+ if (!empty($_POST['username'])) {
+ $username = encryptLoginEntry($_POST['username']);
+ $password = encryptLoginEntry($_POST['password']);
mysqli_query($mysqli,"INSERT INTO logins SET login_name = '$name', login_username = '$username', login_password = '$password', login_software_id = $software_id, login_client_id = $client_id");
diff --git a/report_collections.php b/report_collections.php
index c62ac6f0..5f570f73 100644
--- a/report_collections.php
+++ b/report_collections.php
@@ -99,7 +99,7 @@
$formatted_behind_amount = numfmt_format_currency($currency_format, $behind_amount, $config_currency_code);
echo "";
- echo "| $client_name | ";
+ echo "$client_name | ";
echo "$formatted_balance | ";
echo "$billing_contact_phone | ";
echo "$formatted_recurring_monthly_total | ";