Subversion Repositories SmartDukaan

Rev

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

Rev 3996 Rev 4142
Line 1... Line 1...
1
<div id="top-infopane">
1
<div id="top-infopane">
2
    <table id="user-orders" class="display">
2
    <table id="user-orders" class="display">
3
        <thead>
3
        <thead>
4
            <tr>
4
            <tr>
5
                <th>Order Id</th>
5
                <th>Order Id</th>
-
 
6
                <th>Item</th>
6
                <th>Created</th>
7
                <th>Created</th>
7
                <th>Status</th>
-
 
8
                <th>Amount</th>
8
                <th>Amount</th>
-
 
9
                <th>Status</th>
9
                <th>Mobile No</th>
10
                <th>Mobile No</th>
10
                <th>Shipping Address</th>
-
 
11
            </tr>
11
            </tr>
12
        </thead>
12
        </thead>
13
        <tbody>
13
        <tbody>
14
            #foreach($order in $action.getUserOrders())
14
            #foreach($order in $action.getOrders())
15
            <tr id="order-row-$order.get("id")">
15
            <tr id="order-row-$order.getId()">
16
                <td>
16
                <td>
17
                    <a alt="Show Order Details" title="Show Order Details" href="#" userId="$action.getUserId()" orderId="$order.get("id")" class="show-order-details">
17
                    <a alt="Show Order Details" title="Show Order Details" href="#" userId="$action.getUserId()" orderId="$order.getId()" class="show-order-details">
18
                        $order.get("id")
18
                        $order.getId()
19
                    </a>
19
                    </a>
20
                </td>
20
                </td>
21
                <td>$order.get("created")</td>
21
                <td class="truncated-text">$action.getProductName($order.getLineitems().get(0))</td>
22
                <td>$order.get("status")</td>
22
                <td class="truncated-text">$action.convertDate($order.getCreated_timestamp())</td>
23
                <td>$order.get("amount")</td>
23
                <td>$order.getTotal_amount()</td>
24
                <td>$order.get("mobileNumber")</td>
24
                <td>$action.getOrderStatus($order)</td>
25
                <td class="truncated-text">$order.get("shipping")</td>
25
                <td>$order.getCustomer_mobilenumber()</td>
26
            </tr>
26
            </tr>
27
            #end
27
            #end
28
            </tbody>
28
            </tbody>
29
    </table>
29
    </table>
30
</div>
30
</div>