diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-11 18:56:22 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-11 18:56:22 +0000 |
commit | 226c1c89054d6f8267f6115659262c7ddd345f8b (patch) | |
tree | 6582d2ea6eb2ccfd5b425bbb59cc57488706c0de | |
parent | 2b554d4f9a608c3189a52a8d863b1e06cf2bda18 (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
-rwxr-xr-x | bin/rp.pl | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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> |; |