Subversion Repositories SmartDukaan

Rev

Rev 3996 | Rev 4192 | Go to most recent revision | Details | Compare with Previous | 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>
3499 mandeep.dh 5
                <th>Order Id</th>
4142 mandeep.dh 6
                <th>Item</th>
2730 vikas 7
                <th>Created</th>
4142 mandeep.dh 8
                <th>Amount</th>
2714 vikas 9
                <th>Status</th>
3853 mandeep.dh 10
                <th>Mobile No</th>
2674 vikas 11
            </tr>
12
        </thead>
13
        <tbody>
4142 mandeep.dh 14
            #foreach($order in $action.getOrders())
15
            <tr id="order-row-$order.getId()">
2674 vikas 16
                <td>
4142 mandeep.dh 17
                    <a alt="Show Order Details" title="Show Order Details" href="#" userId="$action.getUserId()" orderId="$order.getId()" class="show-order-details">
18
                        $order.getId()
3853 mandeep.dh 19
                    </a>
2674 vikas 20
                </td>
4142 mandeep.dh 21
                <td class="truncated-text">$action.getProductName($order.getLineitems().get(0))</td>
22
                <td class="truncated-text">$action.convertDate($order.getCreated_timestamp())</td>
23
                <td>$order.getTotal_amount()</td>
24
                <td>$action.getOrderStatus($order)</td>
25
                <td>$order.getCustomer_mobilenumber()</td>
2674 vikas 26
            </tr>
27
            #end
28
            </tbody>
29
    </table>
30
</div>
31
<div id="bottom-infopane">
32
</div>