Subversion Repositories SmartDukaan

Rev

Rev 19857 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 19857 Rev 19921
Line 89... Line 89...
89
 
89
 
90
$(document).on('change', '#MasterDataSourceId', function(e) {
90
$(document).on('change', '#MasterDataSourceId', function(e) {
91
	var text = this.options[e.target.selectedIndex].text;
91
	var text = this.options[e.target.selectedIndex].text;
92
	if(text == 'saholic')
92
	if(text == 'saholic')
93
	{
93
	{
94
		$("#MasterDataExclusive").removeAttr("disabled");
94
//		$("#MasterDataExclusive").removeAttr("disabled");
95
		$("#MasterDataShowNetPrice").prop('checked', true);
95
		$("#MasterDataShowNetPrice").prop('checked', true);
96
	}	
96
	}	
97
	else
97
	else
98
	{
98
	{
99
		$("#MasterDataExclusive").attr('checked', false);
99
//		$("#MasterDataExclusive").attr('checked', false);
100
		$("#MasterDataExclusive").attr('disabled', true);
100
//		$("#MasterDataExclusive").attr('disabled', true);
101
		$("#MasterDataShowNetPrice").prop('checked', false);
101
		$("#MasterDataShowNetPrice").prop('checked', false);
102
	}
102
	}
103
});
103
});
104
 
104
 
105
$(document).on('change', '#MasterDataCategoryId', function(e) {
105
$(document).on('change', '#MasterDataCategoryId', function(e) {