Subversion Repositories SmartDukaan

Rev

Rev 31841 | Rev 32663 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 31841 Rev 32657
Line 35... Line 35...
35
<div class="container-fluid">
35
<div class="container-fluid">
36
    <table class="table table-bordered table-striped">
36
    <table class="table table-bordered table-striped">
37
        <thead>
37
        <thead>
38
        <tr>
38
        <tr>
39
            <th rowspan="2">RBM</th>
39
            <th rowspan="2">RBM</th>
-
 
40
            <th rowspan="2">Partner Count</th>
40
            <th rowspan="2">Count</th>
41
            <th rowspan="2">Call Count</th>
41
            <th colspan="2">Collection</th>
42
            <th colspan="2">Collection</th>
42
            <th colspan="2">Secondary</th>
43
            <th colspan="2">Secondary</th>
43
            <th colspan="5">Active</th>
44
            <th colspan="5">Active</th>
44
            <th colspan="5">Low Sale</th>
45
            <th colspan="5">Low Sale</th>
45
            <th colspan="5">Disputed</th>
46
            <th colspan="5">Disputed</th>
Line 69... Line 70...
69
        </thead>
70
        </thead>
70
        <tbody>
71
        <tbody>
71
            #foreach($summaryModel in $summaryModels)
72
            #foreach($summaryModel in $summaryModels)
72
            <tr>
73
            <tr>
73
                <td>$summaryModel.getAuthName()</td>
74
                <td>$summaryModel.getAuthName()</td>
-
 
75
                #set($partnerCount = 0)
-
 
76
                #foreach($entry in $summaryModel.getChartLeadModelMap().entrySet())
-
 
77
                    #set($datasets = $entry.getValue().getData().getDatasets().get(0))
-
 
78
                    #set($dataPoints=$datasets.getData())
-
 
79
                    #set($total=0)
-
 
80
                    #foreach($dataPoint in $dataPoints)
-
 
81
                        #if($dataPoint)
-
 
82
                            #set($partnerCount = $partnerCount + $dataPoint)
-
 
83
                        #end
-
 
84
                    #end
-
 
85
                #end
-
 
86
                <td>$partnerCount</td>
74
                <td>$summaryModel.getPartnersCommunicated()</td>
87
                <td>$summaryModel.getPartnersCommunicated()</td>
75
                <td class="currency">$summaryModel.getCollectionTarget()</td>
88
                <td class="currency">$summaryModel.getCollectionTarget()</td>
76
                <td class="currency">$summaryModel.getCollection()</td>
89
                <td class="currency">$summaryModel.getCollection()</td>
77
                <td class="currency">$summaryModel.getSecondaryTarget()</td>
90
                <td class="currency">$summaryModel.getSecondaryTarget()</td>
78
                <td class="currency">$summaryModel.getSecondary()</td>
91
                <td class="currency">$summaryModel.getSecondary()</td>