X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fpart_svc.cgi;h=940ea8d25bc0fcbc8bea1fe6b84ab56e8e1d69d5;hb=f3b1e139720b2262516ee3690b1d4b2b9941b500;hp=98ed9fec12962386de9e1efdf69430df4e20fa67;hpb=7167be4668e6187ac55126791ca9b74cd5fb27e8;p=freeside.git
diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi
index 98ed9fec1..940ea8d25 100755
--- a/httemplate/edit/part_svc.cgi
+++ b/httemplate/edit/part_svc.cgi
@@ -291,15 +291,31 @@ that field.
% (grep(/^$rvalue$/, split(',',$value)) ? ' SELECTED>' : '>' ).
% $record->$select_label(). '';
% } #next $record
-% } else { # select_list
+% } elsif ( $def->{select_list} ) {
% foreach my $item ( @{$def->{select_list}} ) {
% $html .= qq!';
% } #next $item
+% } elsif ( $def->{select_hash} ) {
+% if ( ref($def->{select_hash}) eq 'ARRAY' ) {
+% tie my %hash, 'Tie::IxHash', @{ $def->{select_hash} };
+% $def->{select_hash} = \%hash;
+% }
+% foreach my $key ( keys %{$def->{select_hash}} ) {
+% $html .= qq!';
+% } #next $key
% } #endif
% $html .= '';
%
+% } elsif ( $def->{type} eq 'textarea' ) {
+%
+% $html .=
+% qq!';
+%
% } elsif ( $def->{type} eq 'select-svc_pbx.html' ) {
%
% $html .= include('/elements/select-svc_pbx.html',