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

SF.net SVN: ledger-smb:[6117] trunk



Revision: 6117
          http://sourceforge.net/p/ledger-smb/code/6117
Author:   einhverfr
Date:     2013-10-08 10:00:55 +0000 (Tue, 08 Oct 2013)
Log Message:
-----------
Copy to new no longer copies payments

Modified Paths:
--------------
    trunk/Changelog
    trunk/bin/aa.pl
    trunk/bin/ir.pl
    trunk/bin/is.pl

Modified: trunk/Changelog
===================================================================
--- trunk/Changelog	2013-10-08 09:19:49 UTC (rev 6116)
+++ trunk/Changelog	2013-10-08 10:00:55 UTC (rev 6117)
@@ -105,6 +105,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: trunk/bin/aa.pl
===================================================================
--- trunk/bin/aa.pl	2013-10-08 09:19:49 UTC (rev 6116)
+++ trunk/bin/aa.pl	2013-10-08 10:00:55 UTC (rev 6117)
@@ -94,6 +94,10 @@
 sub copy_to_new{
     delete $form->{id};
     delete $form->{invnumber};
+    $form->{paidaccounts} = 1;
+    if ($form->{paid_1}){
+        delete $form->{paid_1};
+    }
     update();
 }
 

Modified: trunk/bin/ir.pl
===================================================================
--- trunk/bin/ir.pl	2013-10-08 09:19:49 UTC (rev 6116)
+++ trunk/bin/ir.pl	2013-10-08 10:00:55 UTC (rev 6117)
@@ -55,6 +55,10 @@
 sub copy_to_new{
     delete $form->{id};
     delete $form->{invnumber};
+    $form->{paidaccounts} = 1;
+    if ($form->{paid_1}){
+        delete $form->{paid_1};
+    }
     update();
 }
 

Modified: trunk/bin/is.pl
===================================================================
--- trunk/bin/is.pl	2013-10-08 09:19:49 UTC (rev 6116)
+++ trunk/bin/is.pl	2013-10-08 10:00:55 UTC (rev 6117)
@@ -61,6 +61,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