From: Ivan Kohler Date: Fri, 25 Oct 2013 03:10:29 +0000 (-0700) Subject: selectable choice for arbitrary fields, RT#25623 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=dfbfe2c0a30fe1d99b9d852b8e96a84bf101aff1;p=freeside.git selectable choice for arbitrary fields, RT#25623 --- diff --git a/httemplate/edit/elements/svc_Common.html b/httemplate/edit/elements/svc_Common.html index 321c68545..64484eba0 100644 --- a/httemplate/edit/elements/svc_Common.html +++ b/httemplate/edit/elements/svc_Common.html @@ -121,6 +121,11 @@ $f->{'hashref'} = { 'classnum'=>$columndef->columnvalue }; + } elsif ( $flag eq 'S' ) { #selectable choice + $f->{type} = 'select'; + $f->{options} = [ split( /\s*,\s*/, + $columndef->columnvalue) + ]; } if ( $f->{'type'} eq 'select-svc_pbx'