Subversion Repositories SmartDukaan

Rev

Rev 24992 | Rev 34156 | 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>Bank Name</th>
                                <th>Reference Date</th>
                                <th>Amount</th>
                                <th>Created On</th>
                                <th>Updated On </th>
                                #if($rStatus == "pending")
                                <th>Status</th>
                                #end
                        
                        </tr>
                                        #if(!$walletRequest.isEmpty())
                                                #foreach( $walletData in $walletRequest )
                                                <tr class="add-wallet" data="$walletData.getId()">
                                                        <td>$walletData.getRetailerId()</td>
                                                        <td>$fofoIdsAndRetailerName.get($walletData.getRetailerId()).getBusinessName()</td>
                                                        <td>$fofoIdsAndRetailerName.get($walletData.getRetailerId()).getEmail()</td>
                                                        <td>$fofoIdsAndRetailerName.get($walletData.getRetailerId()).getAddress().city</td>
                                                        <td>$fofoIdsAndRetailerName.get($walletData.getRetailerId()).getAddress().state</td>
                                                        <td>$walletData.getTransaction_reference()</td>
                                                        #if($walletData.getBank_name())
                                                                <td>$walletData.getBank_name()</td>
                                                                #else
                                                                <td> null</td>
                                                #end
                                                        <td>$walletData.getReference_date()</td>
                                                        <td class="currency">$walletData.getAmount()</td>
                                                        <td>$walletData.getCreateTimestamp().format($dateTimeFormatter)</td>
                                                        <td>$walletData.getUpdateTimestamp().format($dateTimeFormatter)</td>
                                                        #if($walletData.getStatus()=="pending")
                                                                <td>
                                                                        <button class="btn btn-primary approve" data-requestid="$walletData.getId()"
                                                                                        type="button" style="width:100%;border-radius:0px;">Approve
                                                                        </button>
                                                     </td>
                                                                <td>
                                                                        <button class="btn btn-primary rejected" data-requestid="$walletData.getId()"
                                                                                        type="button" style="width:100%;border-radius:0px;">Reject
                                                                        </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>