| 13633 |
anikendra |
1 |
<div class="container">
|
|
|
2 |
<div class="row">
|
|
|
3 |
<div class="col-lg-3">
|
| 14098 |
anikendra |
4 |
<?php echo $this->Element('adminactions');?>
|
| 13633 |
anikendra |
5 |
</div>
|
|
|
6 |
<div class="col-lg-9">
|
|
|
7 |
<?php echo $this->Form->create('CategoryDiscount'); ?>
|
|
|
8 |
<fieldset>
|
|
|
9 |
<legend><?php echo __('Admin Add Category Discount'); ?></legend>
|
|
|
10 |
<?php
|
|
|
11 |
echo $this->Form->input('category_id');
|
|
|
12 |
echo $this->Form->input('brand',array('type'=>'select','options'=>$brands));
|
|
|
13 |
?>
|
|
|
14 |
<div class="input number required">
|
|
|
15 |
<label for="CategoryDiscountMinDiscount">Min Discount</label>
|
|
|
16 |
<input id="CategoryDiscountMinDiscount" type="number" required="required" step="any" name="data[CategoryDiscount][min_discount]" min="0">
|
|
|
17 |
</div>
|
|
|
18 |
<div class="input number required">
|
|
|
19 |
<label for="CategoryDiscountMaxDiscount">Max Discount</label>
|
|
|
20 |
<input type="number" required="required" id="CategoryDiscountMaxDiscount" step="any" name="data[CategoryDiscount][max_discount]" min="0">
|
|
|
21 |
</div>
|
|
|
22 |
<?php
|
|
|
23 |
echo $this->Form->input('discountType',array('type'=>'select','options'=>array('mrp'=>'MRP','dp'=>'DP')));
|
|
|
24 |
?>
|
|
|
25 |
</fieldset>
|
|
|
26 |
<?php echo $this->Form->end(__('Submit')); ?>
|
|
|
27 |
</div>
|
|
|
28 |
</div>
|
|
|
29 |
</div>
|