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

SF.net SVN: ledger-smb: [1568] branches/1.2/bin/rp.pl



Revision: 1568
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1568&view=rev
Author:   tetragon
Date:     2007-09-11 11:56:22 -0700 (Tue, 11 Sep 2007)

Log Message:
-----------
Adjust text alignment in the inventory activity report

Modified Paths:
--------------
    branches/1.2/bin/rp.pl

Modified: branches/1.2/bin/rp.pl
===================================================================
--- branches/1.2/bin/rp.pl	2007-09-11 18:39:02 UTC (rev 1567)
+++ branches/1.2/bin/rp.pl	2007-09-11 18:56:22 UTC (rev 1568)
@@ -994,8 +994,14 @@
         print qq|
       <tr class="listrow$i">
       |;
-        map { print "<td>$ref->{$_}</td>\n" } @column_index;
-
+        for (@column_index) {
+            if ($_ eq 'description' or $_ eq 'partnumber') {
+                print '<td>';
+            } else {
+                print '<td align="right">';
+            }
+            print "$ref->{$_}</td>\n";
+        }
         print qq|
       </tr>
 |;


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