summaryrefslogtreecommitdiff
path: root/conf/quotation_html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-03-06 16:21:24 -0800
committerIvan Kohler <ivan@freeside.biz>2015-03-06 16:21:24 -0800
commit95b6042f37f00de9dca4b5654522fc4098a82d04 (patch)
tree1fabfb92237cd3184f984fdc2a8ac59ea56d9166 /conf/quotation_html
parent01c832583b09f6bb6c3ae6067187e08160424c71 (diff)
parent53ed077b4901be22b3ca5405a093364b6f6b6407 (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'conf/quotation_html')
-rw-r--r--conf/quotation_html4
1 files changed, 3 insertions, 1 deletions
diff --git a/conf/quotation_html b/conf/quotation_html
index a05bb60b8..44164b690 100644
--- a/conf/quotation_html
+++ b/conf/quotation_html
@@ -231,8 +231,10 @@
foreach my $line ( @total_items ) {
+ # in the quotation logic, we specifically tag the total line
+ # instead of using "the second one from the bottom"
$style .= 'border-bottom: 3px solid #000000;'
- if ++$linenum == scalar(@total_items) - ( $balance_due_below_line ? 1 : 0 );
+ if $line->{break_after};
$OUT .=
'<tr class="invoice_totaldesc">';