Subversion Repositories SmartDukaan

Rev

Rev 2714 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2674 vikas 1
<div id="top-infopane">
2
    <table id="user-orders" class="display">
3
        <thead>
4
            <tr>
5
                <th>Id</th>
6
                <th>Received</th>
7
                <th>Delivered</th>
8
                <th>Amount</th>
9
                <th>Shipping Address</th>
10
            </tr>
11
        </thead>
12
        <tbody>
13
            #foreach($order in $action.getUserOrders())
14
            <tr>
15
                <td>
16
                    <a alt="Show Order Details" title="Show Order Details" href="#" userId="$action.getUserId()" orderId="$order.get("id")" class="show-order-details">
17
                        $order.get("id")
18
                    </a>                    
19
                </td>
20
                <td>$order.get("received")</td>
21
                <td>#if($order.get("delivered")) $order.get("delivered") #end</td>
22
                <td>$order.get("amount")</td>
23
                <td title="$order.get("shipping")">$order.get("city")</td>
24
            </tr>
25
            #end
26
            </tbody>
27
    </table>
28
</div>
29
<div id="bottom-infopane">
30
</div>