Subversion Repositories SmartDukaan

Rev

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

Rev 11825 Rev 11844
Line 2289... Line 2289...
2289
            <table border="1" style="width:100%;">
2289
            <table border="1" style="width:100%;">
2290
            <thead>
2290
            <thead>
2291
            <tr><th>Item Id</th>
2291
            <tr><th>Item Id</th>
2292
            <th>Product Name</th>
2292
            <th>Product Name</th>
2293
            <th>Current Price</th>
2293
            <th>Current Price</th>
2294
            <th>Current TP</th>
-
 
2295
            <th>Current Margin</th>
2294
            <th>Current Margin</th>
2296
            <th>Competition TP</th>
2295
            <th>Lowest Seller</th>
2297
            <th>Lowest Possible TP</th>
2296
            <th>Lowest Selling Price</th>
-
 
2297
            <th>Preffered Seller</th>
-
 
2298
            <th>Preffered Selling Price</th>
2298
            <th>NLC</th>
2299
            <th>NLC</th>
2299
            <th>Target NLC</th>
2300
            <th>Target NLC</th>
2300
            <th>Commission %</th>
2301
            <th>Commission %</th>
2301
            <th>Return Provision %</th>
2302
            <th>Return Provision %</th>
2302
            <th>Flipkart Inventory</th>
2303
            <th>Flipkart Inventory</th>
Line 2315... Line 2316...
2315
            netInventory = str(getNetAvailability(inventoryMap.get(item.item_id)))
2316
            netInventory = str(getNetAvailability(inventoryMap.get(item.item_id)))
2316
        message+="""<tr>
2317
        message+="""<tr>
2317
                <td style="text-align:center">"""+str(item.item_id)+"""</td>
2318
                <td style="text-align:center">"""+str(item.item_id)+"""</td>
2318
                <td style="text-align:center">"""+xstr(it.brand)+" "+xstr(it.model_name)+" "+xstr(it.model_number)+" "+xstr(it.color)+"""</td>
2319
                <td style="text-align:center">"""+xstr(it.brand)+" "+xstr(it.model_name)+" "+xstr(it.model_number)+" "+xstr(it.color)+"""</td>
2319
                <td style="text-align:center">"""+str(item.ourSellingPrice)+"""</td>
2320
                <td style="text-align:center">"""+str(item.ourSellingPrice)+"""</td>
2320
                <td style="text-align:center">"""+str(item.ourTp)+"""</td>
-
 
2321
                <td style="text-align:center">"""+str(round(item.margin))+" ("+str(round((item.margin/item.ourSellingPrice)*100,1))+"%)"+"""</td>
2321
                <td style="text-align:center">"""+str(round(item.margin))+" ("+str(round((item.margin/item.ourSellingPrice)*100,1))+"%)"+"""</td>
2322
                <td style="text-align:center">"""+str(item.lowestTp)+"""</td>
2322
                <td style="text-align:center">"""+str(item.lowestSellerName)+"""</td>
2323
                <td style="text-align:center">"""+str(item.lowestPossibleTp)+"""</td>
2323
                <td style="text-align:center">"""+str(item.lowestSellingPrice)+"""</td>
-
 
2324
                <td style="text-align:center">"""+str(item.prefferedSellerName)+"""</td>
-
 
2325
                <td style="text-align:center">"""+str(item.prefferedSellerSellingPrice)+"""</td>
2324
                <td style="text-align:center">"""+str(item.ourNlc)+"""</td>
2326
                <td style="text-align:center">"""+str(item.ourNlc)+"""</td>
2325
                <td style="text-align:center">"""+str(item.targetNlc)+"""</td>
2327
                <td style="text-align:center">"""+str(item.targetNlc)+"""</td>
2326
                <td style="text-align:center">"""+str(mpItem.commission)+"""</td>
2328
                <td style="text-align:center">"""+str(mpItem.commission)+"""</td>
2327
                <td style="text-align:center">"""+str(mpItem.returnProvision)+" %"+"""</td>
2329
                <td style="text-align:center">"""+str(mpItem.returnProvision)+" %"+"""</td>
2328
                <td style="text-align:center">"""+str(item.ourInventory)+"""</td>
2330
                <td style="text-align:center">"""+str(item.ourInventory)+"""</td>