[interchange-cvs] interchange - kwalsh modified
dist/standard/pages/query/order_detail.html
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Sat Dec 22 15:57:51 EST 2007
User: kwalsh
Date: 2007-12-22 20:57:51 GMT
Modified: dist/standard/pages/query order_detail.html
Log:
* Applied Standard demo (pages/query/order_detail.html) patch from
Rene Hertell's bug #142, which reads as follows:
> When the customer checks out his order-details, he gets the orders
> stats on each line, even if the orderline itself has an other status.
> This patch should show the correct status separately for each line.
> This patch also adds localization for that status-column.
Thanks Rene.
Revision Changes Path
1.3 +4 -3 interchange/dist/standard/pages/query/order_detail.html
rev 1.3, prev_rev 1.2
Index: order_detail.html
===================================================================
RCS file: /var/cvs/interchange/dist/standard/pages/query/order_detail.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- order_detail.html 20 Jan 2006 17:27:47 -0000 1.2
+++ order_detail.html 22 Dec 2007 20:57:51 -0000 1.3
@@ -500,10 +500,11 @@
[query list=1 sql="select * from orderline where order_number = '[loop-code]'"]
<tr class="[sql-alternate 2]rowalt[else]rownorm[/else][/sql-alternate]">
<td style="padding: 5px">
- [display table=transactions
+ [display table=orderline
column=status
- key="[loop-code]"
- arbitrary=order_view
+ key="[sql-code]"
+ type=display
+ applylocale=1
]
[calc]
$total_weight += ([field field=weight key="[sql-param sku]"] + 0 || 0) * [sql-data orderline quantity];
More information about the interchange-cvs
mailing list