Subversion Repositories SmartDukaan

Rev

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

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