Merge branch 'production' of https://git.abbauf.com/Magang-2025/Kasir into production

This commit is contained in:
Baghaztra 2025-09-19 13:38:42 +07:00
commit f01b2ba34a
3 changed files with 3 additions and 5 deletions

View File

@ -6,8 +6,7 @@
message="Apakah Anda yakin ingin menghapus kategori ini?" @confirm="confirmDelete" @cancel="closeDeleteModal" />
<div class="p-6 min-h-[75vh]" >
<p class="font-serif italic text-[25px] text-D">KATEGORI</p>
<div class="flex justify-between items-center mb-6">
<div class="flex justify-end items-center mb-6">
<button @click="tambahKategori"
v-if="isAdmin"
class="px-4 py-2 bg-C text-black rounded-md hover:bg-B transition duration-200 flex items-center gap-2">

View File

@ -11,8 +11,7 @@
<div class="p-6 min-h-[75vh]">
<p class="font-serif italic text-[25px] text-D">SALES</p>
<div class="flex justify-between items-center mb-6">
<div class="flex justify-end items-center mb-6">
<button @click="tambahSales"
v-if="isAdmin"
class="px-4 py-2 bg-C text-D rounded-md hover:bg-C/80 transition duration-200 flex items-center gap-2">

View File

@ -171,7 +171,7 @@ const handleConfirmAction = async () => {
alert.value = { error: "Gagal mengosongkan nampan. Silakan coba lagi." };
}
}
closeConfirmModal();
clearTimeout(timer.value);
timer.value = setTimeout(() => { alert.value = null }, 3000);