Subversion Repositories SmartDukaan

Rev

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

Rev 31273 Rev 31298
Line 32... Line 32...
32
	    				
32
	    				
33
	    		     	</tr>
33
	    		     	</tr>
34
	    			
34
	    			
35
	    				#foreach( $milestone in $milestones )
35
	    				#foreach( $milestone in $milestones )
36
			    		
36
			    		
37
			    				<tr>
37
			    			<tr onclick="getPartnersPurchaseDetail($partnerIdsMap.get($milestone))">
38
			    			    	<td>$milestone</td>
38
			    			      	<td>$milestone</td>
39
			    			    	#if($smtdMap.get($milestone))
39
			    			    	#if($smtdMap.get($milestone))
40
			    					<td>$smtdMap.get($milestone)</td>
40
			    					<td>$smtdMap.get($milestone)</td>
41
			    					#else
41
			    					#else
42
			    					<td>0</td>
42
			    					<td>0</td>
43
			    					
43
			    					
Line 85... Line 85...
85
                + warehouseId, function (response) {
85
                + warehouseId, function (response) {
86
            $('.purchaseMilestoneContainer').html(response);
86
            $('.purchaseMilestoneContainer').html(response);
87
        });
87
        });
88
 
88
 
89
    }
89
    }
-
 
90
    
-
 
91
   	function getPartnersPurchaseDetail(partnerIds){
-
 
92
	
-
 
93
	      console.log(partnerIds)
-
 
94
		doGetAjaxRequestHandler(context + "/getMonthWisePurchase?fofoIds="+partnerIds,
-
 
95
			function(response) {
-
 
96
				$('#' + "main-content").html(response);
-
 
97
				console.log(response)
-
 
98
			});
-
 
99
	}
90
 
100
 
91
 
101
 
92
</script> 
102
</script> 
93
	
103
	
94
	
104