summaryrefslogtreecommitdiff
path: root/conf/invoice_latex
diff options
context:
space:
mode:
Diffstat (limited to 'conf/invoice_latex')
-rw-r--r--conf/invoice_latex13
1 files changed, 9 insertions, 4 deletions
diff --git a/conf/invoice_latex b/conf/invoice_latex
index c63514568..ba66d6437 100644
--- a/conf/invoice_latex
+++ b/conf/invoice_latex
@@ -229,10 +229,15 @@ Terms: [@-- $terms --@]\\
$OUT .= '\FSdesc{' . $line->{'ref'} . '}{' . $line->{'description'} . '}' .
'{' . $line->{'amount'} . "}${rowbreak}\n";
- foreach my $ext_desc (@$ext_description) {
- $ext_desc = substr($ext_desc, 0, 80) . '...'
- if (length($ext_desc) > 80);
- $OUT .= '\FSextdesc{' . $ext_desc . '}' . "${rowbreak}\n";
+ if (@$ext_description) {
+ $OUT .= '\multicolumn{1}{l}{\rule{0pt}{1.0ex}} &';
+ $OUT .= '\multicolumn{2}{l}{\small{\begin{tabular}{llllll}';#cheating at 6
+ foreach my $ext_desc (@$ext_description) {
+ $ext_desc = substr($ext_desc, 0, 80) . '...'
+ if (length($ext_desc) > 80);
+ $OUT .= "$ext_desc \\\\${rowbreak}\n";
+ }
+ $OUT .="\\end{tabular}}}\\\\${rowbreak}\n";
}
}