mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Update more links rearrange Client Overview Side menu to match client side nav, define 0 for the post vars now defined in form. update unbilled tickets report
This commit is contained in:
@@ -19,11 +19,11 @@ $mac = sanitizeInput($_POST['mac']);
|
||||
$uri = sanitizeInput($_POST['uri']);
|
||||
$uri_2 = sanitizeInput($_POST['uri_2']);
|
||||
$status = sanitizeInput($_POST['status']);
|
||||
$location = intval($_POST['location']);
|
||||
$location = intval($_POST['location'] ?? 0);
|
||||
$physical_location = sanitizeInput($_POST['physical_location']);
|
||||
$vendor = intval($_POST['vendor']);
|
||||
$contact = intval($_POST['contact']);
|
||||
$network = intval($_POST['network']);
|
||||
$vendor = intval($_POST['vendor'] ?? 0);
|
||||
$contact = intval($_POST['contact'] ?? 0);
|
||||
$network = intval($_POST['network'] ?? 0);
|
||||
$purchase_reference = sanitizeInput($_POST['purchase_reference']);
|
||||
$purchase_date = sanitizeInput($_POST['purchase_date']);
|
||||
if (empty($purchase_date)) {
|
||||
|
||||
@@ -8,5 +8,5 @@ $issued_by = sanitizeInput($_POST['issued_by']);
|
||||
$expire = sanitizeInput($_POST['expire']);
|
||||
$public_key = sanitizeInput($_POST['public_key']);
|
||||
$notes = sanitizeInput($_POST['notes']);
|
||||
$domain_id = intval($_POST['domain_id']);
|
||||
$domain_id = intval($_POST['domain_id'] ?? 0);
|
||||
$client_id = intval($_POST['client_id']);
|
||||
|
||||
@@ -14,7 +14,7 @@ $contact_primary = intval($_POST['contact_primary'] ?? 0);
|
||||
$contact_important = intval($_POST['contact_important'] ?? 0);
|
||||
$contact_billing = intval($_POST['contact_billing'] ?? 0);
|
||||
$contact_technical = intval($_POST['contact_technical'] ?? 0);
|
||||
$location_id = intval($_POST['location']);
|
||||
$location_id = intval($_POST['location'] ?? 0);
|
||||
$pin = sanitizeInput($_POST['pin']);
|
||||
$auth_method = sanitizeInput($_POST['auth_method']);
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ $password = encryptLoginEntry(trim($_POST['password']));
|
||||
$otp_secret = sanitizeInput($_POST['otp_secret']);
|
||||
$note = sanitizeInput($_POST['note']);
|
||||
$important = intval($_POST['important'] ?? 0);
|
||||
$contact_id = intval($_POST['contact']);
|
||||
$vendor_id = intval($_POST['vendor']);
|
||||
$asset_id = intval($_POST['asset']);
|
||||
$software_id = intval($_POST['software']);
|
||||
$contact_id = intval($_POST['contact'] ?? 0);
|
||||
$vendor_id = intval($_POST['vendor'] ?? 0);
|
||||
$asset_id = intval($_POST['asset'] ?? 0);
|
||||
$software_id = intval($_POST['software'] ?? 0);
|
||||
|
||||
@@ -3,10 +3,9 @@ defined('FROM_POST_HANDLER') || die("Direct file access is not allowed");
|
||||
|
||||
$name = preg_replace("(^https?://)", "", sanitizeInput($_POST['name']));
|
||||
$description = sanitizeInput($_POST['description']);
|
||||
$registrar = intval($_POST['registrar']);
|
||||
$dnshost = intval($_POST['dnshost']);
|
||||
$webhost = intval($_POST['webhost']);
|
||||
$mailhost = intval($_POST['mailhost']);
|
||||
$registrar = intval($_POST['registrar'] ?? 0);
|
||||
$dnshost = intval($_POST['dnshost'] ?? 0);
|
||||
$webhost = intval($_POST['webhost'] ?? 0);
|
||||
$mailhost = intval($_POST['mailhost'] ?? 0);
|
||||
$expire = sanitizeInput($_POST['expire']);
|
||||
$notes = sanitizeInput($_POST['notes']);
|
||||
|
||||
|
||||
@@ -13,5 +13,5 @@ $phone = preg_replace("/[^0-9]/", '',$_POST['phone']);
|
||||
$fax = preg_replace("/[^0-9]/", '',$_POST['fax']);
|
||||
$hours = sanitizeInput($_POST['hours']);
|
||||
$notes = sanitizeInput($_POST['notes']);
|
||||
$contact = intval($_POST['contact']);
|
||||
$contact = intval($_POST['contact'] ?? 0);
|
||||
$location_primary = intval($_POST['location_primary'] ?? 0);
|
||||
|
||||
@@ -11,5 +11,5 @@ $primary_dns = sanitizeInput($_POST['primary_dns']);
|
||||
$secondary_dns = sanitizeInput($_POST['secondary_dns']);
|
||||
$dhcp_range = sanitizeInput($_POST['dhcp_range']);
|
||||
$notes = sanitizeInput($_POST['notes']);
|
||||
$location_id = intval($_POST['location']);
|
||||
$location_id = intval($_POST['location'] ?? 0);
|
||||
$client_id = intval($_POST['client_id']);
|
||||
|
||||
Reference in New Issue
Block a user