Subversion Repositories SmartDukaan

Rev

Rev 24680 | Rev 32457 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
24680 govind 1
<script>
2
$(document).ready(function() {
3
  $('#inactiveStore').DataTable(
4
  {
5
    "bPaginate": true,
6
    "bLengthChange": true,
7
    "bFilter": true,
8
    "bInfo": false,
9
    "bAutoWidth": false }
10
  );
11
 
12
} );
13
</script>
14
<section class="wrapper">            
15
	<div class="row">
16
		<div class="col-lg-12">
17
			<h3 class="page-header"><i class="icon_document_alt"></i>Retailer</h3>
18
			<ol class="breadcrumb">
19
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
20
				<li><i class="icon_document_alt"></i>INACTIVE-STORE</li>						  	
21
			</ol>
22
		</div>
23
	</div>
24
  	<div id="inactive-store-table">
25
		<div class="row">
26
	    	<div class="col-lg-12">
27
 
28
	    		<table class="table table-bordered" id="inactiveStore">	
29
	    		<thead>
30
	    					<th>PartnerId</th>
31
	    					<th>Store Name</th>
32
	    					<th>Email</th>
33
	    					<th>Store Code</th>
28711 amit.gupta 34
	    					<th>Days For Activation</th>
35
 
36
	    					<th>Action</th>
24680 govind 37
	    				</tr>
38
	    				</thead>
39
	    				<tbody>
40
	    				#if(!$fofoStores.isEmpty())
41
			    			#foreach( $inactivefofoStore in $inActiveFofoStores)
42
			    				<tr>
43
			    					<td>$inactivefofoStore.getId()</td>
44
			    					<td>$customRetailers.get($inactivefofoStore.getId()).getBusinessName()</td>
45
			    					<td>$customRetailers.get($inactivefofoStore.getId()).getEmail()</td>
46
			    					<td>$inactivefofoStore.getCode()</td>
28711 amit.gupta 47
			    					<td><input type="text" name="temporaryActivationStore" id="temporary-activation" value="" style=" width: 137px;">
48
			    					<button class="btn btn-primary activate-store-temporary"  data-fofoid="$inactivefofoStore.getId()">Temp Activate</button></td>
49
			    					<td><button class="btn btn-primary activate-store-forever"  data-fofoid="$inactivefofoStore.getId()">Activate</button></td>
50
 
24680 govind 51
			    				</tr>
52
			    			#end
53
		    			#else
54
		    				<tr>
55
		    					<td colspan="6" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
56
		    				</tr>
57
		    			#end
58
	    			</tbody>
59
	    		</table>
60
	    	</div>
61
	    </div>
62
    </div>
63
</section>