[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[6459] trunk
- Subject: SF.net SVN: ledger-smb:[6459] trunk
- From: ..hidden..
- Date: Tue, 14 Jan 2014 09:53:12 +0000
Revision: 6459
http://sourceforge.net/p/ledger-smb/code/6459
Author: tshvr
Date: 2014-01-14 09:53:11 +0000 (Tue, 14 Jan 2014)
Log Message:
-----------
set default crdate to now
Modified Paths:
--------------
trunk/LedgerSMB/AA.pm
trunk/bin/aa.pl
Modified: trunk/LedgerSMB/AA.pm
===================================================================
--- trunk/LedgerSMB/AA.pm 2014-01-14 08:45:49 UTC (rev 6458)
+++ trunk/LedgerSMB/AA.pm 2014-01-14 09:53:11 UTC (rev 6459)
@@ -78,6 +78,8 @@
$form->{"amount_$_"} *= -1 if $form->{reverse};
}
+ $form->{crdate} ||= 'now';
+
# connect to database
my $dbh = $LedgerSMB::App_State::DBH;
Modified: trunk/bin/aa.pl
===================================================================
--- trunk/bin/aa.pl 2014-01-14 08:45:49 UTC (rev 6458)
+++ trunk/bin/aa.pl 2014-01-14 09:53:11 UTC (rev 6459)
@@ -1366,7 +1366,7 @@
# check if there is an invoice number, invoice and due date
$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!') );
+ #$form->isblank( "crdate", $locale->text('Invoice Created Date missing!') );
$form->isblank( $form->{vc}, $label );
$closedto = $form->datetonum( \%myconfig, $form->{closedto} );
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits