Subversion Repositories SmartDukaan

Rev

Rev 26133 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
24159 tejbeer 1
<div class="row">
2
	    	<div class="col-lg-12">
3
	    		<table class="table table-striped table-advance table-hover">
4
	    			<tbody>
5
	    				<tr>
6
	    					<th>Id</th>
7
	    					<th>Name</th>
8
	    					<th>email</th>
9
	    					<th>mobile</th>
10
	    					<th>Brand</th>
24429 tejbeer 11
	    					<th>Protal Access</th>
26133 tejbeer 12
	    					<th>Status</th>
24159 tejbeer 13
	    					<th>Partner Name</th>
14
	    					<th colspan = 2>Status</th>
15
	    				</tr>
16
	    					#if(!$promoterInfo.isEmpty())
33970 aman.kumar 17
								#foreach( $promoterInfoModel in $promoterInfo )
18
								<tr class="promoterInfo" data="$promoterInfoModel.getId()">
19
									<td>$promoterInfoModel.getId()</td>
20
									<td>$promoterInfoModel.getName()</td>
21
									<td>$promoterInfoModel.getEmail()</td>
22
									<td>$promoterInfoModel.getMobile()</td>
23
									<td>$promoterInfoModel.getBrand()</td>
24
									<td>$promoterInfoModel.isSdPortalAccess()</td>
25
									<td>$promoterInfoModel.isStatus()</td>
26
									#if($partnersMap.get($promoterInfoModel.getRetailerId()))
27
										<td>$partnersMap.get($promoterInfoModel.getRetailerId()).getBusinessName()</td>
24159 tejbeer 28
			    					#else
29
			    					<td> null </td>
30
			    					#end
33970 aman.kumar 31
									<td>
32
										<button class="btn btn-primary updatePromoterdetail"
33
												data-requestid="$promoterInfoModel.getId()"
34
												data-name="$promoterInfoModel.getName()"
35
												data-brand="$promoterInfoModel.getBrand()"
36
												data-partner="$partnersMap.get($promoterInfoModel.getRetailerId()).getBusinessName()"
37
												data-email="$promoterInfoModel.getEmail()"
38
												data-mobile="$promoterInfoModel.getMobile()"
39
												data-portal="$promoterInfoModel.isSdPortalAccess()" type="button"
40
												style="width:100%;border-radius:0px;">Edit
41
										</button>
24159 tejbeer 42
								     </td>
33970 aman.kumar 43
 
44
									<td>
45
										<button class="btn btn-primary removePromoter"
46
												data-requestid="$promoterInfoModel.getId()" type="button"
47
												style="width:100%;border-radius:0px;">Remove
48
										</button>
24159 tejbeer 49
								     </td>
50
			    				</tr>	
51
			    	   #end
52
		    			#else
53
		    				<tr>
54
		    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
55
		    				</tr>
56
		    			#end
57
	    			</tbody>
58
	    		</table>
59
	    	</div>
60
	    </div>