Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
35201 ranu 1
#foreach($brands in $brandParts)
2
<table class="table table-bordered table-striped">
3
    <thead>
4
    <tr>
5
        <th rowspan="2">AuthUser</th>
6
        #foreach($brand in $brands)
7
            <th colspan="3" class="$brand.toLowerCase()"><p>$brand</p></th>
8
        #end
9
    </tr>
10
    <tr>
11
        #foreach($brand in $brands)
12
            <th>TODAY PO</th>
13
            <th>Partner Count</th>
14
            <th>Total Billed</th>
15
        #end
16
    </tr>
17
    </thead>
18
    <tbody>
19
        #foreach($brandRegionModelEntry in $brandRegionModelMap.entrySet())
20
        <tr class="green">
21
            <td>
22
                #if($brandRegionModelEntry.getKey() != -1)
23
                    <b>$authUserMap.get($brandRegionModelEntry.getKey())</b>
24
                #else -
25
                #end
26
            </td>
27
            #foreach($brand in $brands)
28
                #set($obj = $brandRegionModelEntry.getValue().get($brand))
29
                #if($obj.getTodayPOValue())
30
                    <td class="currency">$obj.getTodayPOValue()</td>
31
                #else
32
                    <td>-</td>
33
                #end
34
                #if($obj.getPartiesBilled())
35
                    <td>$obj.getPartiesBilled()</td>
36
                #else
37
                    <td>-</td>
38
                #end
39
                #if($obj.getTodayBilledValue())
40
                    <td class="currency">$obj.getTodayBilledValue()</td>
41
                #else
42
                    <td>-</td>
43
                #end
44
            #end
45
 
46
        </tr>
47
        #end
48
    </tbody>
49
</table>
50
#end