Subversion Repositories SmartDukaan

Rev

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

Rev 10695 Rev 10713
Line 865... Line 865...
865
		{$response['render']=$render['render'];}
865
		{$response['render']=$render['render'];}
866
 
866
 
867
	return $response;
867
	return $response;
868
	//print_r($data);
868
	//print_r($data);
869
}
869
}
-
 
870
function deleteAddress($data=array())
-
 
871
{
-
 
872
 
-
 
873
	$response =array();
-
 
874
	if(isset($data['response']) && !empty($data['response'])){
-
 
875
		$response[] = json_decode($data['response']);
-
 
876
		
-
 
877
	}
-
 
878
	$render = $this->config->item(__FUNCTION__);
-
 
879
	if(isset($render['render']) and !empty($render['render']))
-
 
880
		{$response['render']=$render['render'];}
-
 
881
 
-
 
882
	return $response;
-
 
883
	//print_r($data);
-
 
884
}
870
 
885
 
871
function cartinsure($data=array())
886
function cartinsure($data=array())
872
{
887
{
873
   
888
   
874
	$response =array();
889
	$response =array();
Line 1360... Line 1375...
1360
	return $response;
1375
	return $response;
1361
	//print_r($data);
1376
	//print_r($data);
1362
}
1377
}
1363
function details($data=array())
1378
function details($data=array())
1364
{
1379
{
1365
	//print_r($data);
1380
	print_r($data);
1366
	//die();
1381
	die();
1367
	$response =array();
1382
	$response =array();
1368
		if(isset($data['response']) && !empty($data['response'])){
1383
		if(isset($data['response']) && !empty($data['response'])){
1369
		$data = json_decode($data['response']);
1384
		$data = json_decode($data['response']);
1370
		foreach($data as $d){
1385
		foreach($data as $d){
1371
			$childarray=array();
1386
			$childarray=array();