| 19876 |
naman |
1 |
<div class="container">
|
|
|
2 |
<div class = "row">
|
|
|
3 |
<div class= "col-lg-3">
|
|
|
4 |
<?php echo $this->Element('adminactions');?>
|
|
|
5 |
</div>
|
|
|
6 |
|
|
|
7 |
<div class= "col-lg-9">
|
|
|
8 |
<h2><?php echo __('Edit Item Cashback');?></h2>
|
|
|
9 |
|
|
|
10 |
<?php echo $this->Form->create('Itemcashbacks');?>
|
|
|
11 |
<fieldset>
|
|
|
12 |
<?php
|
| 20455 |
amit.gupta |
13 |
echo $this->Form->input('_id',array('type'=>'hidden','value'=>$cashbacks['_id']['$oid']));
|
|
|
14 |
echo $this->Form->input('skuId',array('value'=>$cashbacks['sku'],'readonly'=>true));
|
| 19876 |
naman |
15 |
$cbd = array(1=> 'Percentage',2 => "Amount");
|
| 20455 |
amit.gupta |
16 |
echo $this->Form->input('cash_back_type',array('options'=>$cbd,'selected'=>$cashbacks['cash_back_type'] ));
|
| 20475 |
amit.gupta |
17 |
echo $this->Form->input('cash_back',array('type'=>'number', 'step'=>'0.05', 'value'=>$cashbacks['cash_back']));
|
| 19876 |
naman |
18 |
|
|
|
19 |
$cbt = array(0=>"Inactive" , 1=>"Active");
|
| 20455 |
amit.gupta |
20 |
echo $this->Form->input('cash_back_status',array('options'=>$cbt, 'selected'=>$cashbacks['cash_back_status']));
|
| 19876 |
naman |
21 |
?>
|
|
|
22 |
</fieldset>
|
|
|
23 |
<?php echo $this->Form->end(__('Submit'));?>
|
|
|
24 |
</div>
|
|
|
25 |
|
|
|
26 |
</div>
|
|
|
27 |
</div>
|