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

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



Revision: 6224
          http://sourceforge.net/p/ledger-smb/code/6224
Author:   einhverfr
Date:     2013-11-05 12:28:16 +0000 (Tue, 05 Nov 2013)
Log Message:
-----------

Merging AP invoices creation date fix from trunk

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

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2013-11-05 12:24:22 UTC (rev 6223)
+++ branches/1.3/Changelog	2013-11-05 12:28:16 UTC (rev 6224)
@@ -2,6 +2,9 @@
 Initial Release:  Monday, Oct 12 2011
 Supported Presently
 
+Changelog for 1.3.36
+* Set default date for AP invoice creation to current date (Chris T)
+
 Changelog for 1.3.35
 * Fixed uninitialized value warnings when cached template enabled (Chris T)
 * Fixed error in logs about failed login during initial login (Chris T, 858)

Modified: branches/1.3/LedgerSMB/IR.pm
===================================================================
--- branches/1.3/LedgerSMB/IR.pm	2013-11-05 12:24:22 UTC (rev 6223)
+++ branches/1.3/LedgerSMB/IR.pm	2013-11-05 12:28:16 UTC (rev 6224)
@@ -68,6 +68,7 @@
 
 sub post_invoice {
     my ( $self, $myconfig, $form ) = @_;
+    $form->{crdate} ||= 'now';
 
     if ($form->{id}){
         delete_invoice($self, $myconfig, $form);

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


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits