This commit is contained in:
gandhimathi Bharathirajan 2017-05-18 11:03:28 +05:30
parent 9ae406032f
commit cee3a4e64a

View File

@ -453,24 +453,7 @@ $('#drpMaterial').change(function() {
var y = <?php echo json_encode($MaterialCode, JSON_PRETTY_PRINT) ?>;
var id = $('#drpMaterial').val();
if(id != "0")
{
$.each(y, function(idx, obj) {
if(obj.MaterialCode === id)
{
$("#Description").val(obj.MaterialName);
$("#UOM").val(obj.UOM);
}
});
}
});
});
</script>