Subversion Repositories SmartDukaan

Rev

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

Rev 14561 Rev 17344
Line 6... Line 6...
6
		<div class="col-lg-9">
6
		<div class="col-lg-9">
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('sku',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
 
18
					$attributes = array(
18
					// $attributes = array(
19
					    'legend' => false,
19
					//     'legend' => false,
20
					    'value' => 3,
20
					//     'value' => 3,
21
					    'class' => 'catselect'
21
					//     'class' => 'catselect'
22
					);
22
					// );
23
					echo $this->Form->radio('type',$options,$attributes);
23
					// echo $this->Form->radio('type',$options,$attributes);
24
					// echo $this->Form->input('FeaturedDeal.rankDetails',array('type'=>'number','label'=>'Rank','class'=>'categoryRank'));
24
					// echo $this->Form->input('FeaturedDeal.rankDetails',array('type'=>'number','label'=>'Rank','class'=>'categoryRank'));
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('multi',array('type'=>'checkbox'));
30
					// echo $this->Form->input('multi',array('type'=>'checkbox'));
31
				?>
31
				?>
32
				</fieldset>
32
				</fieldset>
33
			<?php echo $this->Form->end(__('Submit')); ?>
33
			<?php echo $this->Form->end(__('Submit')); ?>
34
			</div>
34
			</div>
35
		</div>
35
		</div>