Subversion Repositories SmartDukaan

Rev

Rev 11018 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
11015 kshitij.so 1
#set ($analysisData = $action.getAnalysisData())
2
<table id="snapdeal-competition-table" style="width: 100%;font-size:12px;">
3
        <thead>
4
            <tr>
5
				<th></th>
6
				<th>TimeStamp</th>
7
				<th>Competitive Category</th>
8
                <th>Our SP</th>
9
				<th>Our Offer Price</th>
10
				<th>Our TP</th>
11
				<th>Rank</th>
12
				<th>Competitor</th>
13
				<th>Competitor SP</th>
14
				<th>Competitor Offer Price</th>
15
                <th>Competitor TP</th>
16
				<th>Competitor Inventory</th>
17
				<th>Our Snapdeal Inventory</th>
18
				<th>Avg Sale</th>
19
				<th>Our NLC</th>
20
				<th>Lowest Possible SP</th>
21
				<th>Lowest Possible TP</th>
22
				<th>Subsidy Diff</th>
23
				<th>Target SP</th>
24
				<th>Target TP</th>
25
				<th>Sales Potential</th>
26
            </tr>
27
        </thead>
28
        <tbody>
29
			#foreach ( $item in $analysisData )
30
			#if($velocityCount<11)
31
            <tr style="border: 1px" class="$item.getTimestamp()">
32
				#if ($item.isToGroup())
33
					#set( $temp = $velocityCount)
34
					<td indexPos="$velocityCount" dateVal="$item.getTimestamp()" dateValNext="$analysisData.get($temp).getTimestamp()" expanded="0" oneTime="0">
35
						<a href="javascript:void(0)" class="expandRow" title="Click to expand">
36
						<img style="width: 15px; padding-top: 1px;" src="/Support/images/add_green_button.png">
37
						</a>
38
					</td>
39
				#else
40
					<td indexPos="$velocityCount" dateVal="$item.getTimestamp()" dateValNext="$analysisData.get($temp).getTimestamp()"></td>
41
				#end
42
                <td style="text-align:center;">$action.getDate($item.getTimestamp())</td>
43
				<td style="text-align:center;">$item.getCompetitiveCategory()</td>
44
				<td style="text-align:center;">$item.getOurSellingPrice()</td>
45
				<td style="text-align:center;">$item.getOurOfferPrice()</td>
46
				<td style="text-align:center;">$item.getOurTp()</td>
47
				<td style="text-align:center;">$item.getOurRank()</td>
48
				#if ($item.getCompetitiveCategory()=='BUY_BOX')
49
					<td style="text-align:center;">$item.getSecondLowestSellerName()</td>
50
				#else
51
					<td style="text-align:center;">$item.getLowestSellerName()</td>
52
				#end
53
				#if ($item.getCompetitiveCategory()=='BUY_BOX')
54
					<td style="text-align:center;">$item.getSecondLowestSellingPrice()</td>
55
				#else
56
					<td style="text-align:center;">$item.getLowestSellingPrice()</td>
57
				#end
58
				#if ($item.getCompetitiveCategory()=='BUY_BOX')
59
					<td style="text-align:center;">$item.secondLowestOfferPrice()</td>
60
				#else
61
					<td style="text-align:center;">$item.getLowestOfferPrice()</td>
62
				#end
63
				#if ($item.getCompetitiveCategory()=='BUY_BOX')
64
					<td style="text-align:center;">$item.secondLowestTp()</td>
65
				#else
66
					<td style="text-align:center;">$item.getLowestTp()</td>
67
				#end
68
				#if ($item.getCompetitiveCategory()=='BUY_BOX')
69
					<td style="text-align:center;">$item.getSecondLowestInventory()</td>
70
				#else
71
					<td style="text-align:center;">$item.getOtherInventory()</td>
72
				#end
73
				<td style="text-align:center;">$item.getOurInventory()</td>
74
				<td style="text-align:center;">$item.getAverageSale()</td>
75
				<td style="text-align:center;">$item.getOurNlc()</td>
76
				<td style="text-align:center;">$item.getLowest_possible_sp()</td>
77
				<td style="text-align:center;">$item.getLowest_possible_tp()</td>
78
				#if ($item.getCompetitiveCategory()=='BUY_BOX')
79
					<td style="text-align:center;"></td>
80
				#else
81
					<td style="text-align:center;"></td>
82
				#end
83
				<td style="text-align:center;">$item.getProposedSellingPrice()</td>
84
				<td style="text-align:center;">$item.getProposedTp()</td>
85
				#if ($item.getSalesPotential())
86
					<td style="text-align:center;">$item.getSalesPotential()</td>
87
				#else
88
					<td style="text-align:center;"></td>
89
				#end
90
            </tr>
91
			#end
92
			#end
93
        </tbody>
94
    </table>