[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[3200] trunk/bin/io.pl
- Subject: SF.net SVN: ledger-smb:[3200] trunk/bin/io.pl
- From: ..hidden..
- Date: Wed, 08 Jun 2011 19:57:39 +0000
Revision: 3200
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3200&view=rev
Author: ehuelsmann
Date: 2011-06-08 19:57:37 +0000 (Wed, 08 Jun 2011)
Log Message:
-----------
Generate attachments using their document numbers in their file name,
instead of other server-internal technically-unique numbers.
* bin/io.pl (print_form): Inject document number instead of PID.
Modified Paths:
--------------
trunk/bin/io.pl
Modified: trunk/bin/io.pl
===================================================================
--- trunk/bin/io.pl 2011-06-03 21:05:29 UTC (rev 3199)
+++ trunk/bin/io.pl 2011-06-08 19:57:37 UTC (rev 3200)
@@ -1814,6 +1814,7 @@
no_escape => true,
method => $form->{media},
output_options => \%output_options,
+ output_file => $form->{formname} . "-" . $form->{"${inv}number"},
);
try {
$template->render($form);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.