Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
26719 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>Scheme Type</th>
9
	    					<th>Criteria</th>
10
	    					<th>Item Criteria</th>
11
	    					<th>Target Type</th>
12
	    					<th>Amount Type</th>
13
	    					<th>Partner Type</th>
14
	    					<th>Created On</th>
15
	    					<th>Start Timestamp</th>
16
	    					<th>End Timestamp</th>
17
	    					<th>Status</th>
18
	    					<th>Detail</th>
19
 
20
	    				</tr>
21
	    				#if(!$offers.isEmpty())
22
			    			#foreach( $offer in $offers )
23
			    				<tr class="offer-listing-details" data="$offer.getId()">
24
			    				    <td>$offer.getId()</td>
25
			    					<td>$offer.getName()</td>
26
			    					<td>$offer.getSchemeType()</td>
27
			    					<td>$offer.getCriteria()</td>
28
			    					<td>$offer.getItemCriteria()</td>
29
			    					<td>$offer.getTargetType()</td>
30
			    					<td>$offer.getAmountType()</td>
31
			    					<td>$offer.getPartnerType()</td>
32
			    					<td>$offer.getCreatedTimestamp().format($dateTimeFormatter)</td>
33
			    					<td>$offer.getStartDateTime().format($dateTimeFormatter)</td>
34
			    					<td>$offer.getEndDateTime().format($dateTimeFormatter)</td>
35
			    					#if($offer.getStatus())
36
			    					<td><button class="btn btn-primary change-status"  data-offid="$offer.getId()" type="button" style="width:100%; border-radius:0px;">Inactive</button></td>
37
			    					#else
38
			    						<td><button class="btn btn-primary change-status"  data-offid="$offer.getId()" type="button" style="width:100%; border-radius:0px;">Active</button></td>
39
 
40
			    					#end
41
			    					<td><button class="btn btn-primary marginDetail" data-toggle="modal" data-target="#marginPartnerDetail"  data-offerid="$offer.getId()" type="button" style="width:100%; border-radius:0px;">View</button>
42
								     </td>
43
			    				</tr>
44
			    			#end
45
		    			#else
46
		    				<tr>
47
		    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
48
		    				</tr>
49
		    			#end
50
	    			</tbody>
51
	    		</table>
52
	    	</div>
53
	    </div>
54
 
55