summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-11 18:56:22 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-11 18:56:22 +0000
commit226c1c89054d6f8267f6115659262c7ddd345f8b (patch)
tree6582d2ea6eb2ccfd5b425bbb59cc57488706c0de /bin
parent2b554d4f9a608c3189a52a8d863b1e06cf2bda18 (diff)
Adjust text alignment in the inventory activity report
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1568 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin')
-rwxr-xr-xbin/rp.pl10
1 files changed, 8 insertions, 2 deletions
diff --git a/bin/rp.pl b/bin/rp.pl
index b696a5c4..1f044879 100755
--- a/bin/rp.pl
+++ b/bin/rp.pl
@@ -994,8 +994,14 @@ qq|rp.pl?path=$form->{path}&action=continue&accounttype=$form->{accounttype}&log
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>
|;