Subversion Repositories SmartDukaan

Rev

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

Rev 26674 Rev 26694
Line 40... Line 40...
40
	    	<div class="col-lg-12">
40
	    	<div class="col-lg-12">
41
	    		<table class="table table-striped table-advance table-hover">
41
	    		<table class="table table-striped table-advance table-hover">
42
	    			<tbody>
42
	    			<tbody>
43
	    				<tr>
43
	    				<tr>
44
	    					<th>Name</th>
44
	    					<th>Name</th>
-
 
45
	    					<th>Scheme Type</th>
45
	    					<th>Criteria</th>
46
	    					<th>Criteria</th>
46
	    					<th>Item Criteria</th>
47
	    					<th>Item Criteria</th>
47
	    					<th>Target Type</th>
48
	    					<th>Target Type</th>
48
	    					<th>Amount Type</th>
49
	    					<th>Amount Type</th>
49
	    					<th>Partner Type</th>
50
	    					<th>Partner Type</th>
Line 56... Line 57...
56
	    				</tr>
57
	    				</tr>
57
	    				#if(!$offers.isEmpty())
58
	    				#if(!$offers.isEmpty())
58
			    			#foreach( $offer in $offers )
59
			    			#foreach( $offer in $offers )
59
			    				<tr class="offer-listing-details" data="$offer.getId()">
60
			    				<tr class="offer-listing-details" data="$offer.getId()">
60
			    					<td>$offer.getName()</td>
61
			    					<td>$offer.getName()</td>
-
 
62
			    					<td>$offer.getSchemeType()</td>
61
			    					<td>$offer.getCriteria()</td>
63
			    					<td>$offer.getCriteria()</td>
62
			    					<td>$offer.getItemCriteria()</td>
64
			    					<td>$offer.getItemCriteria()</td>
63
			    					<td>$offer.getTargetType()</td>
65
			    					<td>$offer.getTargetType()</td>
64
			    					<td>$offer.getAmountType()</td>
66
			    					<td>$offer.getAmountType()</td>
65
			    					<td>$offer.getPartnerType()</td>
67
			    					<td>$offer.getPartnerType()</td>
66
			    					<td>$offer.getCreatedTimestamp().format($dateTimeFormatter)</td>
68
			    					<td>$offer.getCreatedTimestamp().format($dateTimeFormatter)</td>
67
			    					<td>$offer.getStartDateTime().format($dateTimeFormatter)</td>
69
			    					<td>$offer.getStartDateTime().format($dateTimeFormatter)</td>
68
			    					<td>$offer.getEndDateTime().format($dateTimeFormatter)</td>
70
			    					<td>$offer.getEndDateTime().format($dateTimeFormatter)</td>
69
			    					<td>$statusMap.get($offer.getId())</td>
71
			    					#if($offer.getStatus())
-
 
72
			    					<td><button class="btn btn-primary change-status"  data-offid="$offer.getId()" type="button" style="width:100%; border-radius:0px;">Inactive</button></td>
-
 
73
			    					#else
-
 
74
			    						<td><button class="btn btn-primary change-status"  data-offid="$offer.getId()" type="button" style="width:100%; border-radius:0px;">Active</button></td>
-
 
75
			    					
-
 
76
			    					#end
70
			    					<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;">Action</button>
77
			    					<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;">Action</button>
71
								     </td>
78
								     </td>
72
			    				</tr>
79
			    				</tr>
73
			    			#end
80
			    			#end
74
		    			#else
81
		    			#else