Subversion Repositories SmartDukaan

Rev

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

Rev 33700 Rev 33791
Line 36... Line 36...
36
<div class="container-fluid">
36
<div class="container-fluid">
37
    #foreach($brands in $brandParts)
37
    #foreach($brands in $brandParts)
38
        <table class="table table-bordered table-striped">
38
        <table class="table table-bordered table-striped">
39
            <thead>
39
            <thead>
40
            <tr>
40
            <tr>
41
                <th rowspan="2">Region</th>
41
                <th rowspan="2">AuthUser</th>
42
                #foreach($brand in $brands)
42
                #foreach($brand in $brands)
43
                    <th colspan="3" class="$brand.toLowerCase()"><p>$brand</p></th>
43
                    <th colspan="3" class="$brand.toLowerCase()"><p>$brand</p></th>
44
                #end
44
                #end
45
            </tr>
45
            </tr>
46
            <tr>
46
            <tr>
Line 52... Line 52...
52
            </tr>
52
            </tr>
53
            </thead>
53
            </thead>
54
            <tbody>
54
            <tbody>
55
                #foreach($brandRegionModelEntry in $brandRegionModelMap.entrySet())
55
                #foreach($brandRegionModelEntry in $brandRegionModelMap.entrySet())
56
                <tr class="green">
56
                <tr class="green">
57
                    <td><b>$warehouseMap.get($brandRegionModelEntry.getKey())</b></td>
57
                    <td><b>$authUserMap.get($brandRegionModelEntry.getKey())</b></td>
58
                    #foreach($brand in $brands)
58
                    #foreach($brand in $brands)
59
                        #set($obj = $brandRegionModelEntry.getValue().get($brand))
59
                        #set($obj = $brandRegionModelEntry.getValue().get($brand))
60
                        #if($obj.getTodayPOValue())
60
                        #if($obj.getTodayPOValue())
61
                            <td class="currency">$obj.getTodayPOValue()</td>
61
                            <td class="currency">$obj.getTodayPOValue()</td>
62
                        #else
62
                        #else
Line 90... Line 90...
90
                <th>$partnerType.getValue()<br>Today/MTD/Total</th>
90
                <th>$partnerType.getValue()<br>Today/MTD/Total</th>
91
            #end
91
            #end
92
        </tr>
92
        </tr>
93
        </thead>
93
        </thead>
94
        <tbody>
94
        <tbody>
95
            #foreach($warehouseEntry in $warehouseMap.entrySet())
95
            #foreach($authUserEntry in $authUserMap.entrySet())
96
                #if($warehouseEntry.getKey()!=0)
96
                #if($authUserEntry.getKey()!=0)
97
                <tr>
97
                <tr>
98
                    <td><b>$warehouseEntry.getValue()</b></td>
98
                    <td><b>$authUserEntry.getValue()</b></td>
99
                    #foreach($partnerType in $partnerTypes)
99
                    #foreach($partnerType in $partnerTypes)
100
                        <td>
100
                        <td>
101
                            #if($partnerTypeRegionModelMap.containsKey($warehouseEntry.getKey()))
101
                            #if($partnerTypeRegionModelMap.containsKey($warehouseEntry.getKey()))
102
                                #if($partnerTypeRegionModelMap.get($warehouseEntry.getKey()).containsKey($partnerType.getValue()))
102
                                #if($partnerTypeRegionModelMap.get($warehouseEntry.getKey()).containsKey($partnerType.getValue()))
103
                                    #set ($partnerTypeRegionModel=$partnerTypeRegionModelMap.get($warehouseEntry.getKey()).get($partnerType.getValue()))
103
                                    #set ($partnerTypeRegionModel=$partnerTypeRegionModelMap.get($warehouseEntry.getKey()).get($partnerType.getValue()))