Subversion Repositories SmartDukaan

Rev

Rev 4192 | Rev 18341 | 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>
                                        #if($order.isSetNew_order_id())
                                                (new id : <a alt="Show Order Details" title="Show Order Details" href="#" userId="$action.getUserId()" orderId="$order.getNew_order_id()" class="show-order-details">
                                                $order.getNew_order_id())
                                                </a>
                                        #elseif($action.isReshippedOrder($order.getId()))
                                                (old id : <a alt="Show Order Details" title="Show Order Details" href="#" userId="$action.getUserId()" orderId="$action.getOldOrderId($order.getId())" class="show-order-details">
                                                $action.getOldOrderId($order.getId()))
                                                </a>
                                        #end
                </td>
                <td class="truncated-text" truncatedTextWidth="230">$action.getProductName($order.getLineitems().get(0))</td>
                <td class="truncated-text" truncatedTextWidth="135">$action.convertDate($order.getCreated_timestamp())</td>
                <td>$order.getTotal_amount()</td>
                <td class="truncated-text" truncatedTextWidth="140">$order.getStatus().toString()</td>
                <td>$order.getCustomer_mobilenumber()</td>
            </tr>
            #end
            </tbody>
    </table>
</div>
<div id="bottom-infopane">
</div>