diff options
author | jeff <jeff> | 2008-05-31 14:49:03 +0000 |
---|---|---|
committer | jeff <jeff> | 2008-05-31 14:49:03 +0000 |
commit | fe16cec1c82f4e1f1c2586c8259cd607fcb14d79 (patch) | |
tree | e75f9253e3957656ab18fd942af4a7e8b22ec831 /conf/invoice_html | |
parent | 0a676589161fc7e6e44ed3cb70c475ab5bcbfdb8 (diff) |
invoice cosmetic improvements
Diffstat (limited to 'conf/invoice_html')
-rw-r--r-- | conf/invoice_html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/conf/invoice_html b/conf/invoice_html index 14b25c671..ae6910dba 100644 --- a/conf/invoice_html +++ b/conf/invoice_html @@ -70,6 +70,16 @@ <%= foreach my $section ( @sections ) { + if ($section->{'pretotal'}) { + $OUT .= + '<table width="100%"><tr><td>'. + '<p align="right"><b><font size="+1">'. + uc(substr($section->{'pretotal'},0,1)). + '</font><font size="+0">'. uc(substr($section->{'pretotal'},1)). + '</font></b>'. + '<p>'. + '</td></tr></table>'; + } $OUT .= '<table><tr><td>'; if ($section->{'description'}) { $OUT .= @@ -132,6 +142,16 @@ '</tr>' ; } + + if ($section->{'posttotal'}) { + $OUT .= '<tr><td align="right" colspan=3>'; + $OUT .= + '<p><font size="+1">'. $section->{'posttotal'}. + '</font>'. + '<p>'; + $OUT .= '</td></tr>'; + } + } my $style = 'border-top: 3px solid #000000;'; |