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

SF.net SVN: ledger-smb:[4598] trunk/LedgerSMB/DBObject/Report/GL.pm



Revision: 4598
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4598&view=rev
Author:   einhverfr
Date:     2012-03-27 02:41:55 +0000 (Tue, 27 Mar 2012)
Log Message:
-----------
Minor tweaks to GL report

Modified Paths:
--------------
    trunk/LedgerSMB/DBObject/Report/GL.pm

Modified: trunk/LedgerSMB/DBObject/Report/GL.pm
===================================================================
--- trunk/LedgerSMB/DBObject/Report/GL.pm	2012-03-27 02:17:50 UTC (rev 4597)
+++ trunk/LedgerSMB/DBObject/Report/GL.pm	2012-03-27 02:41:55 UTC (rev 4598)
@@ -144,13 +144,13 @@
        type => 'text',
      pwidth => '3', },
 
-    {col_id => 'gifi_accno',
-       name => $locale->text('GIFI'),
+    {col_id => 'accname',
+       name => $locale->text('Account Name'),
        type => 'text',
      pwidth => '3', },
 
-    {col_id => 'accname',
-       name => $locale->text('Account Name'),
+    {col_id => 'gifi_accno',
+       name => $locale->text('GIFI'),
        type => 'text',
      pwidth => '3', },
 
@@ -366,6 +366,11 @@
            }
            $ref->{reference_href_suffix} .= "?action=edit&id=$ref->{id}";
         }
+        if ($ref->{cleared}){
+            $ref->{cleared} = 'X';
+        } else {
+            $ref->{cleared} = '';
+        }
     }
     $self->rows(..hidden..);
 }

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