Subversion Repositories SmartDukaan

Rev

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

Rev 17650 Rev 17673
Line 18... Line 18...
18
					echo $this->Form->input('category',array('type'=>'text','value'=>$data['category']));
18
					echo $this->Form->input('category',array('type'=>'text','value'=>$data['category']));
19
					echo $this->Form->input('identifier',array('required'=>1,'value'=>$data['identifier']));					
19
					echo $this->Form->input('identifier',array('required'=>1,'value'=>$data['identifier']));					
20
					echo $this->Form->input('marketPlaceUrl',array('value'=>$data['marketPlaceUrl']));
20
					echo $this->Form->input('marketPlaceUrl',array('value'=>$data['marketPlaceUrl']));
21
					echo $this->Form->input('model_name',array('value'=>$data['model_name']));
21
					echo $this->Form->input('model_name',array('value'=>$data['model_name']));
22
					echo $this->Form->input('mrp',array('value'=>$data['mrp']));
22
					echo $this->Form->input('mrp',array('value'=>$data['mrp']));
-
 
23
 
-
 
24
					$showmrp=array(0=>"False",1=>"True");
-
 
25
    				echo $this->Form->input('showMrp', array('options'=>$showmrp, 'selected'=>$data['showMrp']));
-
 
26
 
23
					echo $this->Form->input('maxPrice',array('value'=>$data['maxPrice']));
27
					echo $this->Form->input('maxPrice',array('value'=>$data['maxPrice']));
24
					echo $this->Form->input('product_name',array('value'=>$data['product_name']));
28
					echo $this->Form->input('product_name',array('value'=>$data['product_name']));
25
					echo $this->Form->input('rank',array('value'=>$data['rank']));					
29
					echo $this->Form->input('rank',array('value'=>$data['rank']));					
26
					echo $this->Form->input('source_id',array('value'=>$data['source_id']));
30
					echo $this->Form->input('source_id',array('value'=>$data['source_id']));
27
					echo $this->Form->input('source',array('type'=>'text','value'=>$data['source']));
31
					echo $this->Form->input('source',array('type'=>'text','value'=>$data['source']));
Line 38... Line 42...
38
 
42
 
39
					echo $this->Form->input('quantity',array('type'=>'number','value'=>$data['quantity']));
43
					echo $this->Form->input('quantity',array('type'=>'number','value'=>$data['quantity']));
40
					echo $this->Form->input('videoLink',array('value'=>$data['videoLink']));
44
					echo $this->Form->input('videoLink',array('value'=>$data['videoLink']));
41
					$arrCategory=array(0=>"False",1=>"True");
45
					$arrCategory=array(0=>"False",1=>"True");
42
    				echo $this->Form->input('showVideo', array('options'=>$arrCategory, 'selected'=>$data['showVideo']));
46
    				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',11=>'Car Charger',12=>'Power Bank');
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');
44
    				echo $this->Form->input('subCategoryId', array('options'=>$arrSubCategory, 'selected'=>$data['subCategoryId']));
48
    				echo $this->Form->input('subCategoryId', array('options'=>$arrSubCategory, 'selected'=>$data['subCategoryId']));
45
 
49
 
46
					echo $this->Form->input('offer',array('value'=>$data['offer'],'type'=>'textarea'));
50
					echo $this->Form->input('offer',array('value'=>$data['offer'],'type'=>'textarea'));
47
					echo $this->Form->input('tagline',array('value'=>$data['tagline'],'type'=>'textarea'));
51
					echo $this->Form->input('tagline',array('value'=>$data['tagline'],'type'=>'textarea'));
48
					echo $this->Form->input('is_shortage',array('type'=>'select','options'=>$shortage_status,'default'=>$data['is_shortage']));
52
					echo $this->Form->input('is_shortage',array('type'=>'select','options'=>$shortage_status,'default'=>$data['is_shortage']));