Subversion Repositories SmartDukaan

Rev

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

Rev 22060 Rev 23809
Line 12... Line 12...
12
    border: 1px solid black;
12
    border: 1px solid black;
13
}
13
}
14
</style>
14
</style>
15
</head>
15
</head>
16
<body>
16
<body>
-
 
17
#set($wallet = $action.getUserWallet())
-
 
18
#set($user = $action.getUser())
17
<a href="/Support/reports">Back</a>
19
<a href="/Support/reports">Back</a>
18
<a href="/Support/logout">Logout</a>
20
<a href="/Support/logout">Logout</a>
19
<h2>Credit User Wallet</h2>
21
<h2>Credit User Wallet - $user.getName()</h2>
20
<div style="color:blue;">
22
<div style="color:blue;">
21
	#sactionmessage()
23
	#sactionmessage()
22
</div>
24
</div>
23
<div style="color:red;">
25
<div style="color:red;">
24
	#sactionerror()
26
	#sactionerror()
25
</div>
27
</div>
26
#set($wallet = $action.getUserWallet())
-
 
27
#set($user = $action.getUser())
-
 
28
<form action="/Support/user-wallet-credit!getWallet" method="POST">
28
<form action="/Support/user-wallet-credit!getWallet" method="POST">
29
	<label for="email">Email:</label>
29
	<label for="email">Email:</label>
30
    <input name="email" />
30
    <input name="email" />
31
	<button type="submit" style="margin:5px;">Submit</button>
31
	<button type="submit" style="margin:5px;">Submit</button>
32
</form>
32
</form>
Line 37... Line 37...
37
		$wallet.getAmount()
37
		$wallet.getAmount()
38
    </div>
38
    </div>
39
	<form id="wallet-topup">
39
	<form id="wallet-topup">
40
	<label for="amount">Amount:</label>
40
	<label for="amount">Amount:</label>
41
    <input id="amount" name="amount" />
41
    <input id="amount" name="amount" />
42
	<label for="email">Email:</label>
-
 
43
	<input id="email" name="email" value="$user.getEmail()" readonly/>
42
	<input id="email" name="email" type="hidden" value="$user.getEmail()"/>
44
	<label for="email">CashBack:</label>
43
	<label for="cashback">CashBack:</label>
45
	<select name="cashback">
44
	<select name="cashback">
46
		<option value="0">0%</option>
45
		<option value="0">0%</option>
47
		<option value="1">1%</option>
46
		<option value="1">1%</option>
48
	</select>
47
	</select>
-
 
48
	<label for="transactionType">Transaction Type</label>
-
 
49
	<select name="transactionType">
-
 
50
		<option value="ADVANCE">Advance</option>
-
 
51
		<option value="ADVANCE_REVERSAL">Advance Reversal</option>
-
 
52
	</select>
49
	<label for="description">Short Description:</label>
53
	<label for="description">Short Description:</label>
50
	<input id="shortDescription" name="description" />
54
	<input id="shortDescription" name="description" />
51
	<button type="submit" style="margin:5px;">Submit</button>
55
	<button type="submit" style="margin:5px;">Submit</button>
52
	</form>
56
	</form>
53
	<hr>
57
	<hr>