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

SF.net SVN: ledger-smb:[5313] branches/1.3



Revision: 5313
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5313&view=rev
Author:   einhverfr
Date:     2012-12-07 05:06:23 +0000 (Fri, 07 Dec 2012)
Log Message:
-----------
Correcting eca selection issues when creating sales/vendor invoices and ar/ap transactions from transactions/outstanding reports.

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/bin/aa.pl

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2012-12-07 03:54:17 UTC (rev 5312)
+++ branches/1.3/Changelog	2012-12-07 05:06:23 UTC (rev 5313)
@@ -6,6 +6,7 @@
 * Added db statistics post-upgrade and pre/post rebuild (Chris T, 3586113)
 * Merged in fcgi support from addons (Chris T)
 * Clarified UI for changing password vs settings (Chris T, 3588810) 
+* Fixed eca selection issues when creating invoices (Chris T, 3588301)
 
 Changelog for 1.3.25
 * Fixed internal server errors on LedgerSMB->error() during new() (Chris T)

Modified: branches/1.3/bin/aa.pl
===================================================================
--- branches/1.3/bin/aa.pl	2012-12-07 03:54:17 UTC (rev 5312)
+++ branches/1.3/bin/aa.pl	2012-12-07 05:06:23 UTC (rev 5313)
@@ -2402,26 +2402,26 @@
         $i = 1;
         if ( $form->{ARAP} eq 'AR' ) {
             $button{'AR--Add Transaction'}{code} =
-qq|<button class="submit" type="submit" name="action" value="ar_transaction">|
+qq|<a href="ar.pl?action=add">[|
               . $locale->text('AR Transaction')
-              . qq|</button> |;
+              . qq|]</a> |;
             $button{'AR--Add Transaction'}{order} = $i++;
             $button{'AR--Sales Invoice'}{code} =
-qq|<button class="submit" type="submit" name="action" value="sales_invoice_">|
+qq|<a href="is.pl?action=add">[|
               . $locale->text('Sales Invoice')
-              . qq|</button> |;
+              . qq|]</a> |;
             $button{'AR--Sales Invoice'}{order} = $i++;
         }
         else {
             $button{'AP--Add Transaction'}{code} =
-qq|<button class="submit" type="submit" name="action" value="ap_transaction">|
+qq|<a href="ap.pl?action=add">[|
               . $locale->text('AP Transaction')
-              . qq|</button> |;
+              . qq|]</a> |;
             $button{'AP--Add Transaction'}{order} = $i++;
             $button{'AP--Vendor Invoice'}{code} =
-qq|<button class="submit" type="submit" name="action" value="vendor_invoice_">|
+qq|<a href="ir.pl?action=add">[|
               . $locale->text('Vendor Invoice')
-              . qq|</button> |;
+              . qq|]</a> |;
             $button{'AP--Vendor Invoice'}{order} = $i++;
         }
 
@@ -2446,7 +2446,6 @@
 
     $form->hide_form(
         "callback",    "path", "login", "sessionid",
-        "$form->{vc}", "$form->{vc}_id"
     );
 
     if ( !$form->{till} ) {

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