Blame | Last modification | View Log | RSS feed
<div class="row"><div class="col-lg-12"><table class="table table-striped table-advance table-hover"><tbody><tr><th>id</th><th>Name</th><th>Scheme Type</th><th>Criteria</th><th>Item Criteria</th><th>Target Type</th><th>Amount Type</th><th>Partner Type</th><th>Created On</th><th>Start Timestamp</th><th>End Timestamp</th><th>Status</th><th>Detail</th></tr>#if(!$offers.isEmpty())#foreach( $offer in $offers )<tr class="offer-listing-details" data="$offer.getId()"><td>$offer.getId()</td><td>$offer.getName()</td><td>$offer.getSchemeType()</td><td>$offer.getCriteria()</td><td>$offer.getItemCriteria()</td><td>$offer.getTargetType()</td><td>$offer.getAmountType()</td><td>$offer.getPartnerType()</td><td>$offer.getCreatedTimestamp().format($dateTimeFormatter)</td><td>$offer.getStartDateTime().format($dateTimeFormatter)</td><td>$offer.getEndDateTime().format($dateTimeFormatter)</td>#if($offer.getStatus())<td><button class="btn btn-primary change-status" data-offid="$offer.getId()" type="button" style="width:100%; border-radius:0px;">Inactive</button></td>#else<td><button class="btn btn-primary change-status" data-offid="$offer.getId()" type="button" style="width:100%; border-radius:0px;">Active</button></td>#end<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></td></tr>#end#else<tr><td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td></tr>#end</tbody></table></div></div>