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 /httemplate/edit/elements/edit.html | |
| 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 'httemplate/edit/elements/edit.html')
| -rw-r--r-- | httemplate/edit/elements/edit.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/httemplate/edit/elements/edit.html b/httemplate/edit/elements/edit.html index 2a1cca68f..1d9930adf 100644 --- a/httemplate/edit/elements/edit.html +++ b/httemplate/edit/elements/edit.html @@ -869,6 +869,7 @@ Example: my(%opt) = @_; +my $conf = new FS::Conf; my $curuser = $FS::CurrentUser::CurrentUser; #false laziness w/process.html @@ -881,6 +882,8 @@ my $fields = $opt{'fields'} my @actualfields = map { ref($_) ? $_->{'field'} : $_ } @$fields; push @actualfields, $pkey; +push @actualfields, 'ip_addr' if $table eq 'svc_broadband'; +push @actualfields, 'usergroup' if ($table eq 'svc_broadband' && $conf->exists('svc_broadband-radius')); my $js_form_validate = {}; |
