Subversion Repositories SmartDukaan

Rev

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

Rev 24220 Rev 24429
Line 60... Line 60...
60
	  displayText:function(item){return item.businessName + "-" + item.address.city;},
60
	  displayText:function(item){return item.businessName + "-" + item.address.city;},
61
	  afterSelect:	function(currentItem){
61
	  afterSelect:	function(currentItem){
62
	  					currentFofoId = currentItem.partnerId;
62
	  					currentFofoId = currentItem.partnerId;
63
	  				}
63
	  				}
64
	});
64
	});
-
 
65
	
65
</script>
66
</script>
66
 
67
 
67
<section class="wrapper">
68
<section class="wrapper">
68
	<div class="row">
69
	<div class="row">
69
		<div class="col-lg-12">
70
		<div class="col-lg-12">
Line 105... Line 106...
105
			    	<input id="partnerFofoId" type="text" class="typeahead form-control form-control-sm" placeholder="Search Partner by Store" data-provide="typeahead" 
106
			    	<input id="partnerFofoId" type="text" class="typeahead form-control form-control-sm" placeholder="Search Partner by Store" data-provide="typeahead" 
106
			    	 #if(${retailerName}) value="${retailerName}" #end
107
			    	 #if(${retailerName}) value="${retailerName}" #end
107
			    	 autocomplete="off"/>
108
			    	 autocomplete="off"/>
108
			    	  </div> 
109
			    	  </div> 
109
			    	  </div>
110
			    	  </div>
-
 
111
						<div class="col-lg-2">
-
 
112
						<select  class="form-control input-sm" id ="sd-Portal-Access" placeholder="PortalAccess">
-
 
113
							 <option value="" disabled selected>Portal Access</option>
-
 
114
							  <option value="false">False</option>
-
 
115
							  <option value="true">True</option>
-
 
116
						</select>
-
 
117
						</div>
110
				
118
					
-
 
119
				</div>
-
 
120
				<div class = "row">
111
					<div class="col-lg-2">
121
				<div class="col-lg-2">
112
						<input class="btn btn-primary create-promoter"  type="button" value="Create Promoter">	
122
						<input class="btn btn-primary create-promoter"  type="button" value="Create/Update Promoter">	
113
					</div>
123
					</div>
114
				</div>
124
				</div>
115
					
125
					
116
				</div>
126
				</div>
117
				
127
				
Line 129... Line 139...
129
	    					<th>Id</th>
139
	    					<th>Id</th>
130
	    					<th>Name</th>
140
	    					<th>Name</th>
131
	    					<th>email</th>
141
	    					<th>email</th>
132
	    					<th>mobile</th>
142
	    					<th>mobile</th>
133
	    					<th>Brand</th>
143
	    					<th>Brand</th>
-
 
144
	    					<th>Protal Access</th>
134
	    					<th>Partner Name</th>
145
	    					<th>Partner Name</th>
135
	    					<th colspan = 2>Status</th>
146
	    					<th colspan = 2>Status</th>
136
	    				</tr>
147
	    				</tr>
137
	    					#if(!$promoterInfo.isEmpty())
148
	    					#if(!$promoterInfo.isEmpty())
138
			    			#foreach( $request in $promoterInfo )
149
			    			#foreach( $request in $promoterInfo )
Line 140... Line 151...
140
			    					<td>$request.getId()</td>
151
			    					<td>$request.getId()</td>
141
			    					<td>$request.getName()</td>
152
			    					<td>$request.getName()</td>
142
			    					<td>$request.getEmail()</td>
153
			    					<td>$request.getEmail()</td>
143
			    					<td>$request.getMobile()</td>
154
			    					<td>$request.getMobile()</td>
144
			    					<td>$request.getBrand()</td>
155
			    					<td>$request.getBrand()</td>
-
 
156
			    					<td>$request.isSdPortalAccess()</td>
145
			    					#if($partnersMap.get($request.getRetailerId()))
157
			    					#if($partnersMap.get($request.getRetailerId()))
146
			    					<td>$partnersMap.get($request.getRetailerId()).getBusinessName()</td>
158
			    					<td>$partnersMap.get($request.getRetailerId()).getBusinessName()</td>
147
			    					#else
159
			    					#else
148
			    					<td> null </td>
160
			    					<td> null </td>
149
			    					#end
161
			    					#end
150
			    					<td><button class="btn btn-primary updatePromoterdetail"  data-requestid="$request.getId()"  data-name="$request.getName()" data-brand="$request.getBrand()" data-partner ="$partnersMap.get($request.getRetailerId()).getBusinessName()" data-email="$request.getEmail()" data-mobile="$request.getMobile()"type="button" style="width:100%;border-radius:0px;">Update</button>
162
			    					<td><button class="btn btn-primary updatePromoterdetail"  data-requestid="$request.getId()"  data-name="$request.getName()" data-brand="$request.getBrand()" data-partner ="$partnersMap.get($request.getRetailerId()).getBusinessName()" data-email="$request.getEmail()" data-mobile="$request.getMobile()" data-portal="$request.isSdPortalAccess()" type="button" style="width:100%;border-radius:0px;">Edit</button>
151
								     </td>
163
								     </td>
152
								
164
								
153
								     <td><button class="btn btn-primary removePromoter" data-requestid="$request.getId()"  type="button" style="width:100%;border-radius:0px;">Remove</button>
165
								     <td><button class="btn btn-primary removePromoter" data-requestid="$request.getId()"  type="button" style="width:100%;border-radius:0px;">Remove</button>
154
								     </td>
166
								     </td>
155
			    				</tr>	
167
			    				</tr>