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

This commit is contained in:
Baghaztra 2025-09-08 14:29:19 +07:00
commit 10e666a9ce
6 changed files with 26 additions and 26 deletions

View File

@ -20,12 +20,12 @@ class DatabaseSeeder extends Seeder
public function run(): void
{
User::factory()->create([
'nama' => 'Owner',
'nama' => 'iwan',
'role' => 'owner',
'password' => bcrypt('123123'),
]);
User::factory()->create([
'nama' => 'Kasir',
'nama' => 'luis',
'role' => 'kasir',
'password' => bcrypt('123123'),
]);

View File

@ -1,8 +1,10 @@
<template>
<mainLayout>
<p style="font-family: 'IM FELL Great Primer', serif; font-style: italic;font-size: 25px;">BRANKAS</p>
<div class="p-6">
<p class="font-serif italic text-[25px] text-D">BRANKAS</p>
<searchbar v-model:search="searchQuery" />
<BrankasList :search="searchQuery" />
</div>
</mainLayout>

View File

@ -5,9 +5,9 @@
<ConfirmDeleteModal :isOpen="confirmDeleteOpen" :item="kategoriToDelete" title="Hapus Kategori"
message="Apakah Anda yakin ingin menghapus kategori ini?" @confirm="confirmDelete" @cancel="closeDeleteModal" />
<div class="p-6 min-h-[75vh]" >
<!-- Header Section -->
<p class="font-serif italic text-[25px] text-D">KATEGORI</p>
<div class="flex justify-between items-center mb-6">
<h1 class="text-2xl font-bold text-gray-800">Kategori</h1>
<button @click="tambahKategori"
class="px-4 py-2 bg-C text-black rounded-md hover:bg-B transition duration-200 flex items-center gap-2">
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">

View File

@ -25,9 +25,9 @@
/>
<div class="p-6 min-h-[75vh]">
<!-- Header Section -->
<p class="font-serif italic text-[25px] text-D">SALES</p>
<div class="flex justify-between items-center mb-6">
<h1 class="text-2xl font-bold text-D">Sales</h1>
<button
@click="tambahSales"
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

@ -1,17 +1,9 @@
<template>
<mainLayout>
<!-- Header -->
<div class="mb-4">
<div class="p-6">
<!-- Judul -->
<p
style="
font-family: 'IM FELL Great Primer', serif;
font-style: italic;
font-size: 25px;
"
>
NAMPAN
</p>
<p class="font-serif italic text-[25px] text-D">NAMPAN</p>
<!-- Searchbar -->
<div class="flex justify-end mt-2">

View File

@ -16,6 +16,7 @@ import Home from "../pages/Home.vue";
import auth from "../middlewares/auth";
import guest from "../middlewares/guest";
import owner from "../middlewares/owner";
import StrukOverlay from "../components/StrukOverlay.vue";
const middlewareMap = { auth, guest, owner };
@ -56,6 +57,11 @@ const routes = [
component: Brankas,
meta: { middleware: "auth" },
},
{
path: "/home",
name: "Home",
meta: { middleware: "auth" },
},
{
path: "/nampan",
name: "Nampan",