Subversion Repositories SmartDukaan

Rev

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

Rev 28607 Rev 28795
Line 11... Line 11...
11
 
11
 
12
	getItemAheadOptions($("#scheme-item-search-text"), false, function(
12
	getItemAheadOptions($("#scheme-item-search-text"), false, function(
13
			selectedItem) {
13
			selectedItem) {
14
		currentItem = selectedItem;
14
		currentItem = selectedItem;
15
	});
15
	});
-
 
16
	
-
 
17
		getImeiAheadOptions($("#scheme-imei-search-text"), $fofoId, function(
-
 
18
			inventoryItem) {
-
 
19
		imei = inventoryItem;
-
 
20
		console.log(imei)
-
 
21
	});
-
 
22
 
16
 
23
 
17
	$(document).ready(function() {
24
	$(document).ready(function() {
18
		console.log('$partnerType')
25
		console.log('$partnerType')
19
		$('#partner-category').val('$partnerType');
26
		$('#partner-category').val('$partnerType');
20
		$('body').bind('cut copy paste', function(e) {
27
		$('body').bind('cut copy paste', function(e) {
Line 58... Line 65...
58
					<span> DP - <span class="currency">0</span>,&nbsp;&nbsp; <span>
65
					<span> DP - <span class="currency">0</span>,&nbsp;&nbsp; <span>
59
							MOP - <span class="currency">0</span>
66
							MOP - <span class="currency">0</span>
60
				</div>
67
				</div>
61
				#end
68
				#end
62
			</div>
69
			</div>
63
			<div class="col-lg-2"></div>
70
			
64
			<div class="form-inline col-lg-4">
71
			<div class="form-inline col-lg-8">
65
				<div class="form-group">
72
				<div class="form-group">
-
 
73
			   
66
					<div class="input-group">
74
					<div class="input-group">
67
						<input type="date" class="form-control schemes-date"
75
						<input type="date" class="form-control schemes-date"
68
							value="${date}" />
76
							value="${date}" />
69
					</div>
77
					</div>
-
 
78
					 
70
					<div class="input-group top_search">
79
					<div class="input-group top_search">
-
 
80
					  
71
						<input type="text" class="form-control"
81
						<input type="text" class="form-control"
72
							id="scheme-item-search-text" autocomplete="off"
82
							id="scheme-item-search-text" autocomplete="off"
73
							placeholder="Search for Item" /> <span class="input-group-btn">
83
							placeholder="Search for Item" /> <span class="input-group-btn">
74
							<button class="btn btn-primary submit"
84
							<button class="btn btn-primary submit"
75
								id="scheme-item-search-button" type="button">Go!</button>
85
								id="scheme-item-search-button" type="button">Go!</button>
76
						</span>
86
						</span>
77
					</div>
87
					</div>
-
 
88
					  
-
 
89
					  
-
 
90
					  <label> Check Margins</label>
-
 
91
					
-
 
92
				    <div class="input-group top_search">
-
 
93
				  	<input type="text" class="form-control"
-
 
94
							id="scheme-imei-search-text" autocomplete="off"
-
 
95
							placeholder="Search for Imei" /> <span class="input-group-btn">
-
 
96
							<button class="btn btn-primary submit"
-
 
97
								id="scheme-imei-search-button" type="button">Go!</button>
-
 
98
						</span>
-
 
99
					</div>
78
				</div>
100
				</div>
79
			</div>
101
			</div>
80
		</div>
102
		</div>
81
		<div id="schemes-table">
103
		<div id="schemes-table">
82
			<div class="row">
104
			<div class="row">
Line 141... Line 163...
141
				Payout</b> - Investments in stocks should be above 90% for minimum 12
163
				Payout</b> - Investments in stocks should be above 90% for minimum 12
142
			days in a month to earn 2%, between 8-11 days will earn 1%, less then
164
			days in a month to earn 2%, between 8-11 days will earn 1%, less then
143
			8 days there will be no payout.
165
			8 days there will be no payout.
144
		</div>
166
		</div>
145
		#end
167
		#end
-
 
168
		
-
 
169
		
-
 
170
			<div class="row">
-
 
171
			<div class="col-lg-12">
-
 
172
				<h3 style = "text-align:center; color:#4169e1;">IMEI Wise Margin Status</h3>
-
 
173
				<table class="table table-border table-condensed table-bordered">
-
 
174
					<tr>
-
 
175
							<th>ID</th>
-
 
176
								<th>Name</th>
-
 
177
								<th>Description</th>
-
 
178
								<th>Type</th>
-
 
179
								<th>Amount</th>
-
 
180
								<th>Paid Amount</th>
-
 
181
								<th>Status</th>
-
 
182
								<th>Credit Timestamp</th>
-
 
183
							
-
 
184
								<th>Description</th>
-
 
185
								
-
 
186
					</tr>
-
 
187
					
-
 
188
						#if($schemeInOut && !$schemeInOut.isEmpty()) #foreach( $sio in
-
 
189
							$schemeInOut )
-
 
190
							<tr data="$schemeMap.get($sio.getSchemeId()).getId()">
-
 
191
								<td>$schemeMap.get($sio.getSchemeId()).getId()</td>
-
 
192
								<td>$schemeMap.get($sio.getSchemeId()).getName()</td>
-
 
193
								<td>$schemeMap.get($sio.getSchemeId()).getDescription()</td>
-
 
194
								<td>$schemeMap.get($sio.getSchemeId()).getType()</td>
-
 
195
								<td>$schemeMap.get($sio.getSchemeId()).getAmountModel()</td>
-
 
196
								<td>$sio.getAmount()</td>
-
 
197
								<td>$sio.getStatus()</td>
-
 
198
								#if($sio.getCreditTimestamp().format($dateTimeFormatter))
-
 
199
								<td>$sio.getCreditTimestamp().format($dateTimeFormatter)</td>
-
 
200
								#else
-
 
201
								<td>-</td>
-
 
202
								#end
-
 
203
							
-
 
204
								#if($sio.getStatusDescription())
-
 
205
								<td>$sio.getStatusDescription()</td>
-
 
206
								#else
-
 
207
								<td>-</td>
-
 
208
								#end
-
 
209
							</tr>
-
 
210
							#end #else $noData #end
-
 
211
					
-
 
212
					
-
 
213
				</table>
-
 
214
			</div>
-
 
215
		</div>
-
 
216
		
-
 
217
		
-
 
218
			<div class="row">
-
 
219
			<div class="col-lg-6">
-
 
220
				<h3>Price Drop</h3>
-
 
221
				<table class="table table-border table-condensed table-bordered"
-
 
222
					id="offr-des">
-
 
223
					<tr>
-
 
224
						<th>Status</th>
-
 
225
						<th>Amount</th>
-
 
226
						
-
 
227
					
-
 
228
					</tr>
-
 
229
					#if(!$priceDropImeis.isEmpty()) #foreach( $pdi in $priceDropImeis )
-
 
230
					<tr class="priceDrop-details" >
-
 
231
				              <td>$pdi.getStatus()</td>
-
 
232
				              <td>$pdi.getPriceDrop().getAmount()</td>
-
 
233
				              
-
 
234
					</tr>
-
 
235
					#end 
-
 
236
					 #else $noData #end
-
 
237
				</table>
-
 
238
			</div>
-
 
239
		</div>
-
 
240
		
146
		<div class="row">
241
		<div class="row">
147
			<div class="col-lg-12">
242
			<div class="col-lg-12">
148
				<h3>Other Schemes</h3>
243
				<h3>Other Schemes</h3>
149
				<table class="table table-border table-condensed table-bordered"
244
				<table class="table table-border table-condensed table-bordered"
150
					id="offr-des">
245
					id="offr-des">
Line 174... Line 269...
174
					</tr>
269
					</tr>
175
					#end #end #end #else $noData #end
270
					#end #end #end #else $noData #end
176
				</table>
271
				</table>
177
			</div>
272
			</div>
178
		</div>
273
		</div>
-
 
274
		
-
 
275
	
179
	</section>
276
	</section>
180
</body>
277
</body>