[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[6135] trunk/LedgerSMB/Template.pm
- Subject: SF.net SVN: ledger-smb:[6135] trunk/LedgerSMB/Template.pm
- From: ..hidden..
- Date: Thu, 17 Oct 2013 04:56:03 +0000
Revision: 6135
http://sourceforge.net/p/ledger-smb/code/6135
Author: einhverfr
Date: 2013-10-17 04:56:03 +0000 (Thu, 17 Oct 2013)
Log Message:
-----------
Fix for batch printing part 2
Modified Paths:
--------------
trunk/LedgerSMB/Template.pm
Modified: trunk/LedgerSMB/Template.pm
===================================================================
--- trunk/LedgerSMB/Template.pm 2013-10-17 04:42:20 UTC (rev 6134)
+++ trunk/LedgerSMB/Template.pm 2013-10-17 04:56:03 UTC (rev 6135)
@@ -388,7 +388,7 @@
$method = '' if !defined $method;
if ('email' eq lc $method) {
$self->_email_output;
- } elsif (defined $args{OUT}){ # To file
+ } elsif (defined $args{OUT} and $args{printmode} eq '>'){ # To file
cp($self->{rendered}, $args{OUT});
} elsif ('print' eq lc $method) {
$self->_lpr_output;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits