Subversion Repositories SmartDukaan

Rev

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

Rev 19856 Rev 19859
Line 3... Line 3...
3
$(document).ready(function(){
3
$(document).ready(function(){
4
	if($('#MasterDataCategoryId').val() == "6")
4
	if($('#MasterDataCategoryId').val() == "6")
5
	{
5
	{
6
		$('#MasterDataInternalRank').prop('readonly',false);
6
		$('#MasterDataInternalRank').prop('readonly',false);
7
	}
7
	}
-
 
8
	if($('#MasterDataSourceId').val() == "4"){
-
 
9
		$("#MasterDataExclusive").removeAttr("disabled");
-
 
10
	}
8
});
11
});
9
</script>
12
</script>
10
 
13
 
11
<div class="container">
14
<div class="container">
12
	<div class="row">
15
	<div class="row">
Line 37... Line 40...
37
					echo $this->Form->input('product_name');
40
					echo $this->Form->input('product_name');
38
					echo $this->Form->input('rank');	
41
					echo $this->Form->input('rank');	
39
					
42
					
40
					echo $this->Form->input('internalRank', array('type'=>'number','value'=> 0,'required'=> true,'readonly'=> true));
43
					echo $this->Form->input('internalRank', array('type'=>'number','value'=> 0,'required'=> true,'readonly'=> true));
41
					
44
					
42
					echo $this->Form->label('Exclusive');
-
 
43
					echo $this->Form->checkbox('exclusive',array('disabled' => true));
-
 
44
					
-
 
45
					echo $this->Form->input('source_id');
45
					echo $this->Form->input('source_id');
46
					echo $this->Form->input('source',array('type'=>'text','value'=>'Amazon'));
46
					echo $this->Form->input('source',array('type'=>'text','value'=>'Amazon'));
-
 
47
 
-
 
48
					echo $this->Form->label('Exclusive');
-
 
49
					echo $this->Form->checkbox('exclusive',array('disabled' => true));
-
 
50
						
47
					echo $this->Form->input('secondaryIdentifier');
51
					echo $this->Form->input('secondaryIdentifier');
48
					echo $this->Form->input('sourceCategoryId', array('type' => 'hidden' ));
52
					echo $this->Form->input('sourceCategoryId', array('type' => 'hidden' ));
49
					echo $this->Form->input('sourceProductId', array('type' => 'hidden' ));				
53
					echo $this->Form->input('sourceProductId', array('type' => 'hidden' ));				
50
					echo $this->Form->input('source_product_name');
54
					echo $this->Form->input('source_product_name');
51
					echo $this->Form->input('source_url');
55
					echo $this->Form->input('source_url');