Subversion Repositories SmartDukaan

Rev

Rev 3996 | Rev 4192 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<div id="top-infopane">
    <table id="user-orders" class="display">
        <thead>
            <tr>
                <th>Order Id</th>
                <th>Item</th>
                <th>Created</th>
                <th>Amount</th>
                <th>Status</th>
                <th>Mobile No</th>
            </tr>
        </thead>
        <tbody>
            #foreach($order in $action.getOrders())
            <tr id="order-row-$order.getId()">
                <td>
                    <a alt="Show Order Details" title="Show Order Details" href="#" userId="$action.getUserId()" orderId="$order.getId()" class="show-order-details">
                        $order.getId()
                    </a>
                </td>
                <td class="truncated-text">$action.getProductName($order.getLineitems().get(0))</td>
                <td class="truncated-text">$action.convertDate($order.getCreated_timestamp())</td>
                <td>$order.getTotal_amount()</td>
                <td>$action.getOrderStatus($order)</td>
                <td>$order.getCustomer_mobilenumber()</td>
            </tr>
            #end
            </tbody>
    </table>
</div>
<div id="bottom-infopane">
</div>