Add check/times to messages
This commit is contained in:
parent
dbbea7b538
commit
40efe0409d
@ -35,9 +35,9 @@ $(".card_qwikclock_punchinout").on("click", ".start_btn", function () {
|
|||||||
action: "punchin"
|
action: "punchin"
|
||||||
}, function (resp) {
|
}, function (resp) {
|
||||||
if (resp.status == "OK") {
|
if (resp.status == "OK") {
|
||||||
showmsg(resp.msg, "success");
|
showmsg('<i class="fas fa-check"></i> ' + resp.msg, "success");
|
||||||
} else {
|
} else {
|
||||||
showmsg(resp.msg, "danger");
|
showmsg('<i class="fas fa-times"></i> ' + resp.msg, "danger");
|
||||||
}
|
}
|
||||||
}, "json");
|
}, "json");
|
||||||
});
|
});
|
||||||
@ -52,9 +52,9 @@ $(".card_qwikclock_punchinout").on("click", ".stop_btn", function () {
|
|||||||
action: "punchout"
|
action: "punchout"
|
||||||
}, function (resp) {
|
}, function (resp) {
|
||||||
if (resp.status == "OK") {
|
if (resp.status == "OK") {
|
||||||
showmsg(resp.msg, "success");
|
showmsg('<i class="fas fa-check"></i> ' + resp.msg, "success");
|
||||||
} else {
|
} else {
|
||||||
showmsg(resp.msg, "danger");
|
showmsg('<i class="fas fa-times"></i> ' + resp.msg, "danger");
|
||||||
}
|
}
|
||||||
}, "json");
|
}, "json");
|
||||||
});
|
});
|
Loading…
x
Reference in New Issue
Block a user