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
1 changed files with 10 additions and 0 deletions

View File

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