[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[6119] branches/1.3
- Subject: SF.net SVN: ledger-smb:[6119] branches/1.3
- From: ..hidden..
- Date: Tue, 8 Oct 2013 10:03:45 +0000
Revision: 6119
http://sourceforge.net/p/ledger-smb/code/6119
Author: einhverfr
Date: 2013-10-08 10:03:44 +0000 (Tue, 08 Oct 2013)
Log Message:
-----------
Copy to new no longer copies payments, merged from trunk
Modified Paths:
--------------
branches/1.3/Changelog
branches/1.3/bin/aa.pl
branches/1.3/bin/ir.pl
branches/1.3/bin/is.pl
Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog 2013-10-08 10:03:05 UTC (rev 6118)
+++ branches/1.3/Changelog 2013-10-08 10:03:44 UTC (rev 6119)
@@ -20,6 +20,7 @@
* Fixed some bugs with SL2.8 to LedgerSMB upgrades (Chris T)
* Fixed encoding errors after sending email (Chris T, 884)
* Fixed spurious 0's in incorrect fields (Chris T, 889)
+* Copy to New no longer copies payments (Chris T)
Chris T is Chris Travers
Nick P is Nick Prater
Modified: branches/1.3/bin/aa.pl
===================================================================
--- branches/1.3/bin/aa.pl 2013-10-08 10:03:05 UTC (rev 6118)
+++ branches/1.3/bin/aa.pl 2013-10-08 10:03:44 UTC (rev 6119)
@@ -92,6 +92,10 @@
sub copy_to_new{
delete $form->{id};
delete $form->{invnumber};
+ $form->{paidaccounts} = 1;
+ if ($form->{paid_1}){
+ delete $form->{paid_1};
+ }
update();
}
Modified: branches/1.3/bin/ir.pl
===================================================================
--- branches/1.3/bin/ir.pl 2013-10-08 10:03:05 UTC (rev 6118)
+++ branches/1.3/bin/ir.pl 2013-10-08 10:03:44 UTC (rev 6119)
@@ -51,6 +51,10 @@
sub copy_to_new{
delete $form->{id};
delete $form->{invnumber};
+ $form->{paidaccounts} = 1;
+ if ($form->{paid_1}){
+ delete $form->{paid_1};
+ }
update();
}
Modified: branches/1.3/bin/is.pl
===================================================================
--- branches/1.3/bin/is.pl 2013-10-08 10:03:05 UTC (rev 6118)
+++ branches/1.3/bin/is.pl 2013-10-08 10:03:44 UTC (rev 6119)
@@ -58,6 +58,10 @@
sub copy_to_new{
delete $form->{id};
delete $form->{invnumber};
+ $form->{paidaccounts} = 1;
+ if ($form->{paid_1}){
+ delete $form->{paid_1};
+ }
update();
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits