| 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('maxPrice',array('value'=>$data['maxPrice']));
|
40 |
echo $this->Form->input('maxPrice',array('value'=>$data['maxPrice']));
|
| 38 |
echo $this->Form->input('product_name',array('value'=>$data['product_name']));
|
41 |
echo $this->Form->input('product_name',array('value'=>$data['product_name']));
|
| 39 |
echo $this->Form->input('rank',array('value'=>$data['rank']));
|
42 |
echo $this->Form->input('rank',array('value'=>$data['rank']));
|
| 40 |
|
43 |
|
| 41 |
echo $this->Form->input('internalRank', array('type'=>'number','value'=> $data['internalRank'],'required'=> true,'readonly'=> true));
|
44 |
echo $this->Form->input('internalRank', array('type'=>'number','value'=> $data['internalRank'],'required'=> true,'readonly'=> true));
|
| 42 |
|
- |
|
| 43 |
echo $this->Form->label('Exclusive');
|
- |
|
| 44 |
echo $this->Form->checkbox('exclusive',array('disabled' => true));
|
- |
|
| 45 |
|
- |
|
| 46 |
echo $this->Form->input('source_id',array('value'=>$data['source_id']));
|
45 |
echo $this->Form->input('source_id',array('value'=>$data['source_id']));
|
| 47 |
echo $this->Form->input('source',array('type'=>'text','value'=>$data['source']));
|
46 |
echo $this->Form->input('source',array('type'=>'text','value'=>$data['source']));
|
| - |
|
47 |
|
| - |
|
48 |
echo $this->Form->label('Exclusive');
|
| - |
|
49 |
echo $this->Form->checkbox('exclusive',array('disabled' => true ,array('checked'=>$data['exclusive'])));
|
| - |
|
50 |
|
| 48 |
echo $this->Form->input('secondaryIdentifier',array('value'=>$data['secondaryIdentifier']));
|
51 |
echo $this->Form->input('secondaryIdentifier',array('value'=>$data['secondaryIdentifier']));
|
| 49 |
echo $this->Form->input('sourceCategoryId', array('type' => 'hidden' ,'value'=>$data['sourceCategoryId']));
|
52 |
echo $this->Form->input('sourceCategoryId', array('type' => 'hidden' ,'value'=>$data['sourceCategoryId']));
|
| 50 |
echo $this->Form->input('sourceProductId', array('type' => 'hidden' ,'value'=>$data['sourceProductId']));
|
53 |
echo $this->Form->input('sourceProductId', array('type' => 'hidden' ,'value'=>$data['sourceProductId']));
|
| 51 |
echo $this->Form->input('source_product_name',array('value'=>$data['source_product_name']));
|
54 |
echo $this->Form->input('source_product_name',array('value'=>$data['source_product_name']));
|
| 52 |
echo $this->Form->input('source_url',array('value'=>$data['source_url']));
|
55 |
echo $this->Form->input('source_url',array('value'=>$data['source_url']));
|