Subversion Repositories SmartDukaan

Rev

Rev 33183 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33183 Rev 33729
Line 29... Line 29...
29
                    <th> Vendor name</th>
29
                    <th> Vendor name</th>
30
 
30
 
31
                 <th> Catalog Id</th>
31
                 <th> Catalog Id</th>
32
                 <th> Model </th>
32
                 <th> Model </th>
33
                 <th> TP</th>  
33
                 <th> TP</th>  
34
                 <th> DP</th>  
34
                 <th> DP</th>
35
                 <th> MOP</th>  
35
                    <th> MOP</th>
-
 
36
                    <th>Margin</th>
-
 
37
                    <th>% Margin</th>
36
                 <th> Effected On</th>
38
                 <th> Effected On</th>
37
                </tr>
39
                </tr>
38
              </thead> 
40
              </thead>
39
                
-
 
-
 
41
 
40
              <tbody> 
42
                <tbody>
41
              
-
 
42
              
-
 
43
                #foreach($vendorCatalogPricing in $vendorCatalogPricings)
43
                #foreach($vendorCatalogPricing in $vendorCatalogPricings)
-
 
44
                    #set($margin = $vendorCatalogPricing.getDealerPrice() - $vendorCatalogPricing.getTransferPrice())
-
 
45
                    #set($percent_margin = $margin/$vendorCatalogPricing.getTransferPrice())
44
                <tr>
46
                <tr>
45
                    <td>$suppliers.get($vendorCatalogPricing.getVendorId()).getName()</td>
47
                    <td>$suppliers.get($vendorCatalogPricing.getVendorId()).getName()</td>
46
 
-
 
47
                <td>$vendorCatalogPricing.getCatalogId()</td>
48
                    <td>$vendorCatalogPricing.getCatalogId()</td>
48
                    <td>$itemMap.get($vendorCatalogPricing.getCatalogId()).get(0).getItemDescriptionNoColor()</td>
49
                    <td>$itemMap.get($vendorCatalogPricing.getCatalogId()).get(0).getItemDescriptionNoColor()</td>
49
                <td>$vendorCatalogPricing.getTransferPrice()</td>
50
                    <td>$vendorCatalogPricing.getTransferPrice()</td>
50
                <td>$vendorCatalogPricing.getDealerPrice()</td>
51
                    <td>$vendorCatalogPricing.getDealerPrice()</td>
51
                <td>$vendorCatalogPricing.getMop()</td>
52
                    <td>$vendorCatalogPricing.getMop()</td>
-
 
53
                    <td>$margin</td>
-
 
54
                    <td>$vendorCatalogPricing.getMarginPercent() %</td>
-
 
55
                    <td data-t="s"
52
                <td data-t="s" data-v="$vendorCatalogPricing.getEffectedOn()">$vendorCatalogPricing.getEffectedOn().format($dateFormatter)</td>
56
                        data-v="$vendorCatalogPricing.getEffectedOn()">$vendorCatalogPricing.getEffectedOn().format($dateFormatter)</td>
53
               </tr>
57
               </tr>
54
                 #end
58
                 #end
55
                 
59
                 
56
             </tbody>
60
             </tbody>
57
             </table>
61
             </table>
58
  </div>
62
  </div>
-
 
63
 
-
 
64
 
59
             
65
             
60
                 
66
                 
61
67