[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[3628] trunk/bin/rp.pl
- Subject: SF.net SVN: ledger-smb:[3628] trunk/bin/rp.pl
- From: ..hidden..
- Date: Thu, 04 Aug 2011 05:57:55 +0000
Revision: 3628
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3628&view=rev
Author: einhverfr
Date: 2011-08-04 05:57:55 +0000 (Thu, 04 Aug 2011)
Log Message:
-----------
Fixing bug 3384900
Modified Paths:
--------------
trunk/bin/rp.pl
Modified: trunk/bin/rp.pl
===================================================================
--- trunk/bin/rp.pl 2011-08-04 05:11:51 UTC (rev 3627)
+++ trunk/bin/rp.pl 2011-08-04 05:57:55 UTC (rev 3628)
@@ -1852,6 +1852,7 @@
for (@{$column_index}) { $column_data{$_} = ' ' }
+ $column_data{'class'} = 'subtotal';
#SC: Yes, right now these are global, inherited from generate_tax_report
$subtotal =
$form->format_amount( \%myconfig, $subtotalnetamount + $subtotaltax,
@@ -1861,18 +1862,9 @@
$subtotaltax =
$form->format_amount( \%myconfig, $subtotaltax, 2, ' ' );
- $column_data{netamount} = {
- class => 'subtotal',
- text => $subtotalnetamount,
- };
- $column_data{tax} = {
- class => 'subtotal',
- text => $subtotaltax,
- };
- $column_data{total} = {
- class => 'subtotal',
- text => $subtotal,
- };
+ $column_data{netamount} = $subtotalnetamount;
+ $column_data{tax} = $subtotaltax;
+ $column_data{total} = $subtotal;
$subtotalnetamount = 0;
$subtotaltax = 0;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.