Subversion Repositories SmartDukaan

Rev

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

Rev 7172 Rev 7176
Line -... Line 1...
-
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1
#set($txns=$action.getTxns())
2
<html xmlns="http://www.w3.org/1999/xhtml">
2
 
-
 
3
<html >
-
 
4
<head>
3
<head>
5
	<title>Recharge For Store</title>
4
	<title>Recharge For Store</title>
6
	<link rel="stylesheet" href="css/rechargewebapp.css" type="text/css" />
5
	<link rel="stylesheet" href="css/rechargewebapp.css" type="text/css" />
7
	<script language="javascript" type="text/javascript" src="js/jquery-1.4.2.js"></script>
6
	<script language="javascript" type="text/javascript" src="js/jquery-1.4.2.js"></script>
8
    <script language="javascript" type="text/javascript" src="js/rechargewebapp.js"></script>
7
    <script language="javascript" type="text/javascript" src="js/rechargewebapp.js"></script>
Line 26... Line 25...
26
			text-align:center;
25
			text-align:center;
27
			padding:5px;
26
			padding:5px;
28
        }
27
        }
29
	</style>
28
	</style>
30
</head>
29
</head>
-
 
30
<body style="margin: 0;">
-
 
31
	#set($txns=$action.getTxns())
-
 
32
	<div style="line-height:37px;height:37px;background-color:#333;color:white;">
-
 
33
    	<span style="margin-left:20px;font-weight:bold;font-size:15px">Store : </span><span style="font-size:20px">ANC</span>
-
 
34
    	<span style="margin-left:20px;font-weight:bold;font-size:15px">Today's Collection : </span><span style="font-size:20px">3272</span>
-
 
35
    	<a style="margin:0px 25px 0px 25px;color:white" href="/rch/home">HOME</a>
-
 
36
    	<a style="color:white;" href="/rch/!doLogout">Logout</a>	
31
<body>
37
    </div>
32
	
38
 
-
 
39
    <div style="line-height:60px;height:60px;background-color:#DBEEFF;color: #333333;margin: 0px;padding-left: 35px;border-bottom:1px solid #67ABD3">
33
	<h3>Search Orders
40
	<img style="float:left;" src="/rch/images/Hotspot-Logo.jpg"></img>
-
 
41
	<span style="font-size: 35px;font-family:'Times New Roman', Times, serif;float:left">Recharge Dashboard</span>
34
		<a style="float:right;" href='/rch/home'>Home</a>
42
	<img style="float:right;margin-right:20px;" src="/rch/images/Saholic-Logo.jpg"></img>
35
	</h3>
43
</div>
-
 
44
	<h3>Search Orders</h3>
36
	#if($action.getSearchError() != "")
45
	#if($action.getSearchError() != "")
37
    	<div class="padding-row" style="font-size: 16px;color: red;text-align: center;border: 1px solid red;margin: 5px;padding: 5px;">
46
    	<div class="padding-row" style="font-size: 16px;color: red;text-align: center;border: 1px solid red;margin: 5px;padding: 5px;">
38
    		$action.getSearchError()
47
    		$action.getSearchError()
39
    	</div>
48
    	</div>
40
	#end
49
	#end
Line 45... Line 54...
45
	#elseif($action.getPasswordGeneration() == "FAIL")
54
	#elseif($action.getPasswordGeneration() == "FAIL")
46
		<div class="padding-row" style="font-size: 16px;color: red;text-align: center;border: 1px solid red;margin: 5px;padding: 5px;">
55
		<div class="padding-row" style="font-size: 16px;color: red;text-align: center;border: 1px solid red;margin: 5px;padding: 5px;">
47
    		Password generation failed. Please try again.
56
    		Password generation failed. Please try again.
48
    	</div>
57
    	</div>
49
	#end
58
	#end
50
	<form style="padding:20px;border-bottom:2px solid #2789C1;" id="search" action="report!search" method="POST">
59
	<form style="padding:20px;border-bottom:1px solid #2789C1;" id="search" action="report!search" method="POST">
51
		<div class="row">
60
		<div class="row">
52
        	<div class="text">Please enter the device number : </div>
61
        	<div class="text">Please enter the device number : </div>
53
        	<div class="input-div">
62
        	<div class="input-div">
54
    			<input class="inputbox padding15" type="text" name="number" value="$action.getNumber()">
63
    			<input class="inputbox padding15" type="text" name="number" value="$action.getNumber()">
55
 
64
 
56
    		</div><div class="input-div">
65
    		</div><div class="input-div">
57
			<input style="" type="submit" value="Search">
66
			<input style="" type="submit" value="Search">
58
		</div>
67
		</div>
59
        </div>
68
        </div>
60
		#if(!$action.getSearchResult().isEmpty())
69
		#if(!$action.getSearchResult().isEmpty())
61
    		<div style="border-top: 1px solid #BBB;padding: 5px 0px 5px 25px;margin: 5px 0 5px 0;color: #999;">$action.getSearchResult().size() search results</div>
70
    		<div style="border-top: 1px solid #BBBBBB;padding: 5px 0px 5px 25px;margin: 5px 0 5px 0;color: #999999;">$action.getSearchResult().size() search results</div>
62
    		<table width="100%">
71
    		<table width="100%">
63
                <thead>
72
                <thead>
64
                  <tr>
73
                  <tr>
65
                    <th>Order ID</th>
74
                    <th>Order ID</th>
66
        			<th>Order Date</th>
75
        			<th>Order Date</th>
Line 92... Line 101...
92
		#end
101
		#end
93
 
102
 
94
	</form>
103
	</form>
95
	<br/>
104
	<br/>
96
	
105
	
97
	<div style="padding-bottom:20px;border-bottom:2px solid #2789C1;">
106
	<div style="padding-bottom:20px;border-bottom:1px solid #2789C1;">
98
	<h3>Orders for Today
107
	<h3>Orders for Today
99
	</h3>
108
	</h3>
100
	
109
	
101
	#if($txns.size() == 0)
110
	#if($txns.size() == 0)
102
		<div class="padding-row" style="font-size: 20px; font-weight:bold;color: #AAA;text-align: center;margin: 5px;padding: 5px;">
111
		<div class="padding-row" style="font-size: 20px; font-weight:bold;color: #AAAAAA;text-align: center;margin: 5px;padding: 5px;">
103
    		NO ORDERS FOR TODAY
112
    		NO ORDERS FOR TODAY
104
    	</div>
113
    	</div>
105
	#else
114
	#else
106
		<table width="100%">
115
		<table width="100%">
107
        <thead>
116
        <thead>
Line 129... Line 138...
129
		#end
138
		#end
130
        </tbody>
139
        </tbody>
131
	</table>
140
	</table>
132
	#end
141
	#end
133
    </div>
142
    </div>
134
	
143
 
-
 
144
	<h3 id='collectionReport'>Collection report for today</h3>
135
	<form style='padding:20px;border-bottom:2px solid #2789C1;' id="downloadcollection" action="report!getCollection" method="POST">
145
	<form style='padding:20px;border-bottom:1px solid #2789C1;' id="downloadcollection" action="report!getCollection" method="POST">
136
		<h3>Collection report for today</h3>
-
 
137
		<div>
146
		<div>
138
			<input style="height: 30px;background-color: orange;cursor: pointer;width: 190px;font-size: 19px;" type="submit" value="Collection Report"/>
147
			<input style="height: 30px;background-color: orange;cursor: pointer;width: 190px;font-size: 19px;" type="submit" value="Collection Report"/>
139
		</div>
148
		</div>
140
	</form>
149
	</form>
141
	<br/>
150
	<br/>
-
 
151
	
-
 
152
	<h3 id='statusReport'>Download Report by Status</h3>
142
	<form style='padding:20px;border-bottom:2px solid #2789C1;' id="downloadrep" action="report" method="POST">
153
	<form style='padding:20px;border-bottom:1px solid #2789C1;' id="downloadrep" action="report" method="POST">
143
		<h3>Download Report by Status</h3>
-
 
144
		<div>
154
		<div>
145
		Status:<select name="status">
155
		Status:<select name="status">
146
			<option value="-1">ALL</option>
156
			<option value="-1">ALL</option>
147
			<option value="9">INIT</option>
157
			<option value="9">INIT</option>
148
			<option value="5">SUCCESS</option>
158
			<option value="5">SUCCESS</option>
Line 161... Line 171...
161
		<div>
171
		<div>
162
			<input style="height: 30px;background-color: orange;cursor: pointer;width: 140px;font-size: 21px;" type="submit" value="Download"/>
172
			<input style="height: 30px;background-color: orange;cursor: pointer;width: 140px;font-size: 21px;" type="submit" value="Download"/>
163
		</div>
173
		</div>
164
	</form>
174
	</form>
165
	<br/>
175
	<br/>
-
 
176
	
-
 
177
	<h3 id='requestPassword'>Request new password</h3>
166
	<div style='padding:20px;border-bottom:2px solid #2789C1;'>
178
	<div style='padding:20px;border-bottom:1px solid #2789C1;'>
167
		<h3>Request new password</h3>
-
 
168
		<div style='padding:20px;'>
179
		<div style='padding:20px;'>
169
			<a href="report!sendPassword">Click here</a> to request a new password.
180
			<a href="report!sendPassword">Click here</a> to request a new password.
170
		</div>
181
		</div>
171
	</div>
182
	</div>
172
	<br/>
183
	<br/>