Subversion Repositories SmartDukaan

Rev

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

Rev 31180 Rev 31211
Line 82... Line 82...
82
				 <thead>
82
				 <thead>
83
	    				<tr>
83
	    				<tr>
84
	    				<th>Stores</th>
84
	    				<th>Stores</th>
85
	    				<th>Code</th>
85
	    				<th>Code</th>
86
	    				<th>Category</th>
86
	    				<th>Category</th>
-
 
87
	    				<th>Sale Target</th>
-
 
88
	    			    <th>Purchase Target</th>
87
	    				<th>Counter Size</th>
89
	    				<th>Counter Size</th>
88
	    				<th>Manager</th>
90
	    				<th>Manager</th>
89
	    			    <th>LMS</th>
91
	    			    <th>LMS</th>
90
	    				<th>LMTD</th>
92
	    				<th>LMTD</th>
91
	    				<th>MTD</th>
93
	    				<th>MTD</th>
Line 108... Line 110...
108
	    			    #foreach($name in $fofoIdAndallValues.keySet())
110
	    			    #foreach($name in $fofoIdAndallValues.keySet())
109
	    				<tr>
111
	    				<tr>
110
	    	 		     <td>$fofoIdAndPartnerMap.get($name).getBusinessName()  ($fofoIdAndPartnerMap.get($name).getAddress().getCity())</td>
112
	    	 		     <td>$fofoIdAndPartnerMap.get($name).getBusinessName()  ($fofoIdAndPartnerMap.get($name).getAddress().getCity())</td>
111
	    	 		     <td>$fofoIdAndPartnerMap.get($name).getCode()</td>
113
	    	 		     <td>$fofoIdAndPartnerMap.get($name).getCode()</td>
112
	    	 		     <td>$fofoIdAndallValues.get($name).getPartnerType()</td>
114
	    	 		     <td>$fofoIdAndallValues.get($name).getPartnerType()</td>
-
 
115
	    	 		     #if($monthlyTargetMap.get($name).getSaleTarget())
-
 
116
	    	 		     <td>$monthlyTargetMap.get($name).getSaleTarget()</td>
-
 
117
	    	 		     #else
-
 
118
	    	 		      <td>-</td>
-
 
119
	    	 		   
-
 
120
	    	 		     #end
-
 
121
	    	 		     #if($monthlyTargetMap.get($name).getPurchaseTarget())
-
 
122
	    	 		     <td>$monthlyTargetMap.get($name).getPurchaseTarget()</td>
-
 
123
	    	 		     #else
-
 
124
    	 		          <td>-</td>
-
 
125
    	 		
-
 
126
	    	 		     #end
113
	    	 		     <td>$fofoIdAndPartnerMap.get($name).getCounterSize()</td>
127
	    	 		     <td>$fofoIdAndPartnerMap.get($name).getCounterSize()</td>
114
	    	 		 
128
	    	 		 
115
	    	 		     <td>$fofoIdAndallValues.get($name).getAuthUser()</td>
129
	    	 		     <td>$fofoIdAndallValues.get($name).getAuthUser()</td>
116
	    	 		     <td class="currency lmsSale" data-fofoid="$fofoIdAndPartnerMap.get($name).getPartnerId()" data-toggle="modal" data-target="#brandLMSSale">$fofoIdAndallValues.get($name).getLms()</td>    
130
	    	 		     <td class="currency lmsSale" data-fofoid="$fofoIdAndPartnerMap.get($name).getPartnerId()" data-toggle="modal" data-target="#brandLMSSale">$fofoIdAndallValues.get($name).getLms()</td>    
117
	    	 		     <td class="currency  lmtdSale" data-fofoid="$fofoIdAndPartnerMap.get($name).getPartnerId()" data-toggle="modal" data-target="#brandLMtdSale">$fofoIdAndallValues.get($name).getLmtd()</td>
131
	    	 		     <td class="currency  lmtdSale" data-fofoid="$fofoIdAndPartnerMap.get($name).getPartnerId()" data-toggle="modal" data-target="#brandLMtdSale">$fofoIdAndallValues.get($name).getLmtd()</td>
Line 284... Line 298...
284
 
298
 
285
   var partnerTypes =  $("select.criteria-partnertype").val();
299
   var partnerTypes =  $("select.criteria-partnertype").val();
286
   
300
   
287
   console.log(partnerTypes);
301
   console.log(partnerTypes);
288
   var tablePartnerType = data[2];
302
   var tablePartnerType = data[2];
289
   var lastMonthSale = data[5];
303
   var lastMonthSale = data[7];
290
   
304
   
291
   console.log(lastMonthSale)
305
   console.log(lastMonthSale)
292
   lastMonthSale = lastMonthSale.replace(/,/g, "");
306
   lastMonthSale = lastMonthSale.replace(/,/g, "");
293
   
307
   
294
   console.log(lastMonthSale)
308
   console.log(lastMonthSale)