]> git.imager.perl.org - bse.git/blame - site/templates/admin/order_list.tmpl
support for new templating for product options
[bse.git] / site / templates / admin / order_list.tmpl
CommitLineData
833289fc 1<:wrap admin/base.tmpl title => "Order list - Shop administration", target => order_list:>
5bc24704 2<h1>Shop Administration</h1>
c4f18087 3<p>| <a href="<:adminurl menu:>">Admin menu</a> | <a href="<:adminurl shopadmin:>">Manage catalogs</a>
833289fc
TC
4 | <a href="<:adminurl2 shopadmin order_list_unfilled:>">Unfilled orders</a> [ <:all_order_count [ filled => 0 ] :> ]
5 | <a href="<:adminurl2 shopadmin order_list_filled:>">Filled orders</a> [ <:all_order_count ['<>', filled => 0] :> ]
6 | <a href="<:adminurl2 shopadmin order_list_incomplete:>" title="Orders the customer did not complete">Incomplete orders</a> [ <:all_order_count [complete => 0] :> ]
9fae8be7 7 |</p>
35c0719f 8<h2>Order list</h2>
ad016581 9
8a3b8db8
TC
10 <table class="editform orderlist">
11 <tr>
0f31cbe7 12 <th>Id</th>
8a3b8db8 13 <th>Name</th>
71fe4ab8 14 <th>Status</th>
0f31cbe7
TC
15 <th>Date</th>
16 <th>Total</th>
17 <th>GST</th>
35c0719f 18 <th>Details</th>
0f31cbe7 19 </tr>
8a3b8db8 20 <tr>
71fe4ab8 21 <td colspan="7">
173020d7 22<:include admin/include/order_list_filter.tmpl:>
0f31cbe7
TC
23 </td>
24 </tr>
25 <:iterator begin orders:>
8a3b8db8 26 <tr>
c4f18087 27 <td class="col_id"><a href="<:adminurl shopadmin order_detail 1 id [order id]:>"><:order
5bc24704 28 id:></a></td>
c4f18087 29 <td class="col_name"><:ifOrder billFirstName:><:order billFirstName:> <:order billLastName:><:or:><:order delivFirstName:> <:order delivLastName:><:eif:> <:ifOrder
0b406a07 30 userId:><font color="#CCCCCC">&#8212; (logged in)</font><:or:><:eif:></td>
8a3b8db8
TC
31 <td class="col_status <:ifOrder filled:>filled<:or:>unfilled<:eif:>"><:ifOrder
32 filled:>Completed<:or:>Processing<:eif:></td>
33 <td class="col_date"><:date order orderDate:></td>
34 <td class="col_total">$<:money order total:></td>
35 <td class="col_gst">$<:money order gst:></td>
c4f18087 36 <td class="col_tools"> <a href="<:adminurl shopadmin id [order id] order_detail 1:>">Order
35c0719f 37 details </a> </td>
0f31cbe7
TC
38 </tr>
39 <:iterator end orders:>
40 </table>
833289fc 41<:include admin/include/order_list_pages.tmpl:>
173020d7 42<!-- <:query:> -->