Add Software Key to export client pdf

This commit is contained in:
johnnyq
2023-10-04 22:15:35 -04:00
parent 8cfa0e97d4
commit f842d2578f

View File

@@ -1316,6 +1316,10 @@ if (isset($_POST['export_client_pdf'])) {
text: 'License', text: 'License',
style: 'itemHeader' style: 'itemHeader'
}, },
{
text: 'License Key',
style: 'itemHeader'
},
{ {
text: 'Notes', text: 'Notes',
style: 'itemHeader' style: 'itemHeader'
@@ -1326,6 +1330,7 @@ if (isset($_POST['export_client_pdf'])) {
while($row = mysqli_fetch_array($sql_software)){ while($row = mysqli_fetch_array($sql_software)){
$software_name = $row['software_name']; $software_name = $row['software_name'];
$software_type = $row['software_type']; $software_type = $row['software_type'];
$software_key = $row['software_key'];
$software_license_type = $row['software_license_type']; $software_license_type = $row['software_license_type'];
$software_notes = $row['software_notes']; $software_notes = $row['software_notes'];
?> ?>
@@ -1343,6 +1348,11 @@ if (isset($_POST['export_client_pdf'])) {
text: <?php echo json_encode($software_license_type); ?>, text: <?php echo json_encode($software_license_type); ?>,
style: 'item' style: 'item'
}, },
{
text: <?php echo json_encode($software_key); ?>,
style: 'item'
},
{ {
text: <?php echo json_encode($software_notes); ?>, text: <?php echo json_encode($software_notes); ?>,
style: 'item' style: 'item'