Rev 23340 | Rev 23855 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<h3 style="padding-left:3%;padding-top:2%;font-weight:bold;">Scheme Id : $scheme.getId()</h3><div class="row" style="padding-left:3%;"><div class="col-lg-4">#if($scheme.getActiveTimestamp())<span>Activated On : $scheme.getFormattedActiveTimestamp()</span><p></p>#end#if($scheme.getExpireTimestamp())<span>Expired On : $scheme.getFormattedExpireTimestamp()</span><p></p>#end<table class="table table-striped table-advance table-hover"><tbody><tr><th>Item Id</th><th>Description</th></tr>#foreach( $itemIdDescriptionEntry in $scheme.getItemStringMap().entrySet())<tr data="$itemId"><td>$itemIdDescriptionEntry.key</td><td>$itemIdDescriptionEntry.value</td></tr>#end</tbody></table><p></p>#if($scheme.isRetailerAll())<td>Retailer All : <i class="fa fa-check" aria-hidden="true"></i></td>#else<td>Retailer All : <i class="fa fa-times" aria-hidden="true"></i></td>#end</p></p>#set($fofoAdmin="false")#foreach($roleType in $roleTypes)#if($roleType == "FOFO_ADMIN")#set($fofoAdmin="true")#end#end#if($fofoAdmin == "true")<span>Created By : $scheme.getCreatedBy()</span><p></p>#end#if(!$scheme.isRetailerAll())<span>Retailer Ids : $scheme.getRetailerIdsString()</span>#end#if($fofoAdmin == "true")<p></p>#if((!$scheme.getActiveTimestamp()) && (!$scheme.getExpireTimestamp()))<div class="btn-group" style="width:40%"><button class="btn active-scheme" data="$scheme.getId()" style="width:100%;background-color:#e98c8f;color:white;">Active</button></div>#else#if(($scheme.getActiveTimestamp()) && (!$scheme.getExpireTimestamp()))<div class="btn-group" style="width:40%"><button class="btn expire-scheme" data="$scheme.getId()" style="width:100%;background-color:#007aff;color:white;">Expire</button></div>#end#end#end</div></div><hr />