summaryrefslogtreecommitdiff
path: root/FS/FS/svc_acct.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2018-08-01 15:36:16 -0700
committerIvan Kohler <ivan@freeside.biz>2018-08-01 15:36:16 -0700
commitdbfc5216f8de1450f98e69f9513897b6ab66cfcb (patch)
tree203644f5cd6bb94aa5d4a2055661e86f2b6802e6 /FS/FS/svc_acct.pm
parent4fc6e2ac0f14cd9fc62cce24fbbc215cf814320b (diff)
add labels
Diffstat (limited to 'FS/FS/svc_acct.pm')
-rw-r--r--FS/FS/svc_acct.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm
index de9199d..7c35f01 100644
--- a/FS/FS/svc_acct.pm
+++ b/FS/FS/svc_acct.pm
@@ -329,6 +329,15 @@ sub table_info {
disable_select => 1, #UI wonky, pry works otherwise
},
'sectornum' => 'Tower sector',
+ 'routernum' => 'Router/block',
+ 'blocknum' => {
+ 'label' => 'Address block',
+ 'type' => 'select',
+ 'select_table' => 'addr_block',
+ 'select_key' => 'blocknum',
+ 'select_label' => 'cidr',
+ 'disable_inventory' => 1,
+ },
'usergroup' => {
label => 'RADIUS groups',
type => 'select-radius_group.html',