Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

#foreach($brands in $brandParts)
<table class="table table-bordered table-striped">
    <thead>
    <tr>
        <th rowspan="2">AuthUser</th>
        #foreach($brand in $brands)
            <th colspan="3" class="$brand.toLowerCase()"><p>$brand</p></th>
        #end
    </tr>
    <tr>
        #foreach($brand in $brands)
            <th>TODAY PO</th>
            <th>Partner Count</th>
            <th>Total Billed</th>
        #end
    </tr>
    </thead>
    <tbody>
        #foreach($brandRegionModelEntry in $brandRegionModelMap.entrySet())
        <tr class="green">
            <td>
                #if($brandRegionModelEntry.getKey() != -1)
                    <b>$authUserMap.get($brandRegionModelEntry.getKey())</b>
                #else -
                #end
            </td>
            #foreach($brand in $brands)
                #set($obj = $brandRegionModelEntry.getValue().get($brand))
                #if($obj.getTodayPOValue())
                    <td class="currency">$obj.getTodayPOValue()</td>
                #else
                    <td>-</td>
                #end
                #if($obj.getPartiesBilled())
                    <td>$obj.getPartiesBilled()</td>
                #else
                    <td>-</td>
                #end
                #if($obj.getTodayBilledValue())
                    <td class="currency">$obj.getTodayBilledValue()</td>
                #else
                    <td>-</td>
                #end
            #end

        </tr>
        #end
    </tbody>
</table>
#end