crud room, incident type, catalog, and sample-containers

This commit is contained in:
2026-06-26 17:06:38 +07:00
parent 75830562c4
commit e3f2e51232
23 changed files with 1505 additions and 53 deletions

View File

@@ -68,7 +68,7 @@ function restore_lab(concept_id){
},
success:function(res){
handleMessage(res.success, res.message)
setTimeout(function () {location.reload()}, messageDuration)
if(res.success) {setTimeout(function () {location.reload()}, messageDuration)}
}
})
@@ -79,7 +79,6 @@ function restore_lab(concept_id){
$('#modal-concept').on('show.bs.modal', function (event) {
var button = $(event.relatedTarget) // Button that triggered the modal
var action = button.data('action') // Extract info from data-* attributes
$('#shareable_lab_result').prop("checked", false)
var modal = $(this);
if(action === "new"){
// Clear inputs