Subversion Repositories SmartDukaan

Rev

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

Rev 14928 Rev 19142
Line 83... Line 83...
83
    })
83
    })
84
});
84
});
85
function isNumeric(value) {
85
function isNumeric(value) {
86
  if (value == null || !value.toString().match(/^[-]?\d*\.?\d*$/)) return false;
86
  if (value == null || !value.toString().match(/^[-]?\d*\.?\d*$/)) return false;
87
  return true;
87
  return true;
88
}
-
 
89
88
}
-
 
89
 
-
 
90
$(document).on('change', '#MasterDataSourceId', function(e) {
-
 
91
	var text = this.options[e.target.selectedIndex].text;
-
 
92
	if(text == 'saholic')
-
 
93
	{
-
 
94
		$("#MasterDataShowNetPrice").prop('checked', true);
-
 
95
	}	
-
 
96
	else
-
 
97
	{
-
 
98
		$("#MasterDataShowNetPrice").prop('checked', false);
-
 
99
	}
-
 
100
});
-
 
101
90
102