[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [1496] trunk/bin/rp.pl



Revision: 1496
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1496&view=rev
Author:   einhverfr
Date:     2007-09-01 18:42:12 -0700 (Sat, 01 Sep 2007)

Log Message:
-----------
One can now sorta print a statement.

Modified Paths:
--------------
    trunk/bin/rp.pl

Modified: trunk/bin/rp.pl
===================================================================
--- trunk/bin/rp.pl	2007-09-02 01:01:53 UTC (rev 1495)
+++ trunk/bin/rp.pl	2007-09-02 01:42:12 UTC (rev 1496)
@@ -2278,7 +2278,7 @@
                 }
 
                 my $template = LedgerSMB::Template->new( user => \%myconfig, 
-                    template => $form->{'formname'}, 
+                    template => $form->{'formname'} || $form->{'type'}, 
 		    format => uc $form->{format} );
                 try {
                     $template->render($form);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.