Subversion Repositories SmartDukaan

Rev

Rev 23164 | Rev 23181 | 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-6">  
                <div class="scheme-info col-lg3">
                        #if($scheme.getActiveTimestamp())
                                <span>Activated On : $scheme.getFormattedActiveTimestamp()</span>
                                <p></p>
                        #end
                        #if($scheme.getExpireTimestamp())
                                <span>Expired On : $scheme.getFormattedExpireTimestamp()</span>
                                <p></p>
                        #end
                        <span>Item Ids : $scheme.getItemIdsString()</span>
                        <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>
                        <span>Created By : $scheme.getCreatedBy()</span>
                        <p></p>
                        #if(!$scheme.isRetailerAll())
                                <span>Retailer Ids : $scheme.getRetailerIdsString()</span>
                        #end
                        <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:#D3181F;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
                </div>
        </div>
</div>
<hr />