[update] notifikasi kasir 5 detik
This commit is contained in:
parent
f01b2ba34a
commit
e0431dfeac
@ -211,7 +211,7 @@ const inputItem = async () => {
|
||||
|
||||
infoTimeout = setTimeout(() => {
|
||||
info.value = "";
|
||||
}, 3000);
|
||||
}, 5000);
|
||||
} catch (err) {
|
||||
error.value = "Item tidak ditemukan";
|
||||
info.value = "";
|
||||
@ -221,7 +221,7 @@ const inputItem = async () => {
|
||||
|
||||
errorTimeout = setTimeout(() => {
|
||||
error.value = "";
|
||||
}, 3000);
|
||||
}, 5000);
|
||||
} finally {
|
||||
loadingItem.value = false;
|
||||
}
|
||||
@ -237,7 +237,7 @@ const tambahItem = () => {
|
||||
clearTimeout(errorTimeout);
|
||||
errorTimeout = setTimeout(() => {
|
||||
error.value = "";
|
||||
}, 3000);
|
||||
}, 5000);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -281,7 +281,7 @@ const konfirmasiPenjualan = () => {
|
||||
clearTimeout(errorTimeout);
|
||||
errorTimeout = setTimeout(() => {
|
||||
error.value = "";
|
||||
}, 3000);
|
||||
}, 5000);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user