Subversion Repositories SmartDukaan

Rev

Rev 28711 | Rev 35962 | 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">
32457 jai.hind 17
			<h3 class="page-header"><i class="icon_document_alt"></i>INACTIVE STORE</h3>
24680 govind 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>
32457 jai.hind 44
			    					#if($customRetailers.get($inactivefofoStore.getId()).getBusinessName())
24680 govind 45
			    					<td>$customRetailers.get($inactivefofoStore.getId()).getBusinessName()</td>
32457 jai.hind 46
			    					 #else
47
                                     <td>-</td> #end
48
                                     #if($customRetailers.get($inactivefofoStore.getId()).getEmail())
24680 govind 49
			    					<td>$customRetailers.get($inactivefofoStore.getId()).getEmail()</td>
32457 jai.hind 50
			    					#else
51
                                    <td>-</td> #end
24680 govind 52
			    					<td>$inactivefofoStore.getCode()</td>
28711 amit.gupta 53
			    					<td><input type="text" name="temporaryActivationStore" id="temporary-activation" value="" style=" width: 137px;">
54
			    					<button class="btn btn-primary activate-store-temporary"  data-fofoid="$inactivefofoStore.getId()">Temp Activate</button></td>
55
			    					<td><button class="btn btn-primary activate-store-forever"  data-fofoid="$inactivefofoStore.getId()">Activate</button></td>
56
 
24680 govind 57
			    				</tr>
58
			    			#end
59
		    			#else
60
		    				<tr>
61
		    					<td colspan="6" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
62
		    				</tr>
63
		    			#end
64
	    			</tbody>
65
	    		</table>
66
	    	</div>
67
	    </div>
68
    </div>
69
</section>