Subversion Repositories SmartDukaan

Rev

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

Rev 11984 Rev 11998
Line 396... Line 396...
396
    message+="""</tr></tbody></table>"""
396
    message+="""</tr></tbody></table>"""
397
    
397
    
398
    topBrandCatReturns = []
398
    topBrandCatReturns = []
399
 
399
 
400
    for y in BrandCatMap.itervalues():
400
    for y in BrandCatMap.itervalues():
401
        if y.totalSale > 100:
401
        if y.totalSale > 25:
402
            topBrandCatReturns.append(y)
402
            topBrandCatReturns.append(y)
403
    
403
    
404
    sortedHighReturnRateBrandCat = sorted(topBrandCatReturns, key=lambda x: x.nonSellableReturnPercentage, reverse=True)
404
    sortedHighReturnRateBrandCat = sorted(topBrandCatReturns, key=lambda x: x.nonSellableReturnPercentage, reverse=True)
405
    message+="""<h3>Brand Category Wise Non-Sellable Return</h3>
405
    message+="""<h3>Brand Category Wise Non-Sellable Return</h3>
406
            <table border="1" style="width:50%;">
406
            <table border="1" style="width:50%;">