diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-11 18:39:02 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-11 18:39:02 +0000 |
commit | 2b554d4f9a608c3189a52a8d863b1e06cf2bda18 (patch) | |
tree | 450d6910ab5c9996456524ba7b3f548a0c5a6cf2 /bin/rp.pl | |
parent | a4d47dfe9870499275e95637d316cb8d95c290d3 (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/rp.pl')
-rwxr-xr-x | bin/rp.pl | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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, ' ' ); + $ref->{expenses} = + $form->format_amount( \%myconfig, $ref->{expenses}, 2, ' ' ); + $ref->{expense} = $ref->{expenses}; map { $column_data{$_} = "<td> </td>" } @column_index; print qq| - <tr class=listrow$i> + <tr class="listrow$i"> |; map { print "<td>$ref->{$_}</td>\n" } @column_index; |