Subversion Repositories SmartDukaan

Rev

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

Rev 29785 Rev 29845
Line 2... Line 2...
2
<style>
2
<style>
3
.table {
3
.table {
4
	background-image:
4
	background-image:
5
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='100px' width='100px'><text transform='translate(20, 100) rotate(-45)' fill='rgb(211,211,211)' font-size='20'>$partnerCode</text></svg>");
5
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='100px' width='100px'><text transform='translate(20, 100) rotate(-45)' fill='rgb(211,211,211)' font-size='20'>$partnerCode</text></svg>");
6
}
6
}
-
 
7
.highlight-br {
-
 
8
 border-right:1px solid #aaa !important;
-
 
9
}
7
</style>
10
</style>
8
 
11
 
9
<script type="text/javascript">
12
<script type="text/javascript">
10
	$(document).ready(function() {
13
	$(document).ready(function() {
11
 
14
 
Line 56... Line 59...
56
					<th rowspan=2>MOP</th>
59
					<th rowspan=2>MOP</th>
57
					<th rowspan=2>DP</th>
60
					<th rowspan=2>DP</th>
58
					<th colspan=3 style="text-align: center">Sell In Margin</th>
61
					<th colspan=3 style="text-align: center">Sell In Margin</th>
59
					<th colspan=4 style="text-align: center">Sell Out Margin</th>
62
					<th colspan=4 style="text-align: center">Sell Out Margin</th>
60
					<th rowspan=2>Activation Payout</th>
63
					<th rowspan=2>Activation Payout</th>
-
 
64
					#if($upgradeOffer)
-
 
65
					<th rowspan=2>Upgrade Offer</th>
-
 
66
					#end
61
					#foreach($offer in $offers)
67
					#foreach($offer in $offers)
62
						#set($fieldIndex=$velocityCount*2 + 12)
68
						#set($fieldIndex=$velocityCount*2 + 12)
63
						<th data-idx=$fieldIndex" colspan=2 data-offerid="$offer.getId()"><a href="javascript:void(0)" class="mk_partner_view">$offer.getName()</a></th>
69
						<th data-idx="$fieldIndex" colspan=2 data-offerid="$offer.getId()"><a href="javascript:void(0)" class="mk_partner_view">$offer.getName()</a></th>
64
					#end
70
					#end
65
					<th rowspan=2>Total Margin</th>
71
					<th rowspan=2>Total Margin</th>
66
					<th rowspan=2>Net Landing Price</th>
72
					<th rowspan=2>Net Landing Price</th>
67
					<th rowspan=2>MOP-DP</th>
73
					<th rowspan=2>MOP-DP</th>
68
					<th rowspan=2>Total Profit</th>
74
					<th rowspan=2>Total Profit</th>
Line 108... Line 114...
108
					<td class="currency">$pc.getTertiaryPayout()</td>
114
					<td class="currency">$pc.getTertiaryPayout()</td>
109
					<td class="currency">$pc.getHygienePayout()</td>
115
					<td class="currency">$pc.getHygienePayout()</td>
110
					<td class="currency">$pc.getCategoryPayout()</td>
116
					<td class="currency">$pc.getCategoryPayout()</td>
111
					<td class="currency">$pc.getInvestmentPayout()</td>
117
					<td class="currency">$pc.getInvestmentPayout()</td>
112
					<td class="currency">$pc.getModelSpecfic()</td>
118
					<td class="currency">$pc.getModelSpecfic()</td>
-
 
119
					#if($upgradeOffer)
-
 
120
					<td class="currency">$pc.getUpgradeOffer()</td>
-
 
121
					#end
113
					#foreach($slabPayout in $pc.getSlabPayouts())
122
					#foreach($slabPayout in $pc.getSlabPayouts())
114
					#if($slabPayout.size()>0)
123
					#if($slabPayout.size()>0)
115
					<td>
124
					<td>
116
					<select>
125
					<select>
117
						#foreach($payout in $slabPayout.entrySet())
126
						#foreach($payout in $slabPayout.entrySet())