[freeside-commits] freeside/httemplate/edit svc_www.cgi,1.17,1.18
Jeff Finucane,420,,
jeff at wavetail.420.am
Tue Oct 24 20:12:12 PDT 2006
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail:/tmp/cvs-serv14970/httemplate/edit
Modified Files:
svc_www.cgi
Log Message:
no usersvc svc_www tweak
Index: svc_www.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/svc_www.cgi,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- svc_www.cgi 23 Aug 2006 22:25:37 -0000 1.17
+++ svc_www.cgi 25 Oct 2006 03:12:09 -0000 1.18
@@ -188,13 +188,16 @@
%}
%print "</SELECT></TD></TR>";
%
-%print '<TR><TD ALIGN="right">Username</TD><TD><SELECT NAME="usersvc" SIZE=1>';
-%print '<OPTION VALUE="">(none)';
-%foreach $_ (keys %svc_acct) {
-% print "<OPTION", ($_ eq $usersvc) ? " SELECTED" : "",
-% qq! VALUE="$_">$svc_acct{$_}!;
+%if ( $part_svc->part_svc_column('usersvc')->columnflag ne 'F'
+% || $part_svc->part_svc_column('usersvc')->columnvalue !~ /^\s*$/) {
+% print '<TR><TD ALIGN="right">Username</TD><TD><SELECT NAME="usersvc" SIZE=1>';
+% print '<OPTION VALUE="">(none)';
+% foreach $_ (keys %svc_acct) {
+% print "<OPTION", ($_ eq $usersvc) ? " SELECTED" : "",
+% qq! VALUE="$_">$svc_acct{$_}!;
+% }
+% print "</SELECT></TD></TR>";
%}
-%print "</SELECT></TD></TR>";
%
%foreach my $field ($svc_www->virtual_fields) {
% if ( $part_svc->part_svc_column($field)->columnflag ne 'F' ) {
More information about the freeside-commits
mailing list