X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=conf%2Fquotation_html;h=44164b690e5094b1b0b6d6f5b516a55a9e2394e4;hb=d9880fb208858d882d02462bba4c3c57db3b377c;hp=5458774e101953f203e9e36e3abd29b87ac6fc3b;hpb=b6538b4641f900da4892d8c44292befb71188822;p=freeside.git 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'} : '' ). '