=================================================================== RCS file: /cvs/RT/Invoicing/rt_invoices.pl,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- RT/Invoicing/rt_invoices.pl 2011/03/22 04:32:58 1.16 +++ RT/Invoicing/rt_invoices.pl 2011/03/22 05:06:05 1.17 @@ -177,7 +177,7 @@ $state->{lastinvoice}++; $invoice->{id} = $state->{lastinvoice}; - $invoice->{file} = 'invoice_' . $state->{lastinvoice} . '.pdf'; + $invoice->{file} = sprintf 'invoice_%06d.pdf', $state->{lastinvoice}; foreach my $k (qw/ file transactions start end total past_due total_due /) { @@ -461,8 +461,8 @@ title => $ticket->subject, detail => 'Ticket: ' . $ticket->id - . ' Queue: ' - . $ticket->queue + . ' Status: ' + . $ticket->status . ' Requestors: ' . join( ', ', $ticket->requestors ), fees => [],