Subversion Repositories SmartDukaan

Rev

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

Rev 19140 Rev 19561
Line -... Line 1...
-
 
1
<script>
-
 
2
 
-
 
3
$(document).ready(function(){
-
 
4
	if($('#MasterDataCategoryId').val() == "6")
-
 
5
	{
-
 
6
		$('#MasterDataInternalRank').prop('readonly',false);
-
 
7
		if($('#MasterDataInternalRank').val() == '0'){
-
 
8
			$('#MasterDataInternalRank').val('');
-
 
9
		}
-
 
10
	}
-
 
11
});
-
 
12
</script>
-
 
13
 
1
<div class="container">
14
<div class="container">
2
	<div class="row">
15
	<div class="row">
3
		<div class="col-lg-3">
16
		<div class="col-lg-3">
4
			<?php echo $this->Element('adminactions');?>
17
			<?php echo $this->Element('adminactions');?>
5
		</div>
18
		</div>
Line 23... Line 36...
23
					$showmrp=array(0=>"False",1=>"True");
36
					$showmrp=array(0=>"False",1=>"True");
24
    				echo $this->Form->input('showMrp', array('options'=>$showmrp, 'selected'=>'False'));
37
    				echo $this->Form->input('showMrp', array('options'=>$showmrp, 'selected'=>'False'));
25
 
38
 
26
					echo $this->Form->input('maxPrice',array('value'=>0));
39
					echo $this->Form->input('maxPrice',array('value'=>0));
27
					echo $this->Form->input('product_name');
40
					echo $this->Form->input('product_name');
28
					echo $this->Form->input('rank');					
41
					echo $this->Form->input('rank');	
-
 
42
					
-
 
43
					echo $this->Form->input('internalRank', array('type'=>'number','value'=> 0,'required'=> true,'readonly'=> true));
-
 
44
					
29
					echo $this->Form->input('source_id');
45
					echo $this->Form->input('source_id');
30
					echo $this->Form->input('source',array('type'=>'text','value'=>'Amazon'));
46
					echo $this->Form->input('source',array('type'=>'text','value'=>'Amazon'));
31
					echo $this->Form->input('secondaryIdentifier');
47
					echo $this->Form->input('secondaryIdentifier');
32
					echo $this->Form->input('sourceCategoryId', array('type' => 'hidden' ));
48
					echo $this->Form->input('sourceCategoryId', array('type' => 'hidden' ));
33
					echo $this->Form->input('sourceProductId', array('type' => 'hidden' ));				
49
					echo $this->Form->input('sourceProductId', array('type' => 'hidden' ));