Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | 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>
17
         <th>Loan value</th>
18
      </tr>
19
      </thead>
20
      <tbody>
21
          #foreach($loan in $fofoIdLoansMap.entrySet())
22
           #set($fofoId = $loan.getKey() )
23
      <tr>
24
          <td>$customRetailerMap.get($fofoId).getBusinessName()</td>
25
          <td>$customRetailerMap.get($fofoId).getAddress().getCity()</td>
26
          <td>$customRetailerMap.get($fofoId).getAddress().getState()</td>
27
           #if($fofoReportingModelMap.get($fofoId).getTerritoryManager())
28
           <td>$fofoReportingModelMap.get($fofoId).getTerritoryManager()</td>
29
            #else
30
            <td>-</td> #end
31
            #if($fofoReportingModelMap.get($fofoId).getRegionalManager())
32
             <td>$fofoReportingModelMap.get($fofoId).getRegionalManager()</td>
33
              #else
34
            <td>-</td> #end
35
            <td class="currency">$loan.getValue()</td>
36
        </tr>
37
     #end
38
      </tbody>
39
</table>
40
 </div>
41
 </div>
42
 </div>
43
<div class="modal-footer">
44
      <button type="button" data-dismiss="modal" class="btn btn-default view-close">Close</button>
45
	</div>
46
 <script type="text/javascript">
47
	$(document).ready(function() {
48
      var dtable = $('#partner-wise-loan-summary').DataTable({
49
                  "scrollX": true,
50
                  "scrollY": "618px",
51
                  "pageLength": 100,
52
                    scrollCollapse: true,
53
              });
54
 
55
              });
56
 
57
</script>
58
 
59
 
60
 
61
 
62
 
63
 
64
 
65