Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
22860 ashik.ali 1
<h3 style="padding-left:3%;padding-top:2%;font-weight:bold;">Scheme Id : $scheme.getId()</h3>
2
<div class="row" style="padding-left:3%;">
23343 ashik.ali 3
	<div class="col-lg-4">
4
		#if($scheme.getActiveTimestamp())
5
			<span>Activated On : $scheme.getFormattedActiveTimestamp()</span>
22860 ashik.ali 6
			<p></p>
23343 ashik.ali 7
		#end
8
		#if($scheme.getExpireTimestamp())
9
			<span>Expired On : $scheme.getFormattedExpireTimestamp()</span>
10
			<p></p>
11
		#end
12
		<table class="table table-striped table-advance table-hover">
13
			<tbody>
14
				<tr>
15
					<th>Item Id</th>
16
					<th>Description</th>
17
				</tr>
18
    			#foreach( $itemIdDescriptionEntry in $scheme.getItemStringMap().entrySet())
19
    				<tr data="$itemId">
20
    					<td>$itemIdDescriptionEntry.key</td>
21
    					<td>$itemIdDescriptionEntry.value</td>
22
    				</tr>
23
    			#end
24
			</tbody>
25
    	</table>
26
 
27
		<p></p>
28
		#if($scheme.isRetailerAll())
29
			<td>Retailer All : <i class="fa fa-check" aria-hidden="true"></i></td>
30
		#else
31
			<td>Retailer All : <i class="fa fa-times" aria-hidden="true"></i></td>
32
		#end
33
		</p></p>
23855 amit.gupta 34
        #if($isFofoAdmin)
22860 ashik.ali 35
			<span>Created By : $scheme.getCreatedBy()</span>
36
			<p></p>
23343 ashik.ali 37
		#end
38
		#if(!$scheme.isRetailerAll())
39
			<span>Retailer Ids : $scheme.getRetailerIdsString()</span>
40
		#end
23855 amit.gupta 41
		#if($isFofoAdmin)
22860 ashik.ali 42
			<p></p>
43
			#if((!$scheme.getActiveTimestamp()) && (!$scheme.getExpireTimestamp()))
44
				<div class="btn-group" style="width:40%">
23181 ashik.ali 45
					<button class="btn active-scheme" data="$scheme.getId()" style="width:100%;background-color:#e98c8f;color:white;">Active</button>
22860 ashik.ali 46
				</div>
47
			#else
48
				#if(($scheme.getActiveTimestamp()) && (!$scheme.getExpireTimestamp()))
49
					<div class="btn-group" style="width:40%">
50
						<button class="btn expire-scheme" data="$scheme.getId()" style="width:100%;background-color:#007aff;color:white;">Expire</button>
51
					</div>
52
				#end
53
			#end
23343 ashik.ali 54
		#end
22860 ashik.ali 55
	</div>
56
</div>
57
<hr />