From: ivan Date: Wed, 9 Aug 2000 18:40:22 +0000 (+0000) Subject: example invoice template X-Git-Tag: freeside_1_3_0~78 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=f402899b993f7fd52a264ebf07a9acf9d07099df;hp=4c7f7284e84faca5404f609c8af0a50197edff96 example invoice template --- diff --git a/conf/invoice_template b/conf/invoice_template new file mode 100644 index 000000000..e226d636f --- /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 +1339 Hayes St. +San Francisco, CA 94117 + + +{ $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 <=-