[freeside-commits] branch FREESIDE_3_BRANCH updated. 3c81d2e339059a81100d2009f97d59eabe4c9ef9

Ivan Kohler ivan at freeside.biz
Wed Aug 1 15:36:20 PDT 2018


The branch, FREESIDE_3_BRANCH has been updated
       via  3c81d2e339059a81100d2009f97d59eabe4c9ef9 (commit)
      from  73d77018925b4df83690ae45d65298c571788b15 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3c81d2e339059a81100d2009f97d59eabe4c9ef9
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Aug 1 15:36:19 2018 -0700

    add labels

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',

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/svc_acct.pm | 9 +++++++++
 1 file changed, 9 insertions(+)




More information about the freeside-commits mailing list