| Line 103... |
Line 103... |
| 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())
|
108 |
#set($showExtraColumn = $action.shouldShowExtraColumn())
|
| 109 |
#if(!$action.getErrorMessage().isEmpty())
|
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>
|
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
|
111 |
#end
|
| 112 |
<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">
|
| 113 |
<thead>
|
113 |
<thead>
|
| 114 |
<tr>
|
114 |
<tr>
|
| 115 |
#if($showRefundButton)
|
115 |
#if($showExtraColumn)
|
| 116 |
<th width="15%">Date</th>
|
116 |
<th width="15%">Date</th>
|
| 117 |
<th width="17%">Order Id</th>
|
117 |
<th width="17%">Order Id</th>
|
| 118 |
<th width="13%">Number</th>
|
118 |
<th width="13%">Number</th>
|
| 119 |
<th width="16%">Operator</th>
|
119 |
<th width="16%">Operator</th>
|
| 120 |
<th width="9%">Value</th>
|
120 |
<th width="9%">Value</th>
|
| Line 138... |
Line 138... |
| 138 |
<td>$recharge.getDisplayId()</td>
|
138 |
<td>$recharge.getDisplayId()</td>
|
| 139 |
<td>$recharge.getDeviceNumber()</td>
|
139 |
<td>$recharge.getDeviceNumber()</td>
|
| 140 |
<td>$action.getProviderName($recharge.getId())</td>
|
140 |
<td>$action.getProviderName($recharge.getId())</td>
|
| 141 |
<td>$recharge.getTotalAmount()</td>
|
141 |
<td>$recharge.getTotalAmount()</td>
|
| 142 |
<td>$action.getDisplayStatus($recharge.getStatus())</td>
|
142 |
<td>$action.getDisplayStatus($recharge.getStatus())</td>
|
| 143 |
#if($showRefundButton)
|
143 |
#if($showExtraColumn)
|
| 144 |
<td>
|
144 |
<td>
|
| 145 |
#if($action.isRefundPossible($recharge))
|
145 |
#if($action.isRefundPossible($recharge))
|
| 146 |
|
- |
|
| 147 |
<form id='refundRechargeForm-$recharge.getId()' action='/my-recharges' method='post'>
|
146 |
<form id='refundRechargeForm-$recharge.getId()' action='/my-recharges' method='post'>
|
| 148 |
<input type="hidden" name='orderId' value='$recharge.getId()'></input>
|
147 |
<input type="hidden" name='orderId' value='$recharge.getId()'></input>
|
| 149 |
<div id='refundButtonDiv-$recharge.getId()'>
|
148 |
<div id='refundButtonDiv-$recharge.getId()'>
|
| 150 |
<input type="button" orderId='$recharge.getId()' class='refund-recharge-button yellow-image' id="refund-recharge-$recharge.getId()" style='height:25px;'value="REFUND"></input>
|
149 |
<input type="button" orderId='$recharge.getId()' class='refund-recharge-button yellow-image' id="refund-recharge-$recharge.getId()" style='height:25px;'value="REFUND"></input>
|
| 151 |
</div>
|
150 |
</div>
|
| 152 |
</form>
|
151 |
</form>
|
| - |
|
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>
|
| 153 |
#end
|
159 |
#end
|
| 154 |
</td>
|
160 |
</td>
|
| 155 |
#end
|
161 |
#end
|
| 156 |
</tr>
|
162 |
</tr>
|
| 157 |
#end
|
163 |
#end
|