]> git.donarmstrong.com Git - bin.git/commitdiff
* add total element to the invoice template
authorDon Armstrong <don@donarmstrong.com>
Sat, 14 Feb 2009 02:33:00 +0000 (02:33 +0000)
committerDon Armstrong <don@donarmstrong.com>
Sat, 14 Feb 2009 02:33:00 +0000 (02:33 +0000)
make_invoice

index dc0a2b986f5c0299f1ba334a7537c61295fe1148..eecbcc41303b54cba87b175112739e7773facbc4 100755 (executable)
@@ -247,6 +247,7 @@ my $tt = Text::Template->new(TYPE=>'string',
 my $tex_invoice = $tt->fill_in(HASH=>{start => $invoice_start,
                                      stop  => $invoice_stop,
                                      log   => $tex_log,
+                                     total => sprintf('%0.2f',$total),
                                     }
                              );
 if (not defined $tex_invoice) {