summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-11 18:39:02 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-11 18:39:02 +0000
commit2b554d4f9a608c3189a52a8d863b1e06cf2bda18 (patch)
tree450d6910ab5c9996456524ba7b3f548a0c5a6cf2 /bin
parenta4d47dfe9870499275e95637d316cb8d95c290d3 (diff)
Some formatting fixes to the inventory activity report
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1567 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin')
-rwxr-xr-xbin/rp.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/rp.pl b/bin/rp.pl
index aca6133a..b696a5c4 100755
--- a/bin/rp.pl
+++ b/bin/rp.pl
@@ -984,10 +984,15 @@ qq|rp.pl?path=$form->{path}&action=continue&accounttype=$form->{accounttype}&log
$ref->{partnumber} = qq|<a href="$pnumhref">$ref->{partnumber}</a>|;
$ref->{sold} = qq|<a href="$soldhref">$ref->{sold}</a>|;
$ref->{received} = qq|<a href="$rechref">$ref->{received}<a/>|;
+ $ref->{revenue} =
+ $form->format_amount( \%myconfig, $ref->{revenue}, 2, '&nbsp;' );
+ $ref->{expenses} =
+ $form->format_amount( \%myconfig, $ref->{expenses}, 2, '&nbsp;' );
+ $ref->{expense} = $ref->{expenses};
map { $column_data{$_} = "<td>&nbsp;</td>" } @column_index;
print qq|
- <tr class=listrow$i>
+ <tr class="listrow$i">
|;
map { print "<td>$ref->{$_}</td>\n" } @column_index;