Compare commits

..

2 Commits

Author SHA1 Message Date
timotiabbauftech
982b14e46a Merge branch 'production' of https://git.abbauf.com/Magang-2025/Kasir into production 2025-09-19 13:31:56 +07:00
timotiabbauftech
e80a68fbb7 [update] tata letak tombol 2025-09-19 13:31:45 +07:00
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" /> message="Apakah Anda yakin ingin menghapus kategori ini?" @confirm="confirmDelete" @cancel="closeDeleteModal" />
<div class="p-6 min-h-[75vh]" > <div class="p-6 min-h-[75vh]" >
<p class="font-serif italic text-[25px] text-D">KATEGORI</p> <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" <button @click="tambahKategori"
v-if="isAdmin" 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"> 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]"> <div class="p-6 min-h-[75vh]">
<p class="font-serif italic text-[25px] text-D">SALES</p> <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" <button @click="tambahSales"
v-if="isAdmin" 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"> 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." }; alert.value = { error: "Gagal mengosongkan nampan. Silakan coba lagi." };
} }
} }
closeConfirmModal(); closeConfirmModal();
clearTimeout(timer.value); clearTimeout(timer.value);
timer.value = setTimeout(() => { alert.value = null }, 3000); timer.value = setTimeout(() => { alert.value = null }, 3000);