[#312] Création d'une page d'administration listing des fournisseurs #16

Merged
Matteo merged 8 commits from feat/312-creation-d-une-page-d-administration-listing-des-fournisseurs into develop 2026-02-09 12:32:09 +00:00
2 changed files with 3 additions and 7 deletions
Showing only changes of commit 0b511b79db - Show all commits

View File

@@ -29,7 +29,7 @@
<div class="overflow-y-auto min-h-0 p-4 space-y-3">
<!-- Liste des liens à ajouter ci-dessous -->
<a href="/admin/supplierList">
<a href="/admin/supplier-list">
Fournisseur
</a>
</div>

View File

@@ -1,11 +1,10 @@
<template>
<div class="flex items-center justify-between p-4">
<h1 class="text-xl font-fullbold uppercase"> Fournisseurs </h1>
<a href=""
<NuxtLink to="/admin/supplier"
class="flex items-center justify-center uppercase text-xl bg-primary-500 text-white h-[50px] w-[272px]"
role="button"
>
Ajouter </a>
Ajouter </NuxtLink>
</div>
<div class="mt-6 border border-slate-200 mb-16">
<div
@@ -58,9 +57,6 @@ definePageMeta({layout: "admin"})
const supplierList = ref<SupplierData[]>([])
const router = useRouter()
const editSupplier = (id: number) => {
router.push(`/admin/supplier/${id}`)
}
const goToSupplier = (id: number) => {
router.push(`/admin/supplier/${id}`)