| 7996 |
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 |
|
|
|
4 |
<head>
|
|
|
5 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
6 |
<link rel="stylesheet" href="css/rechargewebapp_18042013.css" type="text/css" />
|
|
|
7 |
<style>
|
|
|
8 |
.outerList {
|
|
|
9 |
padding:5px 0;
|
|
|
10 |
color:#666666;
|
|
|
11 |
}
|
|
|
12 |
|
|
|
13 |
.inlineList {
|
|
|
14 |
display: inline;
|
|
|
15 |
margin-left: 10px;
|
|
|
16 |
color:#2789C1;
|
|
|
17 |
font-style:italic;
|
|
|
18 |
}
|
|
|
19 |
|
|
|
20 |
form {
|
|
|
21 |
margin:25px;
|
|
|
22 |
padding:50px 0px;
|
|
|
23 |
}
|
|
|
24 |
#dateInput {
|
|
|
25 |
height: 23px;
|
|
|
26 |
border: 1px solid #999999;
|
|
|
27 |
padding: 2px 5px 2px 10px;
|
|
|
28 |
font-size: 15px;
|
|
|
29 |
color: #777777;
|
|
|
30 |
box-shadow: 1px -1px 10px -1px #999999 inset;
|
|
|
31 |
width:150px
|
|
|
32 |
}
|
|
|
33 |
.submitButton {
|
|
|
34 |
height: 25px;
|
|
|
35 |
width: 50px;
|
|
|
36 |
font-weight: bold;
|
|
|
37 |
font-size: 15px;
|
|
|
38 |
background-color: #2789c1;
|
|
|
39 |
border: 1px solid blue;
|
|
|
40 |
border-radius: 2px;
|
|
|
41 |
color: white;
|
|
|
42 |
}
|
|
|
43 |
.successMessage {
|
|
|
44 |
width:600px;
|
|
|
45 |
font-size: 16px;
|
|
|
46 |
font-weight:bold;
|
|
|
47 |
color: #2789C1;
|
|
|
48 |
text-align: center;
|
|
|
49 |
border: 1px solid #2789C1;
|
|
|
50 |
margin: 5px;
|
|
|
51 |
padding: 5px;
|
|
|
52 |
}
|
|
|
53 |
.errorMessage {
|
|
|
54 |
width:600px;
|
|
|
55 |
font-size: 16px;
|
|
|
56 |
font-weight:bold;
|
|
|
57 |
color: red;
|
|
|
58 |
text-align: center;
|
|
|
59 |
border: 1px solid red;
|
|
|
60 |
margin: 5px;
|
|
|
61 |
padding: 5px;
|
|
|
62 |
}
|
|
|
63 |
.boldBlue {
|
|
|
64 |
font-weight:bold;
|
|
|
65 |
color:#2789C1;
|
|
|
66 |
}
|
|
|
67 |
|
|
|
68 |
</style>
|
|
|
69 |
</head>
|
|
|
70 |
|
|
|
71 |
#set($circles = $action.getCircles())
|
|
|
72 |
|
|
|
73 |
<body style="margin: 0;">
|
|
|
74 |
<div style="line-height:37px;height:37px;background-color:#333;color:white;border-bottom: 5px solid white;">
|
|
|
75 |
<span style="margin-left:20px;font-weight:bold;font-size:15px">SAHOLIC RECHARGE ADMIN CONSOLE </span>
|
|
|
76 |
<span style="margin-left:120px;"><a style="color:white;" href="/rch/admin">Home</a></span>
|
|
|
77 |
<span style="margin-left:50px;"><a style="color:white;" href="/rch/admin!doLogout">Logout</a></span>
|
|
|
78 |
</div>
|
|
|
79 |
|
|
|
80 |
<div id="main" style="width:850px;margin: 5px 0 0 50px;">
|
|
|
81 |
#if($action.getMessage() && $action.getMessage().getText() != "")
|
|
|
82 |
#if($action.getMessage().getType() == "SUCCESS")
|
|
|
83 |
#set($cssclass="successMessage")
|
|
|
84 |
#elseif($action.getMessage().getType() == "ERROR")
|
|
|
85 |
#set($cssclass="errorMessage")
|
|
|
86 |
#end
|
|
|
87 |
<div class=$cssclass>
|
|
|
88 |
$action.getMessage().getText()
|
|
|
89 |
</div>
|
|
|
90 |
#end
|
|
|
91 |
<h3>File Upload</h3>
|
|
|
92 |
<form action="/rch/bulk-recharge" enctype="multipart/form-data" method="post">
|
|
|
93 |
<span>
|
|
|
94 |
Upload an excel sheet for recharge
|
|
|
95 |
</span>
|
|
|
96 |
<input style='font-size:15px;color:red' id="rechargeFile" name="rechargefile" type="file"> <br><br>
|
|
|
97 |
<span class='boldBlue'>Store : </span><select style='width:150px;font-size:15px;' name='storeId'>
|
|
|
98 |
#foreach($store in $action.getStores())
|
|
|
99 |
<option value='$store.getId()'>$store.getHotspotId()</option>
|
|
|
100 |
#end
|
|
|
101 |
</select>
|
|
|
102 |
<input type="submit" class='submitButton' value="GO"></input>
|
|
|
103 |
</form>
|
|
|
104 |
|
|
|
105 |
<hr></hr>
|
|
|
106 |
<h3 style='color:red'>Note</h3>
|
|
|
107 |
<div>
|
|
|
108 |
<ul>
|
|
|
109 |
<li class='outerList'>Please login to the recharge dashboard and go to reports section to download the results</li>
|
|
|
110 |
<li class='outerList'>Please upload the sheet in 2003 excel format with following fields in given order :
|
|
|
111 |
<ul style="list-style-type: none;margin:0;padding:0;">
|
|
|
112 |
<li class='inlineList'>Code</li>
|
|
|
113 |
<li class='inlineList'>Name</li>
|
|
|
114 |
<li class='inlineList'>Number</li>
|
|
|
115 |
<li class='inlineList'>Depot</li>
|
|
|
116 |
<li class='inlineList'>Amount</li>
|
|
|
117 |
<li class='inlineList'>Operator</li>
|
|
|
118 |
<li class='inlineList'>Circle</li>
|
|
|
119 |
</ul>
|
|
|
120 |
</li>
|
|
|
121 |
<li class='outerList'>Please make sure that all fields are correct</li>
|
|
|
122 |
<li class='outerList'>There should be no formulas in the sheet, only numeric and text values.</li>
|
|
|
123 |
</ul>
|
|
|
124 |
</div>
|
|
|
125 |
</div>
|
|
|
126 |
</body>
|
|
|
127 |
</html>
|