final product history alert

This commit is contained in:
venbatechnologies@gmail.com 2018-06-26 18:30:39 +05:30
parent a410275700
commit 644b35e3ba

View File

@ -211,8 +211,9 @@ $(function() {
url:"<?php echo base_url() ?>batchcard/getFinishedProduct", url:"<?php echo base_url() ?>batchcard/getFinishedProduct",
success:function(data) success:function(data)
{ {
//alert(data); //if(data){
var tble=''; var tble='';
$.each(data,function (i,item) $.each(data,function (i,item)
{ {
@ -244,8 +245,18 @@ $(function() {
}); });
if(tble=='')
{
alert('No Records Found !!')
}
else
{
$("#table_value").html(tble); $("#table_value").html(tble);
} }
}
}); });