Subversion Repositories SmartDukaan

Rev

Rev 26763 | Blame | Compare with Previous | 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>Description</th>
                                        <th>Partner Type</th>
                                        <th>Type</th>
                                        <th>Amount Type</th>
                                        <th>Amount</th>
                                        <th>Start Date Time</th>
                                        <th>End Date Time</th>
                                        <th>Created On</th>
                                        <th>Active</th>
                                        <th>Expire</th>
                                </tr>
                                #if(!$schemes.isEmpty())
                                #foreach( $scheme in $schemes )
                                        <tr class="scheme-details" data="$scheme.getId()">
                                                <td>$scheme.getId()</td>
                                                <td>$scheme.getName()</td>
                                                <td>$scheme.getDescription()</td>
                                                <td>$scheme.getPartnerType()</td>
                                                <td>$scheme.getType()</td>
                                                <td>$scheme.getAmountModel()</td>
                                                <td>$scheme.getFormattedStartDateTime()</td>
                                                <td>$dateTimeFormatter.format($scheme.getEndDateTime())</td>
                                                <td>$scheme.getFormattedCreateTimestamp()</td>
                                                #if(($scheme.getActiveTimestamp()) && (!$scheme.getExpireTimestamp()))
                                                        <td><i class="fa fa-check" aria-hidden="true"></i></td>
                                                #else
                                                        <td><i class="fa fa-times" aria-hidden="true"></i></td>
                                                #end
                                                #if($scheme.getExpireTimestamp())
                                                        <td><i class="fa fa-check" aria-hidden="true"></i></td>
                                                #else
                                                        <td><i class="fa fa-times" aria-hidden="true"></i></td>
                                                #end
                                        </tr>
                                #end
                        #else
                                <tr>
                                        <td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
                                </tr>
                        #end
                        </tbody>
                </table>
        </div>
</div>