X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=conf%2Fquotation_html;h=44164b690e5094b1b0b6d6f5b516a55a9e2394e4;hp=a05bb60b8c431072406e4f87f6006a067989949c;hb=2a56c671635687bf2648eb3a7cf4bce228101af3;hpb=0b6bd6405107c1abf8f2c5e2bc1b569870a02309 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 .= '';