| 6111 |
anupam.sin |
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
2 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
3 |
<head>
|
|
|
4 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
|
5 |
<!-- Prevent MS Office toolbar from changing layout -->
|
|
|
6 |
<meta http-equiv="imagetoolbar" content="false">
|
|
|
7 |
<meta name="MSSmartTagsPreventParsing" content="true">
|
|
|
8 |
|
|
|
9 |
<title>${in.shop2020.title}</title>
|
|
|
10 |
#include ( "templates/commoncssfiles.vm" )
|
|
|
11 |
<style type="text/css">
|
|
|
12 |
#myAccount .content td{
|
|
|
13 |
padding:7px 6px;
|
|
|
14 |
text-align:center;
|
|
|
15 |
border-right:1px solid #ccc;
|
|
|
16 |
border-bottom:1px solid #ccc;
|
|
|
17 |
}
|
|
|
18 |
#myAccount .content th{
|
|
|
19 |
padding:7px 6px;
|
|
|
20 |
text-align:center;
|
|
|
21 |
background:#daf0f8;
|
|
|
22 |
border-bottom:1px solid #ccc;
|
|
|
23 |
}
|
| 6603 |
anupam.sin |
24 |
|
| 6111 |
anupam.sin |
25 |
</style>
|
|
|
26 |
<script language="javascript" type="text/javascript" src="/js/ga-invoker.js"></script>
|
|
|
27 |
</head>
|
|
|
28 |
|
|
|
29 |
<body>
|
|
|
30 |
<noscript>
|
|
|
31 |
<p id="noScript">Please enable <em>Javascript</em> for this Website to function correctly!</p>
|
|
|
32 |
</noscript>
|
|
|
33 |
|
|
|
34 |
$action.getHeaderSnippet()
|
|
|
35 |
<div id="main">
|
|
|
36 |
<div class="main-content">
|
|
|
37 |
<div class="main-top">
|
|
|
38 |
<div class="bread-crumbs">
|
|
|
39 |
<a href="/">Home</a> >
|
|
|
40 |
<a href="#">My Account</a>
|
|
|
41 |
</div>
|
|
|
42 |
</div>
|
| 6603 |
anupam.sin |
43 |
<div class="main-left left blue-border" style="width:100%">
|
| 6111 |
anupam.sin |
44 |
<!-- my account -->
|
|
|
45 |
<div id="myAccount">
|
|
|
46 |
<div class="middle">
|
|
|
47 |
<div class="middle-grey-left">
|
|
|
48 |
<div class="middle-white-right">
|
|
|
49 |
<!-- nav -->
|
|
|
50 |
<div id="myAccountNav">
|
|
|
51 |
<ul class="menu">
|
|
|
52 |
<li class="menu-item first">
|
|
|
53 |
<h2>Order History</h2>
|
|
|
54 |
</li>
|
|
|
55 |
<li class="menu-item">
|
|
|
56 |
<a href="/myaccount">Open Orders</a>
|
|
|
57 |
</li>
|
|
|
58 |
<li class="menu-item">
|
|
|
59 |
<a href="/completed-orders">Completed Orders</a>
|
|
|
60 |
</li>
|
|
|
61 |
<li class="menu-item">
|
|
|
62 |
<a href="/failed-orders">Failed Orders</a>
|
|
|
63 |
</li>
|
|
|
64 |
<li class="menu-item">
|
|
|
65 |
<h2 class="spacing">Purchases</h2>
|
|
|
66 |
</li>
|
|
|
67 |
<li class="menu-item">
|
|
|
68 |
<a href="/my-purchases">My Purchases</a>
|
|
|
69 |
</li>
|
|
|
70 |
<li class="menu-item">
|
| 6129 |
anupam.sin |
71 |
<a href="/my-recharges" class="active">My Recharges</a>
|
| 6111 |
anupam.sin |
72 |
</li>
|
|
|
73 |
<li class="menu-item">
|
|
|
74 |
<h2 class="spacing">Wallet</h2>
|
|
|
75 |
</li>
|
|
|
76 |
<li class="menu-item">
|
|
|
77 |
<a href="/my-wallet">My Wallet</a>
|
|
|
78 |
</li>
|
|
|
79 |
<li class="menu-item">
|
|
|
80 |
<h2 class="spacing">Account Settings</h2>
|
|
|
81 |
</li>
|
|
|
82 |
<li class="menu-item">
|
| 6129 |
anupam.sin |
83 |
<a href="/personal-details">Personal Details</a>
|
| 6111 |
anupam.sin |
84 |
</li>
|
|
|
85 |
<li class="menu-item">
|
|
|
86 |
<a href="/login-details">Login Details</a>
|
|
|
87 |
</li>
|
|
|
88 |
<li clas="menu-item last">
|
|
|
89 |
<a href="/address">Shipping Address</a>
|
|
|
90 |
</li>
|
|
|
91 |
<!--
|
|
|
92 |
<li><h2 class="spacing">Personalization</h2></li>
|
|
|
93 |
<li><a href="#">Recommendations</a></li>
|
|
|
94 |
<li><a href="#">Browsing History</a></li>
|
|
|
95 |
-->
|
|
|
96 |
</ul>
|
|
|
97 |
</div>
|
|
|
98 |
<!-- /nav -->
|
|
|
99 |
<!-- content -->
|
| 6603 |
anupam.sin |
100 |
<div class="content" style="width:808px">
|
|
|
101 |
<h1 style="padding-top:10px">My Recharges</h1>
|
| 6111 |
anupam.sin |
102 |
|
|
|
103 |
#set($recharges = $action.getRechargeOrders())
|
|
|
104 |
#set($rechargeDate = $action.getRechargeDate())
|
|
|
105 |
#if($recharges && $recharges.size() != 0)
|
|
|
106 |
|
|
|
107 |
<div class="note">Recharge detail and status information.</div>
|
| 6996 |
anupam.sin |
108 |
#set($showExtraColumn = $action.shouldShowExtraColumn())
|
| 6603 |
anupam.sin |
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
|
| 6111 |
anupam.sin |
112 |
<table cellpadding="0" cellspacing="0" border="0" width="100%" id="rechargeData" class="tablesorter">
|
|
|
113 |
<thead>
|
|
|
114 |
<tr>
|
| 6996 |
anupam.sin |
115 |
#if($showExtraColumn)
|
| 6603 |
anupam.sin |
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>
|
|
|
125 |
<th width="18%">Order Id</th>
|
|
|
126 |
<th width="15%">Number</th>
|
|
|
127 |
<th width="17%">Operator</th>
|
|
|
128 |
<th width="11%">Value</th>
|
|
|
129 |
<th width="20%" class="borderRight">Status</th>
|
|
|
130 |
#end
|
| 6111 |
anupam.sin |
131 |
</tr>
|
|
|
132 |
</thead>
|
|
|
133 |
<tbody>
|
|
|
134 |
#foreach($recharge in $recharges)
|
| 6603 |
anupam.sin |
135 |
#if($recharge.getStatus().getValue() > 1)
|
|
|
136 |
<tr>
|
|
|
137 |
<td>$action.formatDate($recharge.getCreationTimestamp())</td>
|
|
|
138 |
<td>$recharge.getDisplayId()</td>
|
|
|
139 |
<td>$recharge.getDeviceNumber()</td>
|
|
|
140 |
<td>$action.getProviderName($recharge.getId())</td>
|
|
|
141 |
<td>$recharge.getTotalAmount()</td>
|
|
|
142 |
<td>$action.getDisplayStatus($recharge.getStatus())</td>
|
| 6996 |
anupam.sin |
143 |
#if($showExtraColumn)
|
| 6603 |
anupam.sin |
144 |
<td>
|
|
|
145 |
#if($action.isRefundPossible($recharge))
|
| 6635 |
anupam.sin |
146 |
<form id='refundRechargeForm-$recharge.getId()' action='/my-recharges' method='post'>
|
| 6603 |
anupam.sin |
147 |
<input type="hidden" name='orderId' value='$recharge.getId()'></input>
|
| 6635 |
anupam.sin |
148 |
<div id='refundButtonDiv-$recharge.getId()'>
|
|
|
149 |
<input type="button" orderId='$recharge.getId()' class='refund-recharge-button yellow-image' id="refund-recharge-$recharge.getId()" style='height:25px;'value="REFUND"></input>
|
| 6603 |
anupam.sin |
150 |
</div>
|
| 6635 |
anupam.sin |
151 |
</form>
|
| 6996 |
anupam.sin |
152 |
#elseif($recharge.getStatus() == "RECHARGE_SUCCESSFUL")
|
|
|
153 |
<form id='rechargeAgainForm-$recharge.getId()' action='/confirm!rechargeAgain' method='post'>
|
|
|
154 |
<input type="hidden" name='rechargeOrderId' value='$recharge.getId()'></input>
|
|
|
155 |
<div id='rechargeButtonDiv-$recharge.getId()'>
|
|
|
156 |
<input type="submit" rechargeOrderId='$recharge.getId()' style="height:25px;background: url('/images/BG_NavBar.png') 0px -2px;color: white;border: 1px solid #069;" class='yellow-image' id="recharge-again-$recharge.getId()" style='height:25px;'value="Recharge Again"></input>
|
|
|
157 |
</div>
|
|
|
158 |
</form>
|
| 6603 |
anupam.sin |
159 |
#end
|
|
|
160 |
</td>
|
|
|
161 |
#end
|
|
|
162 |
</tr>
|
|
|
163 |
#end
|
|
|
164 |
#end
|
| 6111 |
anupam.sin |
165 |
</tbody>
|
|
|
166 |
</table>
|
|
|
167 |
#else
|
|
|
168 |
<div class="note">No recharge yet.</div>
|
|
|
169 |
#end
|
|
|
170 |
<br /><br /><br />
|
|
|
171 |
|
|
|
172 |
</div>
|
|
|
173 |
<!-- /content -->
|
|
|
174 |
<div class="clearBoth"></div>
|
|
|
175 |
</div>
|
|
|
176 |
</div>
|
|
|
177 |
</div>
|
|
|
178 |
</div>
|
|
|
179 |
<!-- /my account -->
|
|
|
180 |
</div>
|
|
|
181 |
</div>
|
|
|
182 |
</div>
|
|
|
183 |
<!-- /Main -->
|
|
|
184 |
|
|
|
185 |
#include("templates/footer.vm")
|
|
|
186 |
|
|
|
187 |
#include ( "templates/commonjsfiles.vm" )
|
|
|
188 |
</body>
|
|
|
189 |
</html>
|