Subversion Repositories SmartDukaan

Rev

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

Rev 16907 Rev 16983
Line 169... Line 169...
169
			 $counter++;
169
			 $counter++;
170
		}
170
		}
171
		$approvedFortnight = array();
171
		$approvedFortnight = array();
172
		for($i=0; $i<count($fortnight); $i++){
172
		for($i=0; $i<count($fortnight); $i++){
173
			$url = $this->apihost.'appUserBatchDrillDown/'.$userId.'/'.$fortnight[$i].'/'.$current_date;
173
			$url = $this->apihost.'appUserBatchDrillDown/'.$userId.'/'.$fortnight[$i].'/'.$current_date;
174
			$approvedFortnight[] = $this->make_request($url,null);
174
			$approvedFortnight[$i] = $this->make_request($url,null);
175
		// $url = $this->apihost.'appUserBatchDrillDown/1/16/2015';
175
		// $url = $this->apihost.'appUserBatchDrillDown/1/16/2015';
176
		// $approvedFortnight[] = $this->make_request($url,null);
176
		// $approvedFortnight[] = $this->make_request($url,null);
177
		}
177
		}
178
		
178
		// debug($approvedFortnight);
179
		$this->set(compact('fortnight','total_approved_amount','fortnight_amount','approvedFortnight'));		
179
		$this->set(compact('fortnight','total_approved_amount','fortnight_amount','approvedFortnight'));		
180
	// Approved End	
180
	// Approved End	
181
 
181
 
182
	// App Credit Start
182
	// App Credit Start
183
		$creditedFortnight = array();
183
		$creditedFortnight = array();