diff options
Diffstat (limited to 'conf/invoice_template')
-rw-r--r-- | conf/invoice_template | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/conf/invoice_template b/conf/invoice_template new file mode 100644 index 000000000..4b2c64bcb --- /dev/null +++ b/conf/invoice_template @@ -0,0 +1,27 @@ + + Invoice + { substr("Page $page of $total_pages ", 0, 19); } { use Date::Format; time2str("%x", $date); } FS-{ $invnum; } + + +Ivan Kohler +12345 Test Lane +Truckee, CA 96161 + + +{ $address[0]; } +{ $address[1]; } +{ $address[2]; } +{ $address[3]; } +{ $address[4]; } +{ $address[5]; } + +{ + join("\n", + map { + my ( $desc, $price ) = @{$_}; + " ". substr( $desc. " "x65, 0, 65). " ". substr( $price. " "x11, 0, 11); + } invoice_lines(31) + ); +} + + -=> Freeside - open-source billing for ISPs - http://www.sisd.com/freeside <=- |