[freeside-commits] freeside/conf invoice_html, 1.37.2.3, 1.37.2.4 invoice_latex, 1.44.2.3, 1.44.2.4
Mark Wells
mark at wavetail.420.am
Fri Sep 30 19:25:17 PDT 2011
Update of /home/cvs/cvsroot/freeside/conf
In directory wavetail.420.am:/tmp/cvs-serv19884/conf
Modified Files:
Tag: FREESIDE_2_3_BRANCH
invoice_html invoice_latex
Log Message:
show available term discounts on invoice, #14210
Index: invoice_latex
===================================================================
RCS file: /home/cvs/cvsroot/freeside/conf/invoice_latex,v
retrieving revision 1.44.2.3
retrieving revision 1.44.2.4
diff -u -w -d -r1.44.2.3 -r1.44.2.4
--- invoice_latex 16 Sep 2011 00:15:47 -0000 1.44.2.3
+++ invoice_latex 1 Oct 2011 02:25:15 -0000 1.44.2.4
@@ -272,7 +272,7 @@
$OUT .= '\endfoot';
$OUT .= '\hline';
- if (scalar(@sections) > 1) {
+ if (scalar(@sections) > 1 and !$section->{no_subtotal}) {
if ($section->{total_generator}) {
$OUT .= &{$section->{total_generator}}($section);
} else {
Index: invoice_html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/conf/invoice_html,v
retrieving revision 1.37.2.3
retrieving revision 1.37.2.4
diff -u -w -d -r1.37.2.3 -r1.37.2.4
--- invoice_html 16 Sep 2011 00:15:47 -0000 1.37.2.3
+++ invoice_html 1 Oct 2011 02:25:15 -0000 1.37.2.4
@@ -191,7 +191,7 @@
}
- if ($section->{'description'} || $multisection) {
+ if ($section->{'description'} || $multisection and !$section->{no_subtotal}) {
my $style = 'border-top: 3px solid #000000;'.
'border-bottom: 3px solid #000000;';
$OUT .=
More information about the freeside-commits
mailing list