Subversion Repositories SmartDukaan

Rev

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

Rev 17673 Rev 17712
Line 39... Line 39...
39
					echo $this->Form->input('stock_status',array('type'=>'text','value'=>$data['stock_status']));
39
					echo $this->Form->input('stock_status',array('type'=>'text','value'=>$data['stock_status']));
40
					echo $this->Form->input('thumbnail',array('value'=>$data['thumbnail']));
40
					echo $this->Form->input('thumbnail',array('value'=>$data['thumbnail']));
41
					echo $this->Form->input('url',array('value'=>$data['url']));
41
					echo $this->Form->input('url',array('value'=>$data['url']));
42
 
42
 
43
					echo $this->Form->input('quantity',array('type'=>'number','value'=>$data['quantity']));
43
					echo $this->Form->input('quantity',array('type'=>'number','value'=>$data['quantity']));
-
 
44
					echo $this->Form->input('shippingCost',array('value'=>$data['shippingData']));
-
 
45
 
44
					echo $this->Form->input('videoLink',array('value'=>$data['videoLink']));
46
					echo $this->Form->input('videoLink',array('value'=>$data['videoLink']));
45
					$arrCategory=array(0=>"False",1=>"True");
47
					$arrCategory=array(0=>"False",1=>"True");
46
    				echo $this->Form->input('showVideo', array('options'=>$arrCategory, 'selected'=>$data['showVideo']));
48
    				echo $this->Form->input('showVideo', array('options'=>$arrCategory, 'selected'=>$data['showVideo']));
-
 
49
 
-
 
50
 
47
    				$arrSubCategory=array(0=>'None',7=>'Memory Card',8=>'Data Cable',9=>'USB Light',10=>'Screen Magnifier',11=>'Car Charger',12=>'Power Bank',13=>'Pendrive',14=>'Combo',15=>'Charger',16=>'Bluetooth Headset',17=>'Speaker');
51
    				$arrSubCategory=array(0=>'None',7=>'Memory Card',8=>'Data Cable',9=>'USB Light',10=>'Screen Magnifier',11=>'Car Charger',12=>'Power Bank',13=>'Pendrive',14=>'Combo',15=>'Charger',16=>'Bluetooth Headset',17=>'Speaker',18=>'Adapter', 19=>'Cases',20=>'Screen Guard',21=>'Headphone',22=>'Card Reader',23=>'Mobile Holder' );
-
 
52
 
-
 
53
    				
48
    				echo $this->Form->input('subCategoryId', array('options'=>$arrSubCategory, 'selected'=>$data['subCategoryId']));
54
    				echo $this->Form->input('subCategoryId', array('options'=>$arrSubCategory, 'selected'=>$data['subCategoryId']));
49
 
55
 
50
					echo $this->Form->input('offer',array('value'=>$data['offer'],'type'=>'textarea'));
56
					echo $this->Form->input('offer',array('value'=>$data['offer'],'type'=>'textarea'));
51
					echo $this->Form->input('tagline',array('value'=>$data['tagline'],'type'=>'textarea'));
57
					echo $this->Form->input('tagline',array('value'=>$data['tagline'],'type'=>'textarea'));
52
					echo $this->Form->input('is_shortage',array('type'=>'select','options'=>$shortage_status,'default'=>$data['is_shortage']));
58
					echo $this->Form->input('is_shortage',array('type'=>'select','options'=>$shortage_status,'default'=>$data['is_shortage']));