Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
32197 jai.hind 1
<div class="modal-header">
2
	        <button type="button" class="close" data-dismiss="modal">&times;</button>
3
	        <h4 class="modal-title">Partner Wise Loan Summary
4
	        </h4>
5
       </div>
6
<div class="modal-body">
7
    <div class = "row">
8
 <div class="col-lg-12">
9
<table class="table table-striped table-advance table-hover" id= "partner-wise-loan-summary">
10
<thead>
11
    <tr>
12
      <th>Business name</th>
13
       <th>City</th>
14
       <th>State</th>
15
       <th>Territory Manager</th>
16
        <th>Regional Manager</th>
32457 jai.hind 17
         <th>Loan Value</th>
18
         <th>Loan Count</th>
32197 jai.hind 19
      </tr>
20
      </thead>
21
      <tbody>
22
          #foreach($loan in $fofoIdLoansMap.entrySet())
23
           #set($fofoId = $loan.getKey() )
24
      <tr>
25
          <td>$customRetailerMap.get($fofoId).getBusinessName()</td>
26
          <td>$customRetailerMap.get($fofoId).getAddress().getCity()</td>
27
          <td>$customRetailerMap.get($fofoId).getAddress().getState()</td>
28
           #if($fofoReportingModelMap.get($fofoId).getTerritoryManager())
29
           <td>$fofoReportingModelMap.get($fofoId).getTerritoryManager()</td>
30
            #else
31
            <td>-</td> #end
32
            #if($fofoReportingModelMap.get($fofoId).getRegionalManager())
33
             <td>$fofoReportingModelMap.get($fofoId).getRegionalManager()</td>
34
              #else
35
            <td>-</td> #end
36
            <td class="currency">$loan.getValue()</td>
32457 jai.hind 37
             <td class="currency">$loanCountMap.get($fofoId)</td>
32197 jai.hind 38
        </tr>
39
     #end
40
      </tbody>
41
</table>
42
 </div>
43
 </div>
44
 </div>
45
<div class="modal-footer">
46
      <button type="button" data-dismiss="modal" class="btn btn-default view-close">Close</button>
47
	</div>
48
 <script type="text/javascript">
49
	$(document).ready(function() {
50
      var dtable = $('#partner-wise-loan-summary').DataTable({
51
                  "scrollX": true,
52
                  "scrollY": "618px",
53
                  "pageLength": 100,
54
                    scrollCollapse: true,
55
              });
56
 
57
              });
58
 
59
</script>
60
 
61
 
62
 
63
 
64
 
65
 
66
 
67