diff --git a/CHANGELOG.md b/CHANGELOG.md
index 75c0a8c4..099c264e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,14 @@
This file documents all notable changes made to ITFlow.
+## [25.03.6]
+
+### Fixed
+- Set default to date to 2035-12-31 as 9999-12-31 and 2999-12-31 broke certain browsers.
+- Update Client PDF Export, add header added company logo.
+- Present Larger clearer Warning about updates on update page.
+- Allow to search by project reference.
+
## [25.03.5]
### Fixed
diff --git a/admin_update.php b/admin_update.php
index 9f2df4fa..c1accee9 100644
--- a/admin_update.php
+++ b/admin_update.php
@@ -32,8 +32,11 @@ $git_log = shell_exec("git log $repo_branch..origin/$repo_branch --pretty=format
CURRENT_DATABASE_VERSION) { ?>
-
You are up to date! Everything is going to be alright
+
+
+
+
+ You're up to date, but when was the last time you checked your ITFlow backup works?
+
+
+
+
= 1) {
- $export_credentials = intval($_POST["export_credentials"]);
+ $export_credentials = intval($_POST["export_credentials"] ?? 0);
}
$export_networks = intval($_POST["export_networks"]);
$export_certificates = intval($_POST["export_certificates"]);
@@ -747,6 +756,10 @@ if (isset($_POST["export_client_pdf"])) {
$pdf->SetAuthor($session_company_name);
$pdf->SetTitle("$client_name - IT Documentation");
+ // TODO: Add page numbers to footer, but can't work out how to do it without the ugly line
+ // $pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+ // $pdf->setFooterData();
+
// Enable auto page breaks with a margin from the bottom
$pdf->SetAutoPageBreak(true, 15);
@@ -779,17 +792,27 @@ if (isset($_POST["export_client_pdf"])) {
";
// Cover page section (for main content, not the TOC)
+ $html .= '
@@ -1219,6 +1246,8 @@ if (isset($_POST["export_client_pdf"])) {
$software_type
$software_license_type
$software_key
+
$software_purchase
+
$software_expire
$software_notes
";
}
@@ -1326,7 +1355,7 @@ if (isset($_POST["export_client_pdf"])) {
Domain Name
-
Expire
+
Expiration Date
";
@@ -1383,4 +1412,4 @@ if (isset($_POST["export_client_pdf"])) {
// Output the PDF document for download
$pdf->Output(strtoAZaz09($client_name) . "-IT_Documentation-" . date("Y-m-d") . ".pdf", "D");
exit;
-}
\ No newline at end of file
+}
diff --git a/projects.php b/projects.php
index b3a9efdd..114179b4 100644
--- a/projects.php
+++ b/projects.php
@@ -48,7 +48,7 @@ $sql_projects = mysqli_query(
LEFT JOIN clients ON client_id = project_client_id
LEFT JOIN users ON user_id = project_manager
WHERE DATE(project_created_at) BETWEEN '$dtf' AND '$dtt'
- AND (project_name LIKE '%$q%' OR project_description LIKE '%$q%' OR user_name LIKE '%$q%')
+ AND (CONCAT(project_prefix,project_number) LIKE '%$q%' OR project_name LIKE '%$q%' OR project_description LIKE '%$q%' OR user_name LIKE '%$q%')
AND project_completed_at $status_query
$project_permission_snippet
AND project_$archive_query