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

SF.net SVN: ledger-smb:[3657] trunk/bin/aa.pl



Revision: 3657
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3657&view=rev
Author:   einhverfr
Date:     2011-08-15 23:27:49 +0000 (Mon, 15 Aug 2011)

Log Message:
-----------

Clarification to close bug 3387902 and correction for minor UI glitch

Modified Paths:
--------------
    trunk/bin/aa.pl

Modified: trunk/bin/aa.pl
===================================================================
--- trunk/bin/aa.pl	2011-08-15 23:19:51 UTC (rev 3656)
+++ trunk/bin/aa.pl	2011-08-15 23:27:49 UTC (rev 3657)
@@ -2031,6 +2031,13 @@
         "<th><a class=listheading href=$href&sort=invnumber>"
       . $locale->text('Invoice')
       . "</a></th>";
+    if ($form->{summary}){
+        $column_header{invnumber} =
+            "<th><a class=listheading href=$href&sort=invnumber>"
+            . $locale->text('Invoices')
+            . "</a></th>";
+
+    }
     $column_header{ordnumber} =
         "<th><a class=listheading href=$href&sort=ordnumber>"
       . $locale->text('Order')
@@ -2266,7 +2273,7 @@
         $column_data{name} =
 qq|<td>$ref->{meta_number}</td><td><a href=$form->{vc}.pl?path=$form->{path}&action=edit&entity_id=$ref->{entity_id}&meta_number=$ref->{meta_number}&db=$form->{vc}&callback=$callback>$ref->{name}</a></td>|;
 
-        if ( $ref->{id} != $sameid ) {
+        if ( $ref->{id} != $sameid or $form->{summary}) {
             $j++;
             $j %= 2;
         }


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