X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=conf%2Fquotation_html;h=44164b690e5094b1b0b6d6f5b516a55a9e2394e4;hb=df844e1ff7b7b93657d7ca2978426e146a75192c;hp=7d692053360586d054204def1b5c766b3bc2b0f7;hpb=89f9957267f05520fc676c378694383d16eedeb1;p=freeside.git
diff --git a/conf/quotation_html b/conf/quotation_html
index 7d6920533..44164b690 100644
--- a/conf/quotation_html
+++ b/conf/quotation_html
@@ -129,7 +129,7 @@
$OUT .= $header;
$columncount = scalar(my @array = split /<\/th>
'.
+ $OUT .= ' | | '.
'' . emt('Description') . ' | '.
( $unitprices
? '' . emt('Unit Price') . ' | '.
@@ -156,7 +156,7 @@
'">'.
''.
( $line->{'ref'} ne $lastref
- ? $line->{'preref_html'}. $line->{'ref'}
+ ? $line->{'preref_html'} #. $line->{'ref'}
: ''
).
' | '.
@@ -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 .=
'';