X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fsvc_broadband.pm;h=d05ae72d08748afc82ed9eb57052f82605140e47;hp=02136c594dca1cba207e7aaf21876fe39f50238a;hb=5372897f367498972c96f5494e142e6e11b29eb8;hpb=7ecaf988ed810746534bf85abde34022f2b5d6b2 diff --git a/FS/FS/svc_broadband.pm b/FS/FS/svc_broadband.pm index 02136c594..d05ae72d0 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 method. =cut sub table_info { + my $conf = new FS::Conf; + my $ip_addr_required = $conf->exists('svc_broadband-allow_null_ip_addr') ? '' : '1'; { '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',