Rev 26694 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<style>.table-striped > tbody > tr:nth-child(odd) > td{background: white;background-color: white;}.table-striped > tbody > tr:nth-child(even) > td{background: white;background-color:white;}.table-striped > tbody > tr:hover > td,.table-striped > tbody > tr:hover {background-color: #e98c8f;color:white;}.btn:hover{color: grey;text-decoration: none;}.btn-primary:hover{color: grey;text-decoration: none;}.sale-details{cursor:pointer;}</style><section class="wrapper"><div class="row"><div class="col-lg-12"><h3 class="page-header"><i class="icon_document_alt"></i>OFFERS</h3><ol class="breadcrumb"><li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li><li><i class="icon_document_alt"></i>LISTINGS</li></ol></div></div><div id="prebooking-listings-table"><div class="row"><div class="col-lg-12"><table class="table table-striped table-advance table-hover"><tbody><tr><th>Name</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.getName()</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><td>$statusMap.get($offer.getId())</td><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></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></div><div class="offer-container"><div class="modal text-center" id="marginPartnerDetail"><div class="modal-dialog"><div class="modal-content" style="width:900px;height:600px;overflow:auto"></div></div></div></div></section>