Subversion Repositories SmartDukaan

Rev

Rev 26133 | 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>email</th>
                                                <th>mobile</th>
                                                <th>Brand</th>
                                                <th>Protal Access</th>
                                                <th>Status</th>
                                                <th>Partner Name</th>
                                                <th colspan = 2>Status</th>
                                        </tr>
                                                #if(!$promoterInfo.isEmpty())
                                                                #foreach( $promoterInfoModel in $promoterInfo )
                                                                <tr class="promoterInfo" data="$promoterInfoModel.getId()">
                                                                        <td>$promoterInfoModel.getId()</td>
                                                                        <td>$promoterInfoModel.getName()</td>
                                                                        <td>$promoterInfoModel.getEmail()</td>
                                                                        <td>$promoterInfoModel.getMobile()</td>
                                                                        <td>$promoterInfoModel.getBrand()</td>
                                                                        <td>$promoterInfoModel.isSdPortalAccess()</td>
                                                                        <td>$promoterInfoModel.isStatus()</td>
                                                                        #if($partnersMap.get($promoterInfoModel.getRetailerId()))
                                                                                <td>$partnersMap.get($promoterInfoModel.getRetailerId()).getBusinessName()</td>
                                                                #else
                                                                <td> null </td>
                                                                #end
                                                                        <td>
                                                                                <button class="btn btn-primary updatePromoterdetail"
                                                                                                data-requestid="$promoterInfoModel.getId()"
                                                                                                data-name="$promoterInfoModel.getName()"
                                                                                                data-brand="$promoterInfoModel.getBrand()"
                                                                                                data-partner="$partnersMap.get($promoterInfoModel.getRetailerId()).getBusinessName()"
                                                                                                data-email="$promoterInfoModel.getEmail()"
                                                                                                data-mobile="$promoterInfoModel.getMobile()"
                                                                                                data-portal="$promoterInfoModel.isSdPortalAccess()" type="button"
                                                                                                style="width:100%;border-radius:0px;">Edit
                                                                                </button>
                                                                     </td>

                                                                        <td>
                                                                                <button class="btn btn-primary removePromoter"
                                                                                                data-requestid="$promoterInfoModel.getId()" type="button"
                                                                                                style="width:100%;border-radius:0px;">Remove
                                                                                </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>