X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=conf%2Fquotation_html;h=44164b690e5094b1b0b6d6f5b516a55a9e2394e4;hp=68d373f04ee503b40017b856c19994c1db3be0fd;hb=5224948de7b1cbc90a2bc7f3f430bc260dd7371e;hpb=8fa2d4df960414f50c33f1c0e57a9bab02db517e diff --git a/conf/quotation_html b/conf/quotation_html index 68d373f04..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 ? ''. @@ -155,7 +155,11 @@ $OUT .= ( ($line->{'ref'} && $line->{'ref'} ne $lastref) ? '' : '_more' ). '">'. ''. + ( $line->{'ref'} ne $lastref + ? $line->{'preref_html'} #. $line->{'ref'} + : '' + ). + ''. ''. ( $unitprices ? ''. @@ -227,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->{'ref'} : '' ). ''. $line->{'description'}. ''. $line->{'unit_amount'}. '