summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2018-08-01 15:36:19 -0700
committerIvan Kohler <ivan@freeside.biz>2018-08-01 15:36:19 -0700
commit3c81d2e339059a81100d2009f97d59eabe4c9ef9 (patch)
treee5067956bf96e8a2521cc8ab9d98ba300504aefe /FS
parent73d77018925b4df83690ae45d65298c571788b15 (diff)
add labels
Diffstat (limited to 'FS')
-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 58070e7ed..4745128cc 100644
--- a/FS/FS/svc_acct.pm
+++ b/FS/FS/svc_acct.pm
@@ -350,6 +350,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',