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

SF.net SVN: ledger-smb:[6222] trunk/LedgerSMB/IR.pm



Revision: 6222
          http://sourceforge.net/p/ledger-smb/code/6222
Author:   einhverfr
Date:     2013-11-05 11:44:52 +0000 (Tue, 05 Nov 2013)
Log Message:
-----------
Setting default crdate to 'now' for invoices received.

Modified Paths:
--------------
    trunk/LedgerSMB/IR.pm

Modified: trunk/LedgerSMB/IR.pm
===================================================================
--- trunk/LedgerSMB/IR.pm	2013-11-05 10:54:21 UTC (rev 6221)
+++ trunk/LedgerSMB/IR.pm	2013-11-05 11:44:52 UTC (rev 6222)
@@ -78,6 +78,7 @@
 
 sub post_invoice {
     my ( $self, $myconfig, $form ) = @_;
+    $form->{crdate} ||= 'now';
 
     $form->all_business_units;
     if ($form->{id}){

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