Subversion Repositories SmartDukaan

Rev

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

Rev 29653 Rev 29785
Line 56... Line 56...
56
					<th rowspan=2>MOP</th>
56
					<th rowspan=2>MOP</th>
57
					<th rowspan=2>DP</th>
57
					<th rowspan=2>DP</th>
58
					<th colspan=3 style="text-align: center">Sell In Margin</th>
58
					<th colspan=3 style="text-align: center">Sell In Margin</th>
59
					<th colspan=4 style="text-align: center">Sell Out Margin</th>
59
					<th colspan=4 style="text-align: center">Sell Out Margin</th>
60
					<th rowspan=2>Activation Payout</th>
60
					<th rowspan=2>Activation Payout</th>
-
 
61
					#foreach($offer in $offers)
-
 
62
						#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>
-
 
64
					#end
61
					<th rowspan=2>Total Margin</th>
65
					<th rowspan=2>Total Margin</th>
62
					<th rowspan=2>Net Landing Price</th>
66
					<th rowspan=2>Net Landing Price</th>
63
					<th rowspan=2>MOP-DP</th>
67
					<th rowspan=2>MOP-DP</th>
64
					<th rowspan=2>Total Profit</th>
68
					<th rowspan=2>Total Profit</th>
65
					<th rowspan=2>Net % Margin</th>
69
					<th rowspan=2>Net % Margin</th>
Line 74... Line 78...
74
					<th>Upfront Margin</th>
78
					<th>Upfront Margin</th>
75
					<th>Tertiary Payout</th>
79
					<th>Tertiary Payout</th>
76
					<th>Hygiene Payout</th>
80
					<th>Hygiene Payout</th>
77
					<th>Category Payout</th>
81
					<th>Category Payout</th>
78
					<th>Investment Payout</th>
82
					<th>Investment Payout</th>
-
 
83
					#foreach($offer in $offers)
-
 
84
						<th>Target</th>
-
 
85
						<th>Margin</th>
-
 
86
					#end
79
 
87
 
80
 
88
 
81
 
89
 
82
				</tr>
90
				</tr>
83
 
91
 
Line 100... Line 108...
100
					<td class="currency">$pc.getTertiaryPayout()</td>
108
					<td class="currency">$pc.getTertiaryPayout()</td>
101
					<td class="currency">$pc.getHygienePayout()</td>
109
					<td class="currency">$pc.getHygienePayout()</td>
102
					<td class="currency">$pc.getCategoryPayout()</td>
110
					<td class="currency">$pc.getCategoryPayout()</td>
103
					<td class="currency">$pc.getInvestmentPayout()</td>
111
					<td class="currency">$pc.getInvestmentPayout()</td>
104
					<td class="currency">$pc.getModelSpecfic()</td>
112
					<td class="currency">$pc.getModelSpecfic()</td>
-
 
113
					#foreach($slabPayout in $pc.getSlabPayouts())
-
 
114
					#if($slabPayout.size()>0)
-
 
115
					<td>
-
 
116
					<select>
-
 
117
						#foreach($payout in $slabPayout.entrySet())
-
 
118
							<option data-value="$payout.getValue()" value="$payout.getKey()">$payout.getKey() onwards</option>
-
 
119
						#end
-
 
120
					</select>
-
 
121
					</td>
-
 
122
					<td class="currency">$slabPayout.values().iterator().next()</td>
-
 
123
					#else
-
 
124
					<td> - </td>
-
 
125
					<td> - </td>
-
 
126
					#end
-
 
127
					#end
105
					<td class="currency">$pc.getTotalScheme()</td>
128
					<td class="currency">$pc.getTotalScheme()</td>
106
					<td class="currency">$pc.getNetPrice()</td>
129
					<td class="currency">$pc.getNetPrice()</td>
107
					<td class="currency">$pc.getMopdp()</td>
130
					<td class="currency">$pc.getMopdp()</td>
108
					<td class="currency">$pc.getTotalProfit()</td>
131
					<td class="currency">$pc.getTotalProfit()</td>
109
					<td>$pc.getNetMargin()</td>
132
					<td>$pc.getNetMargin()</td>
Line 111... Line 134...
111
				</tr>
134
				</tr>
112
				#end
135
				#end
113
			</tbody>
136
			</tbody>
114
		</table>
137
		</table>
115
	</div>
138
	</div>
-
 
139
	
-
 
140
			<div class="offer-margin-container">
-
 
141
            <div class="modal  text-center" id="offerDescription">
-
 
142
                <div class="modal-dialog modal-lg modal-dialog-scrollable">
-
 
143
                    <div class="modal-content">
-
 
144
                    </div>
-
 
145
                </div>
-
 
146
            </div>
-
 
147
        </div>
116
</body>
148
</body>
117
<script type="text/javascript">
149
<script type="text/javascript">
118
	$(document).ready(function() {
150
	$(document).ready(function() {
119
		var dtable = $('#circular-table').DataTable({
151
		priceCircularTable = $('#circular-table').DataTable({
120
 
-
 
-
 
152
			"scrollX": true,
121
			"bPaginate" : true,
153
			"bPaginate" : true,
122
			"bLengthChange" : true,
154
			"bLengthChange" : true,
123
			"bFilter" : true,
155
			"bFilter" : true,
124
			"bInfo" : false,
156
			"bInfo" : false,
125
			"bAutoWidth" : false,
157
			"bAutoWidth" : false,
126
 
158
 
127
		}
-
 
128
 
-
 
129
		);
159
		});
130
	});
160
	});
131
</script>
161
</script>
132
162