| 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');
|
43 |
$arrSubCategory=array(0=>'None',7=>'Memory Card',8=>'Data Cable',9=>'USB Light',10=>'Screen Magnifier',11=>'Car Charger',12=>'Power Bank');
|
| 44 |
echo $this->Form->input('subCategoryId', array('options'=>$arrSubCategory, 'selected'=>$data['subCategoryId']));
|
44 |
echo $this->Form->input('subCategoryId', array('options'=>$arrSubCategory, 'selected'=>$data['subCategoryId']));
|
| 45 |
|
45 |
|
| 46 |
echo $this->Form->input('offer',array('value'=>$data['offer'],'type'=>'textarea'));
|
46 |
echo $this->Form->input('offer',array('value'=>$data['offer'],'type'=>'textarea'));
|
| 47 |
echo $this->Form->input('tagline',array('value'=>$data['tagline'],'type'=>'textarea'));
|
47 |
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']));
|
48 |
echo $this->Form->input('is_shortage',array('type'=>'select','options'=>$shortage_status,'default'=>$data['is_shortage']));
|