Subversion Repositories SmartDukaan

Rev

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

Rev 17344 Rev 17471
Line 7... Line 7...
7
			<?php echo $this->Form->create('FeaturedDeal'); ?>
7
			<?php echo $this->Form->create('FeaturedDeal'); ?>
8
				<fieldset>
8
				<fieldset>
9
					<legend><?php echo __('Add Featured Deal'); ?></legend>
9
					<legend><?php echo __('Add Featured Deal'); ?></legend>
10
				<?php
10
				<?php
11
					echo $this->Form->input('skuBundleId',array('type'=>'number'));
11
					echo $this->Form->input('skuBundleId',array('type'=>'number'));
12
					echo $this->Form->input('FeaturedDeal.rankDetails.0',array('type'=>'number','label'=>'Default Rank'));
12
					//echo $this->Form->input('FeaturedDeal.rankDetails.0',array('type'=>'number','label'=>'Default Rank'));
13
					// $options = array(
13
					// $options = array(
14
					//     '3' => 'Mobiles',
14
					//     '3' => 'Mobiles',
15
					//     '5' => 'Tablets'
15
					//     '5' => 'Tablets'
16
					// );
16
					// );
17
 
17
 
Line 25... Line 25...
25
					// echo $this->Form->input('FeaturedDeal.rankDetails.3',array('type'=>'number','label'=>'Mobiles Rank','class' => 'categoryRank'));
25
					// echo $this->Form->input('FeaturedDeal.rankDetails.3',array('type'=>'number','label'=>'Mobiles Rank','class' => 'categoryRank'));
26
					// echo $this->Form->input('FeaturedDeal.rankDetails.5',array('type'=>'number','label'=>'Tablets Rank','class'=>'categoryRank','disabled'=>true));
26
					// echo $this->Form->input('FeaturedDeal.rankDetails.5',array('type'=>'number','label'=>'Tablets Rank','class'=>'categoryRank','disabled'=>true));
27
					echo $this->Form->input('startDate',array('type'=>'datetime','timeFormat'=>24));
27
					echo $this->Form->input('startDate',array('type'=>'datetime','timeFormat'=>24));
28
					echo $this->Form->input('endDate',array('type'=>'datetime','timeFormat'=>24));
28
					echo $this->Form->input('endDate',array('type'=>'datetime','timeFormat'=>24));
29
					echo $this->Form->input('thresholdPrice',array('type'=>'number'));
29
					echo $this->Form->input('thresholdPrice',array('type'=>'number'));
-
 
30
					echo $this->Form->input('Mobiles',array('type'=>'number','value'=>0));
-
 
31
					echo $this->Form->input('Tablets',array('type'=>'number','value'=>0));
-
 
32
					echo $this->Form->input('Accessories',array('type'=>'number','value'=>0));
30
					// echo $this->Form->input('multi',array('type'=>'checkbox'));
33
					// echo $this->Form->input('multi',array('type'=>'checkbox'));
31
				?>
34
				?>
32
				</fieldset>
35
				</fieldset>
33
			<?php echo $this->Form->end(__('Submit')); ?>
36
			<?php echo $this->Form->end(__('Submit')); ?>
34
			</div>
37
			</div>