|
|
@ -56,6 +56,12 @@ function recalculate() {
|
|
|
|
$("#receiptchange").text(change.toFixed(2));
|
|
|
|
$("#receiptchange").text(change.toFixed(2));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#deletetxbtn").click(function () {
|
|
|
|
|
|
|
|
bsalert("Confirm", "Really delete transaction?", "Yes", "No", function () {
|
|
|
|
|
|
|
|
window.location.href = "app.php?page=pos";
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// Make sure the session doesn't expire
|
|
|
|
// Make sure the session doesn't expire
|
|
|
|
setInterval(function () {
|
|
|
|
setInterval(function () {
|
|
|
|
$.get("action.php", {action: "session_keepalive"});
|
|
|
|
$.get("action.php", {action: "session_keepalive"});
|
|
|
|