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