From 4a6a0af489f4e65faa2bc8148353fdced5829ac3 Mon Sep 17 00:00:00 2001 From: Tom van Leeuwen Date: Sun, 12 Apr 2020 02:10:45 +0200 Subject: [PATCH] honoring config option `force_ip_to_sysname` in bill creation and editing (#10382) * honoring config option `force_ip_to_sysname` in bill creation and editing * refactored variable name to match it in edit.inc.php * forgot one variable * and one more :S * Update new_bill.inc.php * Update edit.inc.php * Update new_bill.inc.php * Update edit.inc.php * Update edit.inc.php * Update edit.inc.php Co-authored-by: Neil Lathwood Co-authored-by: Tony Murray --- includes/html/modal/new_bill.inc.php | 14 ++++---------- includes/html/pages/bill/edit.inc.php | 15 +++++---------- 2 files changed, 9 insertions(+), 20 deletions(-) diff --git a/includes/html/modal/new_bill.inc.php b/includes/html/modal/new_bill.inc.php index a51dc009b5..12d6444071 100644 --- a/includes/html/modal/new_bill.inc.php +++ b/includes/html/modal/new_bill.inc.php @@ -41,16 +41,10 @@ if (Auth::user()->hasGlobalAdmin()) {
- + +
diff --git a/includes/html/pages/bill/edit.inc.php b/includes/html/pages/bill/edit.inc.php index adcf32ac93..dc2c891d38 100644 --- a/includes/html/pages/bill/edit.inc.php +++ b/includes/html/pages/bill/edit.inc.php @@ -136,6 +136,7 @@ if ($bill_data['bill_type'] == 'cdr') {
@@ -149,16 +150,10 @@ if ($bill_data['bill_type'] == 'cdr') {
- + +