Subversion Repositories SmartDukaan

Rev

Rev 29653 | Rev 29845 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
28102 tejbeer 1
 
28117 tejbeer 2
<style>
28134 tejbeer 3
.table {
4
	background-image:
28136 tejbeer 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>");
28117 tejbeer 6
}
7
</style>
28134 tejbeer 8
 
9
<script type="text/javascript">
10
	$(document).ready(function() {
28139 tejbeer 11
 
12
		$('body').bind('cut copy paste', function(e) {
13
			return false;
14
		});
28134 tejbeer 15
		$('#circular-table').contextmenu(function() {
16
			return false;
17
		});
18
	});
19
</script>
28109 tejbeer 20
 
28139 tejbeer 21
<body>
22
	<div class="col-lg-12">
23
		<h4>Note</h4>
24
		<b>Hygiene Payout</b> - Hygiene Payout calculation is subject to sales
25
		hygiene including customer & other details entered in the system, pl
26
		refer to hygiene meter in your Dashboard.<br> <b>Tertiary
27
			Payout</b> - Tertiary Payout calculation is subject to activation of the
28
		handset against the sales entered in system. <br> <b>Investment
29
			Payout</b> - Investment Payout calculation is subject to maintenance of
30
		90% of minimum Investments for minimum 12 days in a month as per below
31
		slabs
32
		<ul>
33
			<li>a) 2% in case minimum investment is 90% or above for 12 days
34
				or more in a month</li>
35
			<li>b) 1% in case of minimum investment is 90% or above for 8-11
36
				days in a month</li>
37
			<li>c) No payout in case of minimum investment is less than 8
38
				days in a month to change at the discretion of SmartDukaan.</li>
39
		</ul>
40
		<b>Below Price Structure is subject to change at the discretion of
41
			SmartDukaan.</b>
28102 tejbeer 42
 
28139 tejbeer 43
	</div>
28102 tejbeer 44
 
28139 tejbeer 45
	<div class="col-lg-12">
46
		<table class="table table-border table-condensed table-bordered"
47
			id="circular-table">
28102 tejbeer 48
 
28139 tejbeer 49
			<thead>
50
				<tr>
28102 tejbeer 51
 
28139 tejbeer 52
					<th rowspan=2>Item Id</th>
53
					<th rowspan=2>Model</th>
54
					<th rowspan=2>Type</th>
55
					<th rowspan=2>MRP</th>
56
					<th rowspan=2>MOP</th>
57
					<th rowspan=2>DP</th>
29653 tejbeer 58
					<th colspan=3 style="text-align: center">Sell In Margin</th>
28139 tejbeer 59
					<th colspan=4 style="text-align: center">Sell Out Margin</th>
60
					<th rowspan=2>Activation Payout</th>
29785 amit.gupta 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
28139 tejbeer 65
					<th rowspan=2>Total Margin</th>
66
					<th rowspan=2>Net Landing Price</th>
67
					<th rowspan=2>MOP-DP</th>
68
					<th rowspan=2>Total Profit</th>
69
					<th rowspan=2>Net % Margin</th>
28102 tejbeer 70
 
28139 tejbeer 71
				</tr>
28102 tejbeer 72
 
28139 tejbeer 73
				<tr>
28102 tejbeer 74
 
75
 
28139 tejbeer 76
					<th>Base Payout</th>
77
					<th>Cash Discount</th>
29653 tejbeer 78
					<th>Upfront Margin</th>
28139 tejbeer 79
					<th>Tertiary Payout</th>
80
					<th>Hygiene Payout</th>
81
					<th>Category Payout</th>
82
					<th>Investment Payout</th>
29785 amit.gupta 83
					#foreach($offer in $offers)
84
						<th>Target</th>
85
						<th>Margin</th>
86
					#end
28102 tejbeer 87
 
88
 
89
 
28139 tejbeer 90
				</tr>
28102 tejbeer 91
 
92
 
93
 
28139 tejbeer 94
			</thead>
95
			<tbody>
96
				#foreach($pc in $priceCircular )
97
				<tr>
28102 tejbeer 98
 
28139 tejbeer 99
					<td>$pc.getItemId()</td>
100
					<td>$pc.getModelName() $pc.getModelNumber() ($pc.getColor())</td>
101
					<td>$pc.getType()</td>
102
					<td class="currency">$pc.getMrp()</td>
103
					<td class="currency">$pc.getMop()</td>
104
					<td class="currency">$pc.getSellingPrice()</td>
105
					<td class="currency">$pc.getBasePayout()</td>
106
					<td class="currency">$pc.getCashDiscount()</td>
29653 tejbeer 107
					<td class="currency">$pc.getUpfrontMargin()</td>
28139 tejbeer 108
					<td class="currency">$pc.getTertiaryPayout()</td>
109
					<td class="currency">$pc.getHygienePayout()</td>
110
					<td class="currency">$pc.getCategoryPayout()</td>
111
					<td class="currency">$pc.getInvestmentPayout()</td>
112
					<td class="currency">$pc.getModelSpecfic()</td>
29785 amit.gupta 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
28139 tejbeer 128
					<td class="currency">$pc.getTotalScheme()</td>
129
					<td class="currency">$pc.getNetPrice()</td>
130
					<td class="currency">$pc.getMopdp()</td>
131
					<td class="currency">$pc.getTotalProfit()</td>
132
					<td>$pc.getNetMargin()</td>
28102 tejbeer 133
 
28139 tejbeer 134
				</tr>
135
				#end
136
			</tbody>
137
		</table>
138
	</div>
29785 amit.gupta 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>
28139 tejbeer 148
</body>
28102 tejbeer 149
<script type="text/javascript">
150
	$(document).ready(function() {
29785 amit.gupta 151
		priceCircularTable = $('#circular-table').DataTable({
152
			"scrollX": true,
28102 tejbeer 153
			"bPaginate" : true,
154
			"bLengthChange" : true,
155
			"bFilter" : true,
156
			"bInfo" : false,
157
			"bAutoWidth" : false,
158
 
29785 amit.gupta 159
		});
28102 tejbeer 160
	});
161
</script>