Subversion Repositories SmartDukaan

Rev

Rev 2674 | Rev 2730 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2674 Rev 2714
Line 2... Line 2...
2
    <table id="user-orders" class="display">
2
    <table id="user-orders" class="display">
3
        <thead>
3
        <thead>
4
            <tr>
4
            <tr>
5
                <th>Id</th>
5
                <th>Id</th>
6
                <th>Received</th>
6
                <th>Received</th>
7
                <th>Delivered</th>
7
                <th>Status</th>
8
                <th>Amount</th>
8
                <th>Amount</th>
9
                <th>Shipping Address</th>
9
                <th>Shipping Address</th>
10
            </tr>
10
            </tr>
11
        </thead>
11
        </thead>
12
        <tbody>
12
        <tbody>
13
            #foreach($order in $action.getUserOrders())
13
            #foreach($order in $action.getUserOrders())
14
            <tr>
14
            <tr id="order-row-$order.get("id")">
15
                <td>
15
                <td>
16
                    <a alt="Show Order Details" title="Show Order Details" href="#" userId="$action.getUserId()" orderId="$order.get("id")" class="show-order-details">
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")
17
                        $order.get("id")
18
                    </a>                    
18
                    </a>                    
19
                </td>
19
                </td>
20
                <td>$order.get("received")</td>
20
                <td>$order.get("created")</td>
21
                <td>#if($order.get("delivered")) $order.get("delivered") #end</td>
21
                <td>$order.get("status")</td>
22
                <td>$order.get("amount")</td>
22
                <td>$order.get("amount")</td>
23
                <td title="$order.get("shipping")">$order.get("city")</td>
23
                <td title="$order.get("shipping")">$order.get("city")</td>
24
            </tr>
24
            </tr>
25
            #end
25
            #end
26
            </tbody>
26
            </tbody>