[freeside-commits] freeside/httemplate/browse agent_type.cgi, 1.19, 1.20 part_pkg.cgi, 1.53, 1.54
Jeff Finucane,420,,
jeff at wavetail.420.am
Sun Jun 21 08:21:32 PDT 2009
- Previous message: [freeside-commits] freeside/FS/FS tax_rate.pm, 1.27, 1.28 cust_bill_pkg_detail.pm, 1.6, 1.7
- Next message: [freeside-commits] freeside/FS/FS Schema.pm, 1.143, 1.144 cust_pkg.pm, 1.128, 1.129 part_pkg.pm, 1.91, 1.92
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail.420.am:/tmp/cvs-serv32471/httemplate/browse
Modified Files:
agent_type.cgi part_pkg.cgi
Log Message:
CUSTOM packages/actual flag for custom packages #3988
Index: agent_type.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/agent_type.cgi,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- agent_type.cgi 13 Jan 2008 20:38:30 -0000 1.19
+++ agent_type.cgi 21 Jun 2009 15:21:30 -0000 1.20
@@ -44,7 +44,9 @@
[
{
#'data' => $part_pkg->pkg. ' - '. $part_pkg->comment,
- 'data' => $type_pkgs->pkg. ' - '. $type_pkgs->comment,
+ 'data' => $type_pkgs->pkg. ' - '.
+ ( $type_pkgs->custom ? '(CUSTOM) ' : '' ).
+ $type_pkgs->comment,
'align' => 'left',
'link' => $p. 'edit/part_pkg.cgi?'. $type_pkgs->pkgpart,
},
Index: part_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/part_pkg.cgi,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- part_pkg.cgi 31 May 2009 08:39:19 -0000 1.53
+++ part_pkg.cgi 21 Jun 2009 15:21:30 -0000 1.54
@@ -4,11 +4,11 @@
'html_posttotal' => $html_posttotal,
'name' => 'package definitions',
'disableable' => 1,
- 'disabled_statuspos' => 3,
+ 'disabled_statuspos' => 4,
'agent_virt' => 1,
'agent_null_right' => [ $edit, $edit_global ],
'agent_null_right_link' => $edit_global,
- 'agent_pos' => 5,
+ 'agent_pos' => 6,
'query' => { 'select' => $select,
'table' => 'part_pkg',
'hashref' => \%hash,
@@ -164,10 +164,12 @@
my $link = [ $p.'edit/part_pkg.cgi?', 'pkgpart' ];
-my @header = ( '#', 'Package', 'Comment' );
-my @fields = ( 'pkgpart', 'pkg', 'comment' );
-my $align = 'rll';
-my @links = ( $link, $link, '' );
+my @header = ( '#', 'Package', 'Comment', 'Custom' );
+my @fields = ( 'pkgpart', 'pkg', 'comment',
+ sub{ '<B><FONT COLOR="#0000CC">'.$_[0]->custom.'</FONT></B>' }
+ );
+my $align = 'rllc';
+my @links = ( $link, $link, '', '' );
unless ( 0 ) { #already showing only one class or something?
push @header, 'Class';
- Previous message: [freeside-commits] freeside/FS/FS tax_rate.pm, 1.27, 1.28 cust_bill_pkg_detail.pm, 1.6, 1.7
- Next message: [freeside-commits] freeside/FS/FS Schema.pm, 1.143, 1.144 cust_pkg.pm, 1.128, 1.129 part_pkg.pm, 1.91, 1.92
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list