summaryrefslogtreecommitdiff
path: root/conf/quotation_html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-03-06 14:20:22 -0800
committerMark Wells <mark@freeside.biz>2015-03-06 14:20:22 -0800
commit35c18f29bc29dedfe2fa4ef037390d90b17f87ba (patch)
tree8fdf10f87443bae43d46a25f1fe983e087c3a9bd /conf/quotation_html
parent92acdafd28e41e0e333d2e9df59af657f1f1242c (diff)
estimate tax on quotations, #32489
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">';