Subversion Repositories SmartDukaan

Rev

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

<div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">Partner Wise Loan Summary
                </h4>
       </div>
<div class="modal-body">
    <div class = "row">
 <div class="col-lg-12">
<table class="table table-striped table-advance table-hover" id= "partner-wise-loan-summary">
<thead>
    <tr>
      <th>Business name</th>
       <th>City</th>
       <th>State</th>
       <th>Territory Manager</th>
        <th>Regional Manager</th>
         <th>Loan Value</th>
         <th>Loan Count</th>
      </tr>
      </thead>
      <tbody>
          #foreach($loan in $fofoIdLoansMap.entrySet())
           #set($fofoId = $loan.getKey() )
      <tr>
          <td>$customRetailerMap.get($fofoId).getBusinessName()</td>
          <td>$customRetailerMap.get($fofoId).getAddress().getCity()</td>
          <td>$customRetailerMap.get($fofoId).getAddress().getState()</td>
           #if($fofoReportingModelMap.get($fofoId).getTerritoryManager())
           <td>$fofoReportingModelMap.get($fofoId).getTerritoryManager()</td>
            #else
            <td>-</td> #end
            #if($fofoReportingModelMap.get($fofoId).getRegionalManager())
             <td>$fofoReportingModelMap.get($fofoId).getRegionalManager()</td>
              #else
            <td>-</td> #end
            <td class="currency">$loan.getValue()</td>
             <td class="currency">$loanCountMap.get($fofoId)</td>
        </tr>
     #end
      </tbody>
</table>
 </div>
 </div>
 </div>
<div class="modal-footer">
      <button type="button" data-dismiss="modal" class="btn btn-default view-close">Close</button>
        </div>
 <script type="text/javascript">
        $(document).ready(function() {
      var dtable = $('#partner-wise-loan-summary').DataTable({
                  "scrollX": true,
                  "scrollY": "618px",
                  "pageLength": 100,
                    scrollCollapse: true,
              });

              });

</script>