Subversion Repositories SmartDukaan

Rev

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

Rev 27661 Rev 27893
Line 54... Line 54...
54
	    				<th>Category</th>
54
	    				<th>Category</th>
55
	    				<th>Manager</th>
55
	    				<th>Manager</th>
56
	    			    <th>LMS</th>
56
	    			    <th>LMS</th>
57
	    				<th>LMTD</th>
57
	    				<th>LMTD</th>
58
	    				<th>MTD</th>
58
	    				<th>MTD</th>
-
 
59
	    				<th>Sec.LMS</th>
-
 
60
	    				<th>Sec.LMTD</th>
-
 
61
	    				<th>Sec.MTD</th>
59
	    				<th>Sale Diff</th>
62
	    				<th>Sale Diff</th>
60
	    			    <th>Unbilled Activated Stock</th>
63
	    			    <th>Unbilled Activated Stock</th>
61
	    			    <th>Wallet Amount</th>
64
	    			    <th>Wallet Amount</th>
62
	    				<th>In Stock Investment</th>
65
	    				<th>In Stock Investment</th>
63
	    				<th>Total Investment</th>
66
	    				<th>Total Investment</th>
Line 75... Line 78...
75
	    	 		     <td>$fofoIdAndallValues.get($name).getPartnerType()</td>
78
	    	 		     <td>$fofoIdAndallValues.get($name).getPartnerType()</td>
76
	    	 		     <td>$fofoIdAndallValues.get($name).getAuthUser()</td>
79
	    	 		     <td>$fofoIdAndallValues.get($name).getAuthUser()</td>
77
	    	 		     <td class="currency lmsSale" data-fofoid="$fofoIdAndPartnerMap.get($name).getPartnerId()" data-toggle="modal" data-target="#brandLMSSale">$fofoIdAndallValues.get($name).getLms()</td>    
80
	    	 		     <td class="currency lmsSale" data-fofoid="$fofoIdAndPartnerMap.get($name).getPartnerId()" data-toggle="modal" data-target="#brandLMSSale">$fofoIdAndallValues.get($name).getLms()</td>    
78
	    	 		     <td class="currency  lmtdSale" data-fofoid="$fofoIdAndPartnerMap.get($name).getPartnerId()" data-toggle="modal" data-target="#brandLMtdSale">$fofoIdAndallValues.get($name).getLmtd()</td>
81
	    	 		     <td class="currency  lmtdSale" data-fofoid="$fofoIdAndPartnerMap.get($name).getPartnerId()" data-toggle="modal" data-target="#brandLMtdSale">$fofoIdAndallValues.get($name).getLmtd()</td>
79
	    	 		     <td class="currency mtdSale" data-fofoid="$fofoIdAndPartnerMap.get($name).getPartnerId()" data-toggle="modal" data-target="#brandMtdSale">$fofoIdAndallValues.get($name).getMtd()</td>
82
	    	 		     <td class="currency mtdSale" data-fofoid="$fofoIdAndPartnerMap.get($name).getPartnerId()" data-toggle="modal" data-target="#brandMtdSale">$fofoIdAndallValues.get($name).getMtd()</td>
-
 
83
	    	 		    
-
 
84
	    	 		     <td class="currency lmsSecSale" data-fofoid="$fofoIdAndPartnerMap.get($name).getPartnerId()" data-toggle="modal" data-target="#brandSecSale">$fofoIdAndallValues.get($name).getSecondarylms()</td>    
-
 
85
	    	 		     <td class="currency  lmtdSecSale" data-fofoid="$fofoIdAndPartnerMap.get($name).getPartnerId()" data-toggle="modal" data-target="#brandSecSale">$fofoIdAndallValues.get($name).getSecondarylmtd()</td>
-
 
86
	    	 		     <td class="currency mtdSecSale" data-fofoid="$fofoIdAndPartnerMap.get($name).getPartnerId()" data-toggle="modal" data-target="#brandSecSale">$fofoIdAndallValues.get($name).getSecondarymtd()</td>
-
 
87
	    	 		   
80
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getSaleDiff()</td>
88
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getSaleDiff()</td>
81
	    	 		     <td class="currency" id="activatedStock" data-fofoid="$fofoIdAndPartnerMap.get($name).getPartnerId()" data-toggle="modal" data-target="#activateStock">$fofoIdAndallValues.get($name).getInvestment().getActivatedStockAmount()</td> 
89
	    	 		     <td class="currency" id="activatedStock" data-fofoid="$fofoIdAndPartnerMap.get($name).getPartnerId()" data-toggle="modal" data-target="#activateStock">$fofoIdAndallValues.get($name).getInvestment().getActivatedStockAmount()</td> 
82
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getWalletAmount()</td>
90
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getWalletAmount()</td>
83
	    	 		     <td class="currency instock" data-fofoid="$fofoIdAndPartnerMap.get($name).getPartnerId()" data-toggle="modal" data-target="#inStockItem" >$fofoIdAndallValues.get($name).getInvestment().getInStockAmount()</td>
91
	    	 		     <td class="currency instock" data-fofoid="$fofoIdAndPartnerMap.get($name).getPartnerId()" data-toggle="modal" data-target="#inStockItem" >$fofoIdAndallValues.get($name).getInvestment().getInStockAmount()</td>
84
	    	 		     <td class="currency"  id="investment" data-fofoid="$fofoIdAndPartnerMap.get($name).getPartnerId()" data-toggle="modal" data-target="#partnerInvestment">$fofoIdAndallValues.get($name).getInvestment().getTotalInvestment()</td>
92
	    	 		     <td class="currency"  id="investment" data-fofoid="$fofoIdAndPartnerMap.get($name).getPartnerId()" data-toggle="modal" data-target="#partnerInvestment">$fofoIdAndallValues.get($name).getInvestment().getTotalInvestment()</td>
Line 171... Line 179...
171
	     
179
	     
172
    </div>
180
    </div>
173
   </div>
181
   </div>
174
 </div>	
182
 </div>	
175
 
183
 
-
 
184
    <div id="brandSecSale" class="modal" role="dialog">
-
 
185
	  <div class="modal-dialog">
-
 
186
	    <div class="modal-content">
176
 
187
	     
-
 
188
    </div>
-
 
189
   </div>
-
 
190
 </div>	
177
</section>
191
</section>
178
<script type="text/javascript">
192
<script type="text/javascript">
179
 
193
 
180
 
194
 
181
$(document).ready(function() {
195
$(document).ready(function() {
Line 193... Line 207...
193
                    .draw();
207
                    .draw();
194
            }
208
            }
195
        } );
209
        } );
196
    } )
210
    } )
197
  var table = $('#authretailerstats').DataTable( {
211
  var table = $('#authretailerstats').DataTable( {
-
 
212
   "scrollX": true,
198
        orderCellsTop: true,
213
        orderCellsTop: true,
199
        fixedHeader: true
214
        fixedHeader: true
200
    } );
215
    } );
201
});
216
});
202
</script>
217
</script>
Line 282... Line 297...
282
				});
297
				});
283
});
298
});
284
 
299
 
285
$('#authretailerstats').on('click', '.lmsSale', function(){
300
$('#authretailerstats').on('click', '.lmsSale', function(){
286
 	var fofoId = $(this).data('fofoid');
301
 	var fofoId = $(this).data('fofoid');
-
 
302
 
287
 				doGetAjaxRequestHandler(context + "/getPatnerBrandWiseLMSSale?fofoId="
303
 				doGetAjaxRequestHandler(context + "/getPatnerBrandWiseLMSSale?fofoId="
288
						+ fofoId, function(response) {
304
						+ fofoId, function(response) {
289
					$('#brandLMSSale .modal-content').html(response);
305
					$('#brandLMSSale .modal-content').html(response);
290
 
306
 
291
				});
307
				});
292
});
308
});
293
 
309
 
-
 
310
$('#authretailerstats').on('click', '.lmsSecSale', function(){
-
 
311
 	var fofoId = $(this).data('fofoid');
-
 
312
 		$("#brand-secondary-model .modal-body").empty();
-
 
313
 				doGetAjaxRequestHandler(context + "/getPartnerSecondarySale?fofoId="
-
 
314
						+ fofoId+"&timeValue=lms" , function(response) {
-
 
315
					$('#brandSecSale .modal-content').html(response);
-
 
316
 
-
 
317
				});
-
 
318
});
-
 
319
 
-
 
320
$('#authretailerstats').on('click', '.mtdSecSale', function(){
-
 
321
 	var fofoId = $(this).data('fofoid');
-
 
322
 		$("#brand-secondary-model .modal-body").empty();
-
 
323
 				doGetAjaxRequestHandler(context + "/getPartnerSecondarySale?fofoId="
-
 
324
						+ fofoId+"&timeValue=mtd" , function(response) {
-
 
325
					$('#brandSecSale .modal-content').html(response);
-
 
326
 
-
 
327
				});
-
 
328
});
-
 
329
 
-
 
330
$('#authretailerstats').on('click', '.lmtdSecSale', function(){
-
 
331
 	var fofoId = $(this).data('fofoid');
-
 
332
 		$("#brand-secondary-model .modal-body").empty();
-
 
333
 				doGetAjaxRequestHandler(context + "/getPartnerSecondarySale?fofoId="
-
 
334
						+ fofoId+"&timeValue=lmtd" , function(response) {
-
 
335
					$('#brandSecSale .modal-content').html(response);
-
 
336
 
-
 
337
				});
-
 
338
});
294
 
339
 
295
$('#authretailerstats').on('click', '.openticket', function(){
340
$('#authretailerstats').on('click', '.openticket', function(){
296
 	var fofoId = $(this).data('fofoid');
341
 	var fofoId = $(this).data('fofoid');
297
 				doGetAjaxRequestHandler(context + "/getOpenTicketByFofoId?fofoId="
342
 				doGetAjaxRequestHandler(context + "/getOpenTicketByFofoId?fofoId="
298
						+ fofoId, function(response) {
343
						+ fofoId, function(response) {