Subversion Repositories SmartDukaan

Rev

Rev 32735 | Blame | Compare with Previous | Last modification | View Log | RSS feed


<script type="text/javascript">

    $(document).ready(function () {
    
       
                
      var dtable = $('#sanctionholdtable').DataTable({
             "scrollX": true,
             "scrollY": "518px",
              scrollCollapse: true,
             "fixedHeader": true,
             "order": [[ 0, "desc" ]],
             fixedColumns:   {
             leftColumns: 3
        },
       });
    
    });
    
    
    
    
    
</script>



<section class="wrapper">
        <div class="row">
                <div class="col-lg-12">
                        <h3 class="page-header"><i class="icon_document_alt"></i>Unhold Order</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>Unhold Order</li>
                                                                
                        </ol>
                </div>
        </div>
        
            <div class="col-lg-12">
        <table class="table table-border table-condensed table-bordered" id="sanctionholdtable" style="width:100%">

            <thead class="row htable" style="background:#F5F5F5;">

            <tr style="color:black;">
                <th>Id</th>
                <th>Partner Id</th>
                <th>Partner Name</th>
                <th>Transaction Id</th>
                <th>Order Amount</th>
                <th>Sanction Amount</th>
                <th>Utilized Amount</th>           
                <th>Pending Amount</th>
                <th>Unhold</th>     
          
                </tr>
            </thead>
            <tbody>
                #foreach($sanctionRequest in $sanctionRequests)
                
 
               <td>$sanctionRequest.getId()</td>
                                <td>$customRetailerMap.get($sanctionRequest.getFofoId()).getPartnerId()</td>
                                <td>$customRetailerMap.get($sanctionRequest.getFofoId()).getBusinessName() ($customRetailerMap.get($sanctionRequest.getFofoId()).getCode()-$customRetailerMap.get($sanctionRequest.getFofoId()).getAddress().getCity())</td>

                                <td>$sanctionRequest.getTransactionId()</td>
                                #if($transactionAmountMap.get($sanctionRequest.getTransactionId()))
                                <td>$transactionAmountMap.get($sanctionRequest.getTransactionId())</td>
                                #else
                                 <td>-</td>
                                #end
                        
                                <td>$sanctionRequest.getApprovalAmount()</td>
                                <td>$sanctionRequest.getUtilizationAmount()</td>
                                <td>$sanctionRequest.getPendingAmount()</td>
                        
                                <td>       <button type="button"  data-id="$sanctionRequest.getTransactionId()" 
                                                                class="btn btn-primary sanction-request-unhold">
                                                          Submit</button></td>
                </tr>
             
                #end

            </tbody>

        </table>
    </div>
</section>