[interchange-cvs] interchange - heins modified
dist/lib/UI/pages/admin/reports/order/Detail.html
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Thu Jul 15 14:40:24 EDT 2004
User: heins
Date: 2004-07-15 18:40:23 GMT
Modified: dist/lib/UI/pages/admin/reports/order Detail.html
Log:
* Put in Jonathan's patch for better localization and proper linking
of order detail reports.
Revision Changes Path
2.4 +4 -3 interchange/dist/lib/UI/pages/admin/reports/order/Detail.html
rev 2.4, prev_rev 2.3
Index: Detail.html
===================================================================
RCS file: /var/cvs/interchange/dist/lib/UI/pages/admin/reports/order/Detail.html,v
retrieving revision 2.3
retrieving revision 2.4
diff -u -r2.3 -r2.4
--- Detail.html 18 Aug 2002 08:09:28 -0000 2.3
+++ Detail.html 15 Jul 2004 18:40:23 -0000 2.4
@@ -89,9 +89,10 @@
$out = '';
foreach $line (@{$Tmp->{main}}) {
$total_sales += $line->{total_cost};
- $amount = sprintf '%.2f', $line->{total_cost};
+ $amount = $Tag->currency({}, $line->{total_cost});
$line->{status} = $Tag->loc('', $line->{status});
- $url = $Tag->area('__UI_BASE__/order_view', $line->{order_number});
+ $url = $Tag->area({ href => '__UI_BASE__/order_view',
+ form => "order=$line->{order_number}", });
$out .= <<EOF;
<TR class=rnorm>
<TD VALIGN=top>
@@ -118,7 +119,7 @@
</TR>
EOF
}
- $total_sales = sprintf '$%.2f', $total_sales;
+ $total_sales = $Tag->currency({}, $total_sales);
$out .= <<EOF;
<tr class=rborder height=1><td colspan=7></td></tr>
<TR class=rnorm>
More information about the interchange-cvs
mailing list