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 : 3.145.196.141
Current Path : /var/www/oasis/custom_js/ |
| Current File : /var/www/oasis/custom_js/practical_entry_freezing_new.js |
function LoadEnablePracticalEntryFreezing_new(type) {
g_freeze_time = type;
$("#page_main_div").load(
"../html_modules/practical_entry_freezing_new.html",
function () {
$geditinternalcode = 0;
window.enable_proper_module = "enableLoadRevaluationt";
document.getElementById("display_module_name").innerHTML =
"Batch Wise Time Table";
$("#a_pr_id").html("Batchwise Time Table");
getDefaultHeadFooterLinks("Batch Wise Time Table");
document.getElementById("module_name_for_save").value =
"SavePracticalEntryFreezing";
document.getElementById("is_add_edit").value = "Edit";
}
);
}
function getPracticalEntryFreezeDetails_new() {
if (empty(trim($("#fmacas_degree_code").val()))) {
alert("Please Enter Degree");
return false;
}
if (empty(trim($("#fmacas_sub_Examno").val()))) {
alert("Please Enter Exam");
return false;
}
var str = "°ree_code=" + trim($("#fmacas_degree_code").val());
str += "&exam_no=" + trim($("#fmacas_sub_Examno").val());
str += "&subject=" + trim($("#fmacas_sub_final_subcode").val());
str += "&g_freeze_time=" + g_freeze_time;
$.blockUI({
message:
"<h1 class='h1' style='font-size:12px'>Batchwise time table... <img src='images/spinner.gif' border='0'></h1>",
});
$.ajax({
type: "POST",
url: $host_url + "getPracticalEntryFreezeDetails_new",
data: str,
success: getPracticalEntryFreezeDetailsResponce_new,
});
}
function getPracticalEntryFreezeDetailsResponce_new(responce) {
responce = eval("(" + responce + ")");
$.unblockUI();
g_freeze_data = responce.data.freeze_data;
if (responce.error_code == "0") {
$("#fmacas_module_subject_data").html(responce.data.html_data);
$("#fmacas_module_subject_data").show();
} else {
$("#fmacas_module_subject_data").html(
"<div align='left'>No Records Found</left>"
);
$("#fmacas_module_subject_data").show();
}
$("#batch_sl_no_0").focus();
}
|