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