Subversion Repositories SmartDukaan

Rev

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

Rev 29848 Rev 29889
Line 10... Line 10...
10
</style>
10
</style>
11
 
11
 
12
<script type="text/javascript">
12
<script type="text/javascript">
13
	$(document).ready(function() {
13
	$(document).ready(function() {
14
 
14
 
15
		$('body').bind('cut copy paste', function(e) {
15
		$('body').bind('copy', function(e) {
16
			return false;
16
			return false;
17
		});
17
		});
18
		$('#circular-table').contextmenu(function() {
18
		$('#circular-table').contextmenu(function() {
19
			return false;
19
			return false;
20
		});
20
		});
Line 50... Line 50...
50
			id="circular-table">
50
			id="circular-table">
51
 
51
 
52
			<thead>
52
			<thead>
53
				<tr>
53
				<tr>
54
 
54
 
55
					<th rowspan=2>Item Id</th>
-
 
56
					<th rowspan=2>Model</th>
55
					<th rowspan=2>Model</th>
57
					<th rowspan=2>Type</th>
56
					<th rowspan=2>Type</th>
58
					<th rowspan=2>MRP</th>
57
					<th rowspan=2>MRP</th>
59
					<th rowspan=2>MOP</th>
58
					<th rowspan=2>MOP</th>
60
					<th rowspan=2>DP</th>
59
					<th rowspan=2>DP</th>
Line 65... Line 64...
65
					#if($upgradeOffer)
64
					#if($upgradeOffer)
66
					<th rowspan=2>Upgrade Offer</th>
65
					<th rowspan=2>Upgrade Offer</th>
67
					#set($add=1)
66
					#set($add=1)
68
					#end
67
					#end
69
					#foreach($offer in $offers)
68
					#foreach($offer in $offers)
70
						#set($fieldIndex=$velocityCount*2 + (12 + $add))
69
						#set($fieldIndex=$velocityCount*2 + (11 + $add))
71
						<th data-idx="$fieldIndex" colspan=2 data-offerid="$offer.getId()"><a href="javascript:void(0)" class="mk_partner_view">$offer.getName()</a></th>
70
						<th data-idx="$fieldIndex" colspan=2 data-offerid="$offer.getId()"><a href="javascript:void(0)" class="mk_partner_view">$offer.getName()</a></th>
72
					#end
71
					#end
73
					<th rowspan=2>Total Margin</th>
72
					<th rowspan=2>Total Margin</th>
74
					<th rowspan=2>Net Landing Price</th>
73
					<th rowspan=2>Net Landing Price</th>
75
					<th rowspan=2>MOP-DP</th>
74
					<th rowspan=2>MOP-DP</th>
Line 101... Line 100...
101
 
100
 
102
			</thead>
101
			</thead>
103
			<tbody>
102
			<tbody>
104
				#foreach($pc in $priceCircular )
103
				#foreach($pc in $priceCircular )
105
				<tr>
104
				<tr>
106
 
-
 
107
					<td>$pc.getItemId()</td>
-
 
108
					<td>$pc.getModelName() $pc.getModelNumber() ($pc.getColor())</td>
105
					<td>$pc.getModelName() $pc.getModelNumber() ($pc.getColor())</td>
109
					<td>$pc.getType()</td>
106
					<td>$pc.getType()</td>
110
					<td class="currency">$pc.getMrp()</td>
107
					<td class="currency">$pc.getMrp()</td>
111
					<td class="currency">$pc.getMop()</td>
108
					<td class="currency">$pc.getMop()</td>
112
					<td class="currency dp" data-value="$pc.getSellingPrice()">$pc.getSellingPrice()</td>
109
					<td class="currency dp" data-value="$pc.getSellingPrice()">$pc.getSellingPrice()</td>
Line 164... Line 161...
164
			"bPaginate" : true,
161
			"bPaginate" : true,
165
			"bLengthChange" : true,
162
			"bLengthChange" : true,
166
			"bFilter" : true,
163
			"bFilter" : true,
167
			"bInfo" : false,
164
			"bInfo" : false,
168
			"bAutoWidth" : false,
165
			"bAutoWidth" : false,
-
 
166
			"pageLength": 100
169
 
167
 
170
		});
168
		});
171
	});
169
	});
172
	$('select.mk_criteria_slab').change(function() {
170
	$('select.mk_criteria_slab').change(function() {
173
		debugger;
171
		debugger;