Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 18.188.211.58
function Callbundlereceive()
{
$("#page_main_div").load('html_modules/bundlereceive.html',function()
{
document.getElementById('display_module_name').innerHTML = 'Receive Bundle';
document.getElementById('module_name_for_save').value = 'Receive Bundle';
getDefaultHeadFooterLinks("Receive Bundle");
}
);
}
function getbundlereceive()
{
var bundle_no = $("#bundle_no").val();
var bundle_wt = $("#bundle_wt").val();
if(bundle_no == '')
{
alert('Enter Bundle number');
return;
}
if(bundle_wt == '')
{
alert('Enter Bundle weight');
return;
}
$.ajax({
type:"POST",
data:"&bundle_no="+bundle_no+"&bundle_wt="+bundle_wt,
url:$host_url+"getbundlereceive",
success:getbundlereceiveresponce
});
}
function getbundlereceiveresponce(responce)
{
responce = eval('(' + responce + ')');
if(responce.error_code=='0')
{
alert('update successfully');
}
else if(responce.error_code=='-1')
{
alert('failure');
}
}
|