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

SF.net SVN: ledger-smb:[4300] branches/1.3



Revision: 4300
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4300&view=rev
Author:   einhverfr
Date:     2012-02-10 01:16:14 +0000 (Fri, 10 Feb 2012)
Log Message:
-----------
Templates directive is now handled properly, but dprinted invoices will fall back to templates/demo if file not found elsewhere

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/LedgerSMB/User.pm

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2012-02-10 01:03:02 UTC (rev 4299)
+++ branches/1.3/Changelog	2012-02-10 01:16:14 UTC (rev 4300)
@@ -16,6 +16,8 @@
 * Fixed GL recurring transaction not posting (Chris T)
 * Improved error handling when extensions/contrib scripts not found (Chris T)
 * Fixed multicurrency handling in bulk payment interface (Chris T and Erik H)
+* Corrected a number of number parsing/i18n issues (Herman V)
+* Corrected pos_cashier inadequate permissions (Chris T)
 
 Changelog for 1.3.10
 * Fixes for permissions for exchangerate table (Erik H)

Modified: branches/1.3/LedgerSMB/User.pm
===================================================================
--- branches/1.3/LedgerSMB/User.pm	2012-02-10 01:03:02 UTC (rev 4299)
+++ branches/1.3/LedgerSMB/User.pm	2012-02-10 01:16:14 UTC (rev 4300)
@@ -189,7 +189,8 @@
     $sth = $dbh->prepare("SELECT value FROM defaults WHERE setting_key = 'templates'");
     $sth->execute();
     ($templates) = $sth->fetchrow_array() || 'demo';
-    $myconfig->{templates} = "templates/$templates";
+    $myconfig->{templates} = "$LedgerSMB::Sysconfig::templates/$templates";
+    print STDERR "$myconfig->{templates}\n";
     return $myconfig;
 }
 

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