Move some arrays out of load global settings and into their own entity

This commit is contained in:
johnnyq
2026-04-05 12:00:56 -04:00
parent fae74a8b1e
commit b79a6c390e
9 changed files with 98 additions and 39 deletions

View File

@@ -2,6 +2,16 @@
require_once '../../../includes/modal_header.php';
$license_types_array = array (
'Device',
'User',
'Site',
'Concurrent',
'Trial',
'Perpetual',
'Usage-based'
);
ob_start();
?>

View File

@@ -13,8 +13,18 @@ $software_type = nullable_htmlentities($row['software_template_type']);
$software_license_type = nullable_htmlentities($row['software_template_license_type']);
$software_notes = nullable_htmlentities($row['software_template_notes']);
// Generate the HTML form content using output buffering.
$license_types_array = array (
'Device',
'User',
'Site',
'Concurrent',
'Trial',
'Perpetual',
'Usage-based'
);
ob_start();
?>
<div class="modal-header bg-dark">

View File

@@ -1,7 +1,25 @@
<?php
require_once "includes/inc_all_admin.php";
?>
$start_page_select_array = array (
'dashboard.php'=>'Dashboard',
'clients.php'=> 'Client Management',
'tickets.php'=> 'Support Tickets',
'invoices.php' => 'Invoices'
);
$net_terms_array = array (
'0'=>'On Receipt',
'7'=>'7 Days',
'10'=>'10 Days',
'15'=>'15 Days',
'30'=>'30 Days',
'45'=>'45 Days',
'60'=>'60 Days',
'90'=>'90 Days'
);
?>
<div class="card card-dark">
<div class="card-header py-3">