Subversion Repositories SmartDukaan

Rev

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

Rev 17591 Rev 17637
Line 38... Line 38...
38
 
38
 
39
					echo $this->Form->input('quantity',array('type'=>'number','value'=>$data['quantity']));
39
					echo $this->Form->input('quantity',array('type'=>'number','value'=>$data['quantity']));
40
					echo $this->Form->input('videoLink',array('value'=>$data['videoLink']));
40
					echo $this->Form->input('videoLink',array('value'=>$data['videoLink']));
41
					$arrCategory=array(0=>"False",1=>"True");
41
					$arrCategory=array(0=>"False",1=>"True");
42
    				echo $this->Form->input('showVideo', array('options'=>$arrCategory, 'selected'=>$data['showVideo']));
42
    				echo $this->Form->input('showVideo', array('options'=>$arrCategory, 'selected'=>$data['showVideo']));
-
 
43
    				$arrSubCategory=array(0=>'None',7=>'Memory Card',8=>'Data Cable',9=>'USB Light',10=>'Screen Magnifier');
-
 
44
    				echo $this->Form->input('subCategoryId', array('options'=>$arrSubCategory, 'selected'=>$data['subCategoryId']));
43
 
45
 
44
					echo $this->Form->input('offer',array('value'=>$data['offer'],'type'=>'textarea'));
46
					echo $this->Form->input('offer',array('value'=>$data['offer'],'type'=>'textarea'));
45
					echo $this->Form->input('tagline',array('value'=>$data['tagline'],'type'=>'textarea'));
47
					echo $this->Form->input('tagline',array('value'=>$data['tagline'],'type'=>'textarea'));
46
					echo $this->Form->input('is_shortage',array('type'=>'select','options'=>$shortage_status,'default'=>$data['is_shortage']));
48
					echo $this->Form->input('is_shortage',array('type'=>'select','options'=>$shortage_status,'default'=>$data['is_shortage']));
47
					echo $this->Form->input('buyBoxFlag',array('type'=>'select','options'=>$buyBoxFlag,'default'=>$data['buyBoxFlag']));
49
					echo $this->Form->input('buyBoxFlag',array('type'=>'select','options'=>$buyBoxFlag,'default'=>$data['buyBoxFlag']));