Subversion Repositories SmartDukaan

Rev

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

Rev 21363 Rev 22044
Line 41... Line 41...
41
	<label for="email">CashBack:</label>
41
	<label for="email">CashBack:</label>
42
	<select name="cashback">
42
	<select name="cashback">
43
		<option value="0">0%</option>
43
		<option value="0">0%</option>
44
		<option value="1">1%</option>
44
		<option value="1">1%</option>
45
	</select>
45
	</select>
-
 
46
	<label for="description">Short Description:</label>
-
 
47
	<input id="shortDescription" name="description" value="$user.getEmail()" readonly/>
46
	<button type="submit" style="margin:5px;">Submit</button>
48
	<button type="submit" style="margin:5px;">Submit</button>
47
	</form>
49
	</form>
-
 
50
	<hr>
-
 
51
	<h4>Last 20 Transactions</h4>
-
 
52
	<table>
-
 
53
		<tr>
-
 
54
			<th>Id</th>
-
 
55
			<th>Amount</th>
-
 
56
			<th>Refundable</th>
-
 
57
			<th>Reference Number</th>
-
 
58
			<th>Reference Type</th>
-
 
59
			<th>Created</th>
-
 
60
			<th>Short Description</th>
-
 
61
		</tr>
-
 
62
		#foreach($walletTr in $action.getUserWalletHistory())
-
 
63
		<tr>
-
 
64
			<td>$walletTr.getId()</td>
-
 
65
			<td>$walletTr.getAmount()</td>
-
 
66
			<td>$walletTr.getRefundableAmount()</td>
-
 
67
			<td>$walletTr.getReferenceNumber()</td>
-
 
68
			<td>$walletTr.getReferenceType()</td>
-
 
69
			<td>$walletTr.created()</td>
-
 
70
			<td>$walletTr.description()</td>
-
 
71
		</tr>
-
 
72
		#end
-
 
73
	</table>
-
 
74
	
48
#end
75
#end
49
</body>
76
</body>
50
<script type="text/javascript">
77
<script type="text/javascript">
51
$("#wallet-topup").live('submit', function(){
78
$("#wallet-topup").live('submit', function(){
52
	var amt = $('#amount').val();
79
	var amt = $('#amount').val();