diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2018-11-28 08:55:29 -0500 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2018-11-28 09:17:23 -0500 |
| commit | 6d70b39843cf76f10e676e1861d613b15c0bb905 (patch) | |
| tree | 794a8c25c4118e0037fa7ecd75e8141c8c7851fc /FS/FS | |
| parent | 650b4480c920e4d2a0d7e45cdfa2ac9ffa364f60 (diff) | |
RT# 81126 - IP address field now shows required when required, IP address and Radius Group sticky on error when provisioning svc broadband
Diffstat (limited to 'FS/FS')
| -rwxr-xr-x | FS/FS/svc_broadband.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/FS/FS/svc_broadband.pm b/FS/FS/svc_broadband.pm index 02136c594..d089f4105 100755 --- a/FS/FS/svc_broadband.pm +++ b/FS/FS/svc_broadband.pm @@ -96,6 +96,8 @@ points to. You can ask the object for a copy with the I<hash> method. =cut sub table_info { + my $conf = new FS::Conf; + my $ip_addr_required = $conf->exists('svc_broadband-allow_null_ip_addr'); { 'name' => 'Wireless broadband', 'name_plural' => 'Wireless broadband services', @@ -117,7 +119,10 @@ sub table_info { 'type' => 'fcc_477_speed', 'def_info' => 'both upload and download speed must be set to FCC 477 information if using that modifier', }, - 'ip_addr' => 'IP address', + 'ip_addr' => { + 'label' => 'IP address', + 'required' => $ip_addr_required, + }, 'blocknum' => { 'label' => 'Address block', 'type' => 'select', |
