Subversion Repositories SmartDukaan

Rev

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

Rev 4241 Rev 18308
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>Tr Id</th>
5
                <th>Order Id</th>
6
                <th>Order Id</th>
6
                <th>Item</th>
7
                <th>Item</th>
7
                <th>Created</th>
8
                <th>Created</th>
8
                <th>Amount</th>
9
                <th>Amount</th>
9
                <th>Status</th>
10
                <th>Status</th>
Line 11... Line 12...
11
            </tr>
12
            </tr>
12
        </thead>
13
        </thead>
13
        <tbody>
14
        <tbody>
14
            #foreach($order in $action.getOrders())
15
            #foreach($order in $action.getOrders())
15
            <tr id="order-row-$order.getId()">
16
            <tr id="order-row-$order.getId()">
-
 
17
            	<td>
-
 
18
            		$order.getTransactionId()
-
 
19
            	</td>
16
                <td>
20
                <td>
17
					<a alt="Show Order Details" title="Show Order Details" href="#" userId="$action.getUserId()" orderId="$order.getId()" class="show-order-details">
21
					<a alt="Show Order Details" title="Show Order Details" href="#" userId="$action.getUserId()" orderId="$order.getId()" class="show-order-details">
18
                        $order.getId() 
22
                        $order.getId() 
19
                    </a>
23
                    </a>
20
					#if($order.isSetNew_order_id())
24
					#if($order.isSetNew_order_id())
Line 25... Line 29...
25
						(old id : <a alt="Show Order Details" title="Show Order Details" href="#" userId="$action.getUserId()" orderId="$action.getOldOrderId($order.getId())" class="show-order-details">
29
						(old id : <a alt="Show Order Details" title="Show Order Details" href="#" userId="$action.getUserId()" orderId="$action.getOldOrderId($order.getId())" class="show-order-details">
26
						$action.getOldOrderId($order.getId()))
30
						$action.getOldOrderId($order.getId()))
27
						</a>
31
						</a>
28
					#end
32
					#end
29
                </td>
33
                </td>
30
                <td class="truncated-text" truncatedTextWidth="230">$action.getProductName($order.getLineitems().get(0))</td>
34
                <td class="truncated-text" truncatedTextWidth="300">$action.getProductName($order.getLineitems().get(0))</td>
31
                <td class="truncated-text" truncatedTextWidth="135">$action.convertDate($order.getCreated_timestamp())</td>
35
                <td class="truncated-text" truncatedTextWidth="135">$action.convertDate($order.getCreated_timestamp())</td>
32
                <td>$order.getTotal_amount()</td>
36
                <td>$order.getTotal_amount()</td>
33
                <td class="truncated-text" truncatedTextWidth="140">$order.getStatus().toString()</td>
37
                <td class="truncated-text" truncatedTextWidth="140">$order.getStatus().toString()</td>
34
                <td>$order.getCustomer_mobilenumber()</td>
38
                <td>$order.getCustomer_mobilenumber()</td>
35
            </tr>
39
            </tr>