Subversion Repositories SmartDukaan

Rev

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

Rev 31836 Rev 31838
Line 76... Line 76...
76
                <td class="currency">$summaryModel.getCollection()</td>
76
                <td class="currency">$summaryModel.getCollection()</td>
77
                <td class="currency">$summaryModel.getSecondaryTarget()</td>
77
                <td class="currency">$summaryModel.getSecondaryTarget()</td>
78
                <td class="currency">$summaryModel.getSecondary()</td>
78
                <td class="currency">$summaryModel.getSecondary()</td>
79
                #foreach($entry in $summaryModel.getChartLeadModelMap().entrySet())
79
                #foreach($entry in $summaryModel.getChartLeadModelMap().entrySet())
80
 
80
 
81
                    #set($datasets = $entry.getData().getDatasets().get(0))
81
                    #set($datasets = $entry.getValue().getData().getDatasets().get(0))
82
                    #set($dataPoints=$datasets.getData())
82
                    #set($dataPoints=$datasets.getData())
83
                    #set($bgColors=$datasets.getBackgroundColor())
83
                    #set($bgColors=$datasets.getBackgroundColor())
84
                    #set($labels = $summaryModel.getChartLeadModel().getData().getLabels())
84
                    #set($labels = $entry.getValue().getData().getLabels())
85
                    #set($total=0)
85
                    #set($total=0)
86
                    #foreach($dataPoint in $dataPoints)
86
                    #foreach($dataPoint in $dataPoints)
87
                        #set($count = $velocityCount - 1)
87
                        #set($count = $velocityCount - 1)
88
                        <td>$bgColors.get($count),$labels.get($count)
88
                        <td>$bgColors.get($count),$labels.get($count)
89
                            - #if(!$dataPoint) 0 #else $dataPoint #end
89
                            - #if(!$dataPoint) 0 #else $dataPoint #end