Subversion Repositories SmartDukaan

Rev

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

Rev 32663 Rev 32672
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">P.Count</th>
41
            <th rowspan="2">Call Count</th>
41
            <th rowspan="2">Called</th>
42
            <th colspan="2">Collection</th>
42
            <th colspan="2">Collection</th>
43
            <th colspan="2">Secondary</th>
43
            <th colspan="2">Secondary</th>
44
            <th colspan="5">Active</th>
44
            <th colspan="5">Active</th>
45
            <th colspan="5">Low Sale</th>
45
            <th colspan="5">Low Sale</th>
46
            <th colspan="5">Disputed</th>
46
            <th colspan="5">Disputed</th>
Line 50... Line 50...
50
            <th>Achieved</th>
50
            <th>Achieved</th>
51
            <th>Target</th>
51
            <th>Target</th>
52
            <th>Achieved</th>
52
            <th>Achieved</th>
53
            <th>Plan Today</th>
53
            <th>Plan Today</th>
54
            <th>Carry Fwd</th>
54
            <th>Carry Fwd</th>
55
            <th>Untouched</th>
55
            <th>Un Touched</th>
56
            <th>Plan Fut</th>
56
            <th>Plan Fut</th>
57
            <th>Normal</th>
57
            <th>Normal</th>
58
            <th>Plan Today</th>
58
            <th>Plan Today</th>
59
            <th>Carry Fwd</th>
59
            <th>Carry Fwd</th>
60
            <th>Untouched</th>
60
            <th>Un Touched</th>
61
            <th>Plan Fut</th>
61
            <th>Plan Fut</th>
62
            <th>Normal</th>
62
            <th>Normal</th>
63
            <th>Plan Today</th>
63
            <th>Plan Today</th>
64
            <th>Carry Fwd</th>
64
            <th>Carry Fwd</th>
65
            <th>Untouched</th>
65
            <th>Un Touched</th>
66
            <th>Plan Fut</th>
66
            <th>Plan Fut</th>
67
            <th>Normal</th>
67
            <th>Normal</th>
68
 
68
 
69
        </tr>
69
        </tr>
70
        </thead>
70
        </thead>
71
        <tbody>
71
        <tbody>
72
            #foreach($summaryModel in $summaryModels)
72
            #foreach($summaryModel in $summaryModels)
73
            <tr>
73
            <tr>
74
                <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>
75
                <td>$summaryModel.getUndisputedPartnerCount()</td>
87
                <td>$summaryModel.getPartnersCommunicated()</td>
76
                <td>$summaryModel.getPartnersCommunicated()</td>
88
                <td class="currency">$summaryModel.getCollectionTarget()</td>
77
                <td class="currency">$summaryModel.getCollectionTarget()</td>
89
                <td class="currency">$summaryModel.getCollection()</td>
78
                <td class="currency">$summaryModel.getCollection()</td>
90
                <td class="currency">$summaryModel.getSecondaryTarget()</td>
79
                <td class="currency">$summaryModel.getSecondaryTarget()</td>
91
                <td class="currency">$summaryModel.getSecondary()</td>
80
                <td class="currency">$summaryModel.getSecondary()</td>