Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
25496 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>Referee Id</th>
7
	    					<th>Referee Name</th>
8
	    					<th>Referee Email</th>
9
	    					<th>Referee Mobile</th>
10
	    					<th>Referal Name</th>
11
	    					<th>Mobile</th>
12
	    					<th>city</th>
13
	    					<th>state</th>
14
	    					<th>Created On</th>
15
	    					<th>Updated On</th>
16
	    					<th>Approved Timestamp</th>
17
	    					<th colspan = 2>Status</th>
18
	    				</tr>
19
	    					#if(!$refferals.isEmpty())
20
			    			#foreach( $request in $refferals )
21
			    				<tr class="refferal" data="$request.getId()">
22
			    					<td>$request.getId()</td>
23
			    					<td>$request.getRefereeName()</td>
24
			    					<td>$request.getRefereeEmail()</td>
25
			    					<td>$request.getRefereeMobile()</td>
26
			    					<td>$request.getFirstName() $request.getLastName()</td>
27
			    					<td>$request.getMobile()</td>
28
			    					<td>$request.getCity()</td>
29
			    					<td>$request.getState()</td>
30
			    					<td>$request.getCreatedTimestamp().format($dateTimeFormatter)</td>
31
			    					<td>$request.getUpdatedTimestamp().format($dateTimeFormatter)</td>
32
			    					#if($request.getApprovedTimestamp())
33
			    					<td>$request.getApprovedTimestamp().format($dateTimeFormatter)</td>
34
			    					#else
35
			    					<td> null </td>
36
			    					#end
37
			    					#if($request.getStatus()=="pending")
38
 
39
			    					<td><button class="btn btn-primary reffral-approve"  data-requestid="$request.getId()"  type="button" >Approve</button>
40
								     </td>
41
 
42
								     <td><button class="btn btn-primary refferal-reject" data-requestid="$request.getId()"  type="button" >Reject</button>
43
								     </td>
44
								     #else
45
								     <td>$request.getStatus()</td>
46
								     #end
47
			    				</tr>	
48
			    	   #end
49
		    			#else
50
		    				<tr>
51
		    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
52
		    				</tr>
53
		    			#end
54
	    			</tbody>
55
	    		</table>
56
	    	</div>
57
	    </div>