Subversion Repositories SmartDukaan

Rev

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

Rev 24756 Rev 24833
Line 105... Line 105...
105
	    					#if($today == "true")
105
	    					#if($today == "true")
106
	    					<th>Today's Sale</th>
106
	    					<th>Today's Sale</th>
107
	    					#end 
107
	    					#end 
108
	    					<th>Eligibility</th>
108
	    					<th>Eligibility</th>
109
	    					<th>Remaining</th>
109
	    					<th>Remaining</th>
-
 
110
	    					#if($roleType == "true")
-
 
111
	    					<th>Action</th>
-
 
112
	    					#end
110
	    				</tr>
113
	    				</tr>
111
	    				</thead>
114
	    				</thead>
112
	    				<tbody>
115
	    				<tbody>
113
			    			#foreach( $fofoId in $fofoIds)
116
			    			#foreach( $fofoId in $fofoIds)
114
			    				#if($targetValues.get($fofoId))
117
			    				#if($targetValues.get($fofoId))
Line 150... Line 153...
150
			    					#end
153
			    					#end
151
			    					#if($remainingTarget.get($fofoId) && $remainingTarget.get($fofoId)>0)
154
			    					#if($remainingTarget.get($fofoId) && $remainingTarget.get($fofoId)>0)
152
			    					<td>$remainingTarget.get($fofoId)</td>
155
			    					<td>$remainingTarget.get($fofoId)</td>
153
			    					#else
156
			    					#else
154
			    					<td>0</td>
157
			    					<td>0</td>
155
			    					#end	
158
			    					#end
-
 
159
			    					<td><button class="btn btn-primary" id="edit-partner-target" data-targetid="$partnerTargetsMap.get($fofoId)"  data-target="#targetModal" data-toggle="modal" data-backdrop="false">Edit</button></td>	
156
			    				</tr>
160
			    				</tr>
157
			    				#end
161
			    				#end
158
			    			#end
162
			    			#end
159
	    			</tbody>
163
	    			</tbody>
160
	    		</table>
164
	    		</table>
161
	    	</div>
165
	    	</div>
162
	    </div>
166
	    </div>
163
    </div>
167
    </div>
164
    </div>
168
    </div>
165
    #end
-
 
166
169
    #end
-
 
170
  <div class="edit-partner-target-container">
-
 
171
<div class="modal fade text-center" id="targetModal">
-
 
172
  <div class="modal-dialog">
-
 
173
    <div class="modal-content">
-
 
174
    </div>
-
 
175
  </div>
-
 
176
</div>
-
 
177
</div>
-
 
178
167
179