From: Don Armstrong Date: Sat, 14 Feb 2009 02:33:00 +0000 (+0000) Subject: * add total element to the invoice template X-Git-Url: https://git.donarmstrong.com/?p=bin.git;a=commitdiff_plain;h=b35a22f3a97c477ae0c975aa63fc8422d70f5bc8 * add total element to the invoice template --- diff --git a/make_invoice b/make_invoice index dc0a2b9..eecbcc4 100755 --- a/make_invoice +++ b/make_invoice @@ -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) {