Subversion Repositories SmartDukaan

Rev

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

Rev 6148 Rev 6603
Line 18... Line 18...
18
#myAccount .content th{
18
#myAccount .content th{
19
	padding:7px 6px;
19
	padding:7px 6px;
20
	text-align:center;
20
	text-align:center;
21
	background:#daf0f8;
21
	background:#daf0f8;
22
	border-bottom:1px solid #ccc;
22
	border-bottom:1px solid #ccc;
23
	
-
 
24
}
23
}
-
 
24
 
25
</style>
25
</style>
26
	<script language="javascript" type="text/javascript" src="/js/ga-invoker.js"></script>
26
	<script language="javascript" type="text/javascript" src="/js/ga-invoker.js"></script>
27
</head>
27
</head>
28
 
28
 
29
<body>
29
<body>
Line 38... Line 38...
38
			<div class="bread-crumbs">
38
			<div class="bread-crumbs">
39
				<a href="/">Home</a>&nbsp;&gt;&nbsp;
39
				<a href="/">Home</a>&nbsp;&gt;&nbsp;
40
				<a href="#">My Account</a>
40
				<a href="#">My Account</a>
41
			</div>
41
			</div>
42
		</div>
42
		</div>
43
		<div class="main-left left blue-border">
43
		<div class="main-left left blue-border" style="width:100%">
44
					<!-- my account -->
44
					<!-- my account -->
45
			<div id="myAccount">
45
			<div id="myAccount">
46
				                <div class="middle">
46
				                <div class="middle">
47
                    <div class="middle-grey-left">
47
                    <div class="middle-grey-left">
48
                        <div class="middle-white-right">
48
                        <div class="middle-white-right">
Line 95... Line 95...
95
        					-->
95
        					-->
96
                  </ul>
96
                  </ul>
97
                </div>
97
                </div>
98
                <!-- /nav -->
98
                <!-- /nav -->
99
                        <!-- content -->
99
                        <!-- content -->
100
                            <div class="content">
100
                            <div class="content" style="width:808px">
101
                                <h1>My Recharges</h1>
101
                                <h1 style="padding-top:10px">My Recharges</h1>
102
								
102
								
103
								#set($recharges = $action.getRechargeOrders())
103
								#set($recharges = $action.getRechargeOrders())
104
						        #set($rechargeDate = $action.getRechargeDate())
104
						        #set($rechargeDate = $action.getRechargeDate())
105
					            #if($recharges && $recharges.size() != 0)
105
					            #if($recharges && $recharges.size() != 0)
106
						
106
						
107
                                <div class="note">Recharge detail and status information.</div>
107
                                <div class="note">Recharge detail and status information.</div>
-
 
108
								#set($showRefundButton = $action.shouldShowRefundButton())
-
 
109
								#if(!$action.getErrorMessage().isEmpty())
-
 
110
								<div style="width: 786px;margin-bottom: 15px;padding: 10px;text-align: center;border: solid 1px red;color: red;font-size: 16px;margin-left: 5px;">Refund failed. Please try again or <a href='/contact-us'>contact us</a></div>
-
 
111
								#end
108
                                <table cellpadding="0" cellspacing="0" border="0" width="100%" id="rechargeData" class="tablesorter">
112
                                <table cellpadding="0" cellspacing="0" border="0" width="100%" id="rechargeData" class="tablesorter">
109
                                <thead>
113
                                <thead>
110
                                    <tr>
114
                                    <tr>
-
 
115
										#if($showRefundButton)
111
                                        <th width="19%">Date</th>
116
                                            <th width="15%">Date</th>
-
 
117
    										<th width="17%">Order Id</th>
-
 
118
                                            <th width="13%">Number</th>
-
 
119
                                            <th width="16%">Operator</th>
-
 
120
    										<th width="9%">Value</th>
-
 
121
                                            <th width="20%">Status</th>
-
 
122
    										<th width="10%" class="borderRight"></th>
-
 
123
										#else
-
 
124
    										<th width="19%">Date</th>
112
										<th width="18%">Order Id</th>
125
    										<th width="18%">Order Id</th>
113
                                        <th width="15%">Number</th>
126
                                            <th width="15%">Number</th>
114
                                        <th width="17%">Operator</th>
127
                                            <th width="17%">Operator</th>
115
										<th width="11%">Value</th>
128
    										<th width="11%">Value</th>
116
                                        <th width="20%" class="borderRight">Status</th>
129
                                            <th width="20%" class="borderRight">Status</th>
-
 
130
										#end
117
                                    </tr>
131
                                    </tr>
118
                                </thead>
132
                                </thead>
119
                                <tbody>
133
                                <tbody>
120
									    #foreach($recharge in $recharges)
134
									    #foreach($recharge in $recharges)
-
 
135
											#if($recharge.getStatus().getValue() > 1)
121
                                    <tr>
136
                                                <tr>
122
                                        <td>$action.formatDate($recharge.getCreationTimestamp())</td>
137
                                                    <td>$action.formatDate($recharge.getCreationTimestamp())</td>
123
										<td>$recharge.getDisplayId()</td>
138
            										<td>$recharge.getDisplayId()</td>
124
                                        <td>$recharge.getDeviceNumber()</td>
139
                                                    <td>$recharge.getDeviceNumber()</td>
125
                                        <td>$action.getProviderName($recharge.getId())</td>
140
                                                    <td>$action.getProviderName($recharge.getId())</td>
126
                                        <td>$recharge.getTotalAmount()</td>
141
                                                    <td>$recharge.getTotalAmount()</td>
127
										<td>$recharge.getStatus()</td>
142
            										<td>$action.getDisplayStatus($recharge.getStatus())</td>
-
 
143
													#if($showRefundButton)
128
                                    </tr>
144
            											<td>
-
 
145
															#if($action.isRefundPossible($recharge))
-
 
146
																
-
 
147
																<form id='refundRechargeForm' action='/my-recharges' method='post'>
-
 
148
																	<input type="hidden" name='orderId' value='$recharge.getId()'></input>
-
 
149
																	<div id='refundButtonDiv'>
-
 
150
																		<input type="button" id="refund-recharge" class='yellow-image' style='height:25px;' value="REFUND"></input>
-
 
151
																	</div>
-
 
152
																</a>
-
 
153
															#end
-
 
154
														</td>
-
 
155
            										#end
129
                                  #end
156
                                                </tr>
-
 
157
											#end
-
 
158
										#end
130
                                </tbody>
159
                                </tbody>
131
                            </table>
160
                            </table>
132
                                  #else
161
                                  #else
133
                                        <div class="note">No recharge yet.</div>
162
                                        <div class="note">No recharge yet.</div>
134
								#end
163
								#end
135
								
-
 
136
                            <br /><br /><br />
164
                            <br /><br /><br />
137
					
165
					
138
                    </div>
166
                    </div>
139
				<!-- /content -->
167
				<!-- /content -->
140
                    <div class="clearBoth"></div>
168
                    <div class="clearBoth"></div>
Line 142... Line 170...
142
            </div>
170
            </div>
143
        </div>
171
        </div>
144
				</div>
172
				</div>
145
				<!-- /my account -->	
173
				<!-- /my account -->	
146
		</div>	
174
		</div>	
147
		<!-- Widgets -->
-
 
148
		<div class="widgets right">
-
 
149
			$action.getCartWidgetSnippet()
-
 
150
			<div id="myresearch" class="common-widget">
-
 
151
                #include("templates/myresearch.vm")
-
 
152
			</div>
-
 
153
			<div id="browsehistory" class="common-widget">
-
 
154
                #include("templates/browsehistory.vm")
-
 
155
			</div>
-
 
156
		</div>
-
 
157
		<!-- /Widgets -->
-
 
158
 
-
 
159
		</div>
175
		</div>
160
</div>
176
</div>
161
<!-- /Main -->
177
<!-- /Main -->
162
 
178
 
163
#include("templates/footer.vm")
179
#include("templates/footer.vm")