From bae8a56437f0335dec3e663dab4fc3c49eb0ddc6 Mon Sep 17 00:00:00 2001 From: Jeremiah <91098583+ZzBombardierzZ@users.noreply.github.com> Date: Thu, 19 Sep 2024 11:49:42 -0700 Subject: [PATCH] Update Software Report - Advanced DataTables.json Fix "Show all" --- templates/Software Report - Advanced DataTables.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/Software Report - Advanced DataTables.json b/templates/Software Report - Advanced DataTables.json index a38d606..959fde7 100644 --- a/templates/Software Report - Advanced DataTables.json +++ b/templates/Software Report - Advanced DataTables.json @@ -3,7 +3,7 @@ "template": { "name": "Software Report - Advanced DataTables", "template_css": "", - "template_md": "\r\n\r\n\r\n \r\n \r\n {{ client.name }} | Software Inventory Report\r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n

{{ client.name }}'s Software Inventory Report

\r\n

Below is a list of all software currently installed on computers in your organization. This data was exported on {{datetime.date.today()}} and may not reflect the current status.

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Loading...
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {% for data in data_sources.agentSoftware %}\r\n {% for software in data.software %}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {% endfor %}\r\n {% else %}\r\n \r\n \r\n \r\n {% endfor %}\r\n \r\n
HostnameLast UserSite NameSoftware NamePublisherInstall Date
{{ data.agent__hostname }}{{ data.agent__last_logged_in_user }}{{ data.agent__site__name }}{{ software.name }}{{ software.publisher }}{{ software.install_date }}
No software found.
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n", + "template_md": "\r\n\r\n\r\n \r\n \r\n {{ client.name }} | Software Inventory Report\r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n

{{ client.name }}'s Software Inventory Report

\r\n

Below is a list of all software currently installed on computers in your organization. This data was exported on {{datetime.date.today()}} and may not reflect the current status.

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Loading...
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {% for data in data_sources.agentSoftware %}\r\n {% for software in data.software %}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {% endfor %}\r\n {% else %}\r\n \r\n \r\n \r\n {% endfor %}\r\n \r\n
HostnameLast UserSite NameSoftware NamePublisherInstall Date
{{ data.agent__hostname }}{{ data.agent__last_logged_in_user }}{{ data.agent__site__name }}{{ software.name }}{{ software.publisher }}{{ software.install_date }}
No software found.
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n", "type": "html", "depends_on": [ "client" @@ -11,4 +11,4 @@ "template_variables": "data_sources:\r\n agentSoftware:\r\n model: installedsoftware\r\n filter:\r\n agent__site__client__id: \"{{client.id}}\"\r\n only:\r\n - software\r\n - agent__hostname\r\n - agent__site__name\r\n - agent__site__client\r\n - agent__last_logged_in_user" }, "assets": [] -} \ No newline at end of file +}