Dont include Archived Assets, contacts or software is the software license export report

This commit is contained in:
johnnyq 2025-03-26 18:28:33 -04:00
parent 382258a27c
commit 12fd45c144
2 changed files with 5 additions and 0 deletions

View File

@ -34,6 +34,7 @@ This file documents all notable changes made to ITFlow.
- Added Create New Ticket while in project details section.
- Brought back Batch Payment in client invoices.
- Added client abbrevation to client and global search options.
- Added User / Asset Software Assigned Licenses to Client PDF Export.
### Breaking Changes

View File

@ -677,6 +677,8 @@ if (isset($_POST['export_client_pdf'])) {
contacts ON software_contacts.contact_id = contacts.contact_id
JOIN
software ON software_contacts.software_id = software.software_id
WHERE software_archived_at IS NULL
AND contact_archived_at IS NULL
ORDER BY
contact_name, software_name;"
);
@ -691,6 +693,8 @@ if (isset($_POST['export_client_pdf'])) {
assets ON software_assets.asset_id = assets.asset_id
JOIN
software ON software_assets.software_id = software.software_id
WHERE software_archived_at IS NULL
AND asset_archived_at IS NULL
ORDER BY
asset_name, software_name;"
);