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

SF.net SVN: ledger-smb:[3929] addons



Revision: 3929
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3929&view=rev
Author:   einhverfr
Date:     2011-10-26 13:30:38 +0000 (Wed, 26 Oct 2011)
Log Message:
-----------
Template transaction patch due to fuzz, will release 1.0.1 shortly

Modified Paths:
--------------
    addons/1.3/templatetrans/trunk/patches/aa_gl.patch

Property Changed:
----------------
    addons/


Property changes on: addons
___________________________________________________________________
Added: svn:mergeinfo
   + /addons/1.3/budgetting/trunk:3766-3917

Modified: addons/1.3/templatetrans/trunk/patches/aa_gl.patch
===================================================================
--- addons/1.3/templatetrans/trunk/patches/aa_gl.patch	2011-10-25 18:47:21 UTC (rev 3928)
+++ addons/1.3/templatetrans/trunk/patches/aa_gl.patch	2011-10-26 13:30:38 UTC (rev 3929)
@@ -1,9 +1,17 @@
 Index: bin/aa.pl
 ===================================================================
---- bin/aa.pl	(revision 3546)
+--- bin/aa.pl	(revision 3924)
 +++ bin/aa.pl	(working copy)
-@@ -992,6 +992,8 @@
+@@ -108,7 +108,6 @@
+ }
  
+ sub add {
+-
+     $form->{title} = "Add";
+ 	
+     $form->{callback} =
+@@ -975,6 +974,8 @@
+ 
              'save_info' => 
                { ndx => 9, key => 'I', value => $locale->text('Save Info') },
 +            'save_temp' =>
@@ -11,7 +19,7 @@
              'new_screen' => # Create a blank ar/ap invoice.
               { ndx => 10, key=> 'N', value => $locale->text('New') }
          );
-@@ -1074,6 +1076,41 @@
+@@ -1105,6 +1106,41 @@
  |;
  }
  
@@ -55,9 +63,9 @@
      use LedgerSMB;
 Index: bin/gl.pl
 ===================================================================
---- bin/gl.pl	(revision 3546)
+--- bin/gl.pl	(revision 3923)
 +++ bin/gl.pl	(working copy)
-@@ -251,6 +251,10 @@
+@@ -264,6 +264,10 @@
  		  'update' =>
  		    { ndx => 1, key => 'U', value => $locale->text('Update') },
  		  'post' => { ndx => 3, key => 'O', value => $locale->text('Post') },
@@ -68,15 +76,15 @@
  		  'post_as_new' =>
  		    { ndx => 6, key => 'N', value => $locale->text('Post as new') },
  		  'schedule' =>
-@@ -281,6 +285,7 @@
- 		  }
- 	      }
-               $a{update} = 1;
+@@ -285,6 +289,7 @@
+               } else {
+                  $a{'update'} = 1;
+               }
 +              $a{save_temp} = 1;
+ 	      if ( $form->{id} && ($form->{approved} || !$form->{batch_id})) {
  
- 	      if (!$form->{approved} && !$form->{batch_id}){
- 		$button{approve} = { 
-@@ -345,7 +350,37 @@
+ 		  for ( 'post_as_new', 'schedule' ) { $a{$_} = 1 }
+@@ -365,7 +370,37 @@
  }
   
  

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.