projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6ca6c8a
)
finish bringing sanity to svc_broadband service definition blocknum edit
author
ivan
<ivan>
Sun, 16 Mar 2008 05:13:54 +0000
(
05:13
+0000)
committer
ivan
<ivan>
Sun, 16 Mar 2008 05:13:54 +0000
(
05:13
+0000)
httemplate/edit/part_svc.cgi
patch
|
blob
|
history
diff --git
a/httemplate/edit/part_svc.cgi
b/httemplate/edit/part_svc.cgi
index
4b8a240
..
e0fb615
100755
(executable)
--- a/
httemplate/edit/part_svc.cgi
+++ b/
httemplate/edit/part_svc.cgi
@@
-261,9
+261,10
@@
that field.
% if ( $def->{select_table} ) {
% foreach my $record ( qsearch( $def->{select_table}, {} ) ) {
% my $rvalue = $record->getfield($def->{select_key});
% if ( $def->{select_table} ) {
% foreach my $record ( qsearch( $def->{select_table}, {} ) ) {
% my $rvalue = $record->getfield($def->{select_key});
+% my $select_label = $def->{select_label};
% $html .= qq!<OPTION VALUE="$rvalue"!.
% (grep(/^$rvalue$/, split(',',$value)) ? ' SELECTED>' : '>' ).
% $html .= qq!<OPTION VALUE="$rvalue"!.
% (grep(/^$rvalue$/, split(',',$value)) ? ' SELECTED>' : '>' ).
-% $record->
getfield($def->{select_label}
). '</OPTION>';
+% $record->
$select_label(
). '</OPTION>';
% } #next $record
% } else { # select_list
% foreach my $item ( @{$def->{select_list}} ) {
% } #next $record
% } else { # select_list
% foreach my $item ( @{$def->{select_list}} ) {