Subversion Repositories SmartDukaan

Rev

Rev 23956 | Go to most recent revision | 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>Retailer Id</th>
                                <th>Retailer Name</th>
                                <th>Email</th>
                                <th>City</th>
                                <th>State</th>
                                <th>Transaction Reference</th>
                                <th>Amount</th>
                                <th>Created On</th>
                                <th>Updated On </th>
                                #if($rStatus == "pending")
                                <th>Status</th>
                                #end
                        
                        </tr>
                                        #if(!$walletRequest.isEmpty())
                                #foreach( $request in $walletRequest )
                                        <tr class="add-wallet" data="$request.getId()">
                                                <td>$request.getRetailerId()</td>
                                                <td>$fofoIdsAndRetailerName.get($request.getRetailerId()).getBusinessName()</td>
                                                <td>$fofoIdsAndRetailerName.get($request.getRetailerId()).getEmail()</td>
                                                <td>$fofoIdsAndRetailerName.get($request.getRetailerId()).getAddress().city</td>
                                                <td>$fofoIdsAndRetailerName.get($request.getRetailerId()).getAddress().state</td>
                                                <td>$request.getTransaction_reference()</td>
                                                <td>$request.getAmount()</td>
                                                <td>$request.getFormattedCreateTimestamp()</td>
                                                <td>$request.getFormattedUpdateTimestamp()</td>
                                                #if($request.getStatus()=="pending")
                                                <td><button class="btn btn-primary approve"  data-requestid="$request.getId()" type="button" style="width:100%;border-radius:0px;">Approve</button>
                                                     </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>