[freeside-commits] freeside/httemplate/elements tr-pkg_svc.html, 1.4, 1.4.2.1
Mark Wells
mark at wavetail.420.am
Sat Nov 13 15:24:05 PST 2010
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv6603/httemplate/elements
Modified Files:
Tag: FREESIDE_2_1_BRANCH
tr-pkg_svc.html
Log Message:
hidden pkg_svc flag, RT#9871
Index: tr-pkg_svc.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/tr-pkg_svc.html,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -w -d -r1.4 -r1.4.2.1
--- tr-pkg_svc.html 31 Oct 2010 05:24:41 -0000 1.4
+++ tr-pkg_svc.html 13 Nov 2010 23:24:03 -0000 1.4.2.1
@@ -12,6 +12,7 @@
% 'svcpart' => $svcpart,
% 'quantity' => 0,
% 'primary_svc' => '',
+% 'hidden' => '',
% } );
% if ( $cgi->param('error') ) {
% my $primary_svc = ( $pkg_svc->primary_svc =~ /^Y/i );
@@ -43,6 +44,10 @@
<TD>
<A HREF="part_svc.cgi?<% $part_svc->svcpart %>"><% $part_svc->svc %></A> <% $part_svc->disabled =~ /^Y/i ? ' (DISABLED' : '' %>
</TD>
+
+ <TD>
+ <INPUT TYPE="checkbox" NAME="hidden<% $svcpart %>" VALUE="Y"<% $pkg_svc->hidden =~ /^Y/i ? ' CHECKED' : ''%>>
+ </TD>
</TR>
% foreach ( 1 .. $columns-1 ) {
% if ( $count == int( $_ * scalar(@part_svc) / $columns ) ) {
@@ -68,7 +73,9 @@
my $thead = "\n\n". ntable('#cccccc', 2).
'<TR><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Quan.</FONT></TH>'.
'<TH BGCOLOR="#dcdcdc"><FONT SIZE=-2>Primary</FONT></TH>'.
- '<TH BGCOLOR="#dcdcdc">Service</TH></TR>';
+ '<TH BGCOLOR="#dcdcdc">Service</TH>'.
+ '<TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Hide</FONT></TH>'.
+ '</TR>';
my $part_pkg = $opt{'object'};
my $pkgpart = $part_pkg->pkgpart;
More information about the freeside-commits
mailing list