[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[6878] branches/1.3/bin/aa.pl
- Subject: SF.net SVN: ledger-smb:[6878] branches/1.3/bin/aa.pl
- From: ..hidden..
- Date: Wed, 19 Feb 2014 20:01:22 +0000
Revision: 6878
http://sourceforge.net/p/ledger-smb/code/6878
Author: pongracz
Date: 2014-02-19 20:01:20 +0000 (Wed, 19 Feb 2014)
Log Message:
-----------
Fix for bug #1076 : We fill the empty crdate field with transdate on post, silently, no error, no warning. We do the same as in missing duedate field. This only dangerious where invoice creation date exists and important to compare the issue date with transdate. They will need patch the code to use warning instead of silent date filling. Anyway, this also true for duedate.
Modified Paths:
--------------
branches/1.3/bin/aa.pl
Property Changed:
----------------
branches/1.3/bin/aa.pl
Modified: branches/1.3/bin/aa.pl
===================================================================
--- branches/1.3/bin/aa.pl 2014-02-19 17:06:35 UTC (rev 6877)
+++ branches/1.3/bin/aa.pl 2014-02-19 20:01:20 UTC (rev 6878)
@@ -1323,6 +1323,11 @@
$form->isblank( "transdate", $locale->text('Invoice Date missing!') );
$form->isblank( "duedate", $locale->text('Due Date missing!') );
# $form->isblank( "crdate", $locale->text('Invoice Created Date missing!') );
+ # pongraczi: we silently fill crdate with transdate if the user left empty to do not break existing workflow
+ if (!$form->{crdate}){
+ $form->{crdate} = $form->{transdate};
+ }
+
$form->isblank( $form->{vc}, $label );
$closedto = $form->datetonum( \%myconfig, $form->{closedto} );
Property changes on: branches/1.3/bin/aa.pl
___________________________________________________________________
Modified: svn:text-time
## -1 +1 ##
-2014-02-19T08:52:27.834660Z
+2014-02-19T19:56:49.059171Z
\ No newline at end of property
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits