summaryrefslogtreecommitdiff
path: root/FS/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2018-08-01 15:36:12 -0700
committerIvan Kohler <ivan@freeside.biz>2018-08-01 15:36:12 -0700
commit31399723786cf0510e15b88ff7b8eaec3c909def (patch)
tree9f1efbf8f58d384c952a40bade4196086ff65dbb /FS/FS
parentadbca1f8b7f96efe7915ecc8c101ad1cb8c5f6f2 (diff)
add labels
Diffstat (limited to 'FS/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 de9199da4..7c35f013f 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',