[freeside-commits] freeside/httemplate/graph cust_bill_pkg.cgi, 1.8, 1.9 report_cust_bill_pkg.html, 1.7, 1.8
Jeff Finucane,420,,
jeff at wavetail.420.am
Tue Aug 18 23:15:16 PDT 2009
Update of /home/cvs/cvsroot/freeside/httemplate/graph
In directory wavetail.420.am:/tmp/cvs-serv16068/httemplate/graph
Modified Files:
cust_bill_pkg.cgi report_cust_bill_pkg.html
Log Message:
option to count subpackages outside packages in sales report #5588
Index: report_cust_bill_pkg.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/graph/report_cust_bill_pkg.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- report_cust_bill_pkg.html 10 Dec 2008 21:36:38 -0000 1.7
+++ report_cust_bill_pkg.html 19 Aug 2009 06:15:14 -0000 1.8
@@ -25,6 +25,11 @@
</TR>
-->
+<TR>
+ <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="use_override" VALUE="1"></TD>
+ <TD>Separate sub-packages from parents</TD>
+</TR>
+
</TABLE>
<BR><INPUT TYPE="submit" VALUE="Display">
Index: cust_bill_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/graph/cust_bill_pkg.cgi,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- cust_bill_pkg.cgi 24 Jun 2009 01:40:12 -0000 1.8
+++ cust_bill_pkg.cgi 19 Aug 2009 06:15:14 -0000 1.9
@@ -68,6 +68,9 @@
}
#eslaf
+my $use_override = 0;
+$use_override = 1 if ( $cgi->param('use_override') );
+
my $hue = 0;
#my $hue_increment = 170;
#my $hue_increment = 145;
@@ -104,11 +107,13 @@
my $row_classnum = ref($pkg_class) ? $pkg_class->classnum : 0;
my $row_agentnum = $agent->agentnum;
- push @params, [ 'classnum' => $row_classnum,
- 'agentnum' => $row_agentnum,
+ push @params, [ 'classnum' => $row_classnum,
+ 'agentnum' => $row_agentnum,
+ 'use_override' => $use_override,
];
- push @links, "$link;agentnum=$row_agentnum;classnum=$row_classnum;";
+ push @links, "$link;agentnum=$row_agentnum;classnum=$row_classnum;".
+ "use_override=$use_override;";
@recur_colors = ($col_scheme->colors)[0,4,8,1,5,9]
unless @recur_colors;
More information about the freeside-commits
mailing list