diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2018-11-28 08:55:29 -0500 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2018-11-28 10:55:24 -0500 |
| commit | d616680361b7e453260fa1eb062f016982f8e836 (patch) | |
| tree | 7161fd2db3d254300f04f45fe79d0c312118b7bf /httemplate/edit/elements/edit.html | |
| parent | a4c7d2df1a8e03a5bc4ee51a16734e4a255a0eb2 (diff) | |
RT# 81126 - IP address field now shows required when required, IP address and Radius Group sticky on error when provisioning svc broadband
Conflicts:
FS/FS/svc_broadband.pm
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 a238a3f04..a919c0376 100644 --- a/httemplate/edit/elements/edit.html +++ b/httemplate/edit/elements/edit.html @@ -833,6 +833,7 @@ Example: my(%opt) = @_; +my $conf = new FS::Conf; my $curuser = $FS::CurrentUser::CurrentUser; #false laziness w/process.html @@ -845,6 +846,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 = {}; |
