Subversion Repositories SmartDukaan

Rev

Rev 18341 | 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>
18308 amit.gupta 5
                <th>Tr Id</th>
3499 mandeep.dh 6
                <th>Order Id</th>
4142 mandeep.dh 7
                <th>Item</th>
18583 amit.gupta 8
                <th>Qty</th>
2730 vikas 9
                <th>Created</th>
4142 mandeep.dh 10
                <th>Amount</th>
2714 vikas 11
                <th>Status</th>
3853 mandeep.dh 12
                <th>Mobile No</th>
2674 vikas 13
            </tr>
14
        </thead>
15
        <tbody>
4142 mandeep.dh 16
            #foreach($order in $action.getOrders())
17
            <tr id="order-row-$order.getId()">
18308 amit.gupta 18
            	<td>
19
            		$order.getTransactionId()
20
            	</td>
2674 vikas 21
                <td>
4192 anupam.sin 22
					<a alt="Show Order Details" title="Show Order Details" href="#" userId="$action.getUserId()" orderId="$order.getId()" class="show-order-details">
23
                        $order.getId() 
3853 mandeep.dh 24
                    </a>
4192 anupam.sin 25
					#if($order.isSetNew_order_id())
26
						(new id : <a alt="Show Order Details" title="Show Order Details" href="#" userId="$action.getUserId()" orderId="$order.getNew_order_id()" class="show-order-details">
27
						$order.getNew_order_id())
28
						</a>
29
					#elseif($action.isReshippedOrder($order.getId()))
30
						(old id : <a alt="Show Order Details" title="Show Order Details" href="#" userId="$action.getUserId()" orderId="$action.getOldOrderId($order.getId())" class="show-order-details">
31
						$action.getOldOrderId($order.getId()))
32
						</a>
33
					#end
2674 vikas 34
                </td>
18341 amit.gupta 35
                <td class="truncated-text" truncatedTextWidth="400">$action.getProductName($order.getLineitems().get(0))</td>
18583 amit.gupta 36
                <td>$order.getLineitems().get(0).getQuantity()</td>
4241 anupam.sin 37
                <td class="truncated-text" truncatedTextWidth="135">$action.convertDate($order.getCreated_timestamp())</td>
4142 mandeep.dh 38
                <td>$order.getTotal_amount()</td>
4241 anupam.sin 39
                <td class="truncated-text" truncatedTextWidth="140">$order.getStatus().toString()</td>
4142 mandeep.dh 40
                <td>$order.getCustomer_mobilenumber()</td>
2674 vikas 41
            </tr>
42
            #end
43
            </tbody>
44
    </table>
45
</div>
46
<div id="bottom-infopane">
47
</div>