From b3ebb21989a96f130a77f02608b254847529a760 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Tue, 15 Feb 2022 12:59:57 -0500 Subject: [PATCH] Do not show table fields and header if data doesnt exist, also removed the client footer on export Client IT Documentaiton --- post.php | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/post.php b/post.php index 46691911..ed791e52 100644 --- a/post.php +++ b/post.php @@ -6484,15 +6484,7 @@ if(isset($_GET['export_client_pdf'])){ title: '- IT Documentation', author: }, - footer: { - columns: [ - { - text: , - style: 'documentFooterCenter' - }, - ] - }, - + pageMargins: [ 15, 15, 15, 15 ], content: [ @@ -6561,6 +6553,7 @@ if(isset($_GET['export_client_pdf'])){ }, //Contacts Start + 0){ ?> { text: 'Contacts', style: 'title' @@ -6636,9 +6629,11 @@ if(isset($_GET['export_client_pdf'])){ ] } }, + //Contact END //Locations Start + 0){ ?> { text: 'Locations', style: 'title' @@ -6693,9 +6688,11 @@ if(isset($_GET['export_client_pdf'])){ ] } }, + //Locations END //Vendors Start + 0){ ?> { text: 'Vendors', style: 'title' @@ -6767,10 +6764,12 @@ if(isset($_GET['export_client_pdf'])){ ] } }, + //Vendors END //Logins Start + 0){ ?> { text: 'Logins', style: 'title' @@ -6840,10 +6839,16 @@ if(isset($_GET['export_client_pdf'])){ ] } }, - + //Logins END //Assets Start + 0){ ?> { text: 'Assets', style: 'title' @@ -6944,9 +6949,11 @@ if(isset($_GET['export_client_pdf'])){ ] } }, + //Assets END //Software Start + 0){ ?> { text: 'Software', style: 'title' @@ -7007,9 +7014,11 @@ if(isset($_GET['export_client_pdf'])){ ] } }, + //Software END //Networks Start + 0){ ?> { text: 'Networks', style: 'title' @@ -7079,9 +7088,11 @@ if(isset($_GET['export_client_pdf'])){ ] } }, + //Networks END //Domains Start + 0){ ?> { text: 'Domains', style: 'title' @@ -7124,9 +7135,11 @@ if(isset($_GET['export_client_pdf'])){ ] } }, + //Domains END //Certificates Start + 0){ ?> { text: 'Certificates', style: 'title' @@ -7187,6 +7200,7 @@ if(isset($_GET['export_client_pdf'])){ ] } }, + //Certificates END