feat(front) : entrées et sorties en attente côte à côte

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-29 10:29:25 +02:00
parent 348d7fc8f9
commit c64e0c7100

View File

@@ -10,36 +10,38 @@
<h1 class="font-bold text-3xl uppercase text-primary-500">Entrée / Sortie</h1> <h1 class="font-bold text-3xl uppercase text-primary-500">Entrée / Sortie</h1>
</div> </div>
<section class="mt-8"> <div class="mt-8 mb-16 grid grid-cols-2 gap-8">
<h2 class="text-xl font-bold uppercase text-primary-500 mb-4">Entrées en attente</h2> <section>
<UiDataTable <h2 class="text-xl font-bold uppercase text-primary-500 mb-4">Entrées en attente</h2>
v-model:page="entryPage" <UiDataTable
v-model:per-page="entryPerPage" v-model:page="entryPage"
:columns="entryColumns" v-model:per-page="entryPerPage"
:items="entries" :columns="entryColumns"
:total-items="totalEntries" :items="entries"
:loading="entriesLoading" :total-items="totalEntries"
row-clickable :loading="entriesLoading"
@row-click="goToEntry" row-clickable
> @row-click="goToEntry"
<template #cell-receptionDate="{ item }"> >
{{ formatDate(item.receptionDate) }} <template #cell-receptionDate="{ item }">
</template> {{ formatDate(item.receptionDate) }}
<template #cell-declaredCount="{ item }"> </template>
{{ declaredCount(item) }} <template #cell-declaredCount="{ item }">
</template> {{ declaredCount(item) }}
<template #cell-registeredBovineCount="{ item }"> </template>
{{ item.registeredBovineCount ?? 0 }} <template #cell-registeredBovineCount="{ item }">
</template> {{ item.registeredBovineCount ?? 0 }}
</UiDataTable> </template>
</section> </UiDataTable>
</section>
<section class="mt-12 mb-16"> <section>
<h2 class="text-xl font-bold uppercase text-primary-500 mb-4">Sorties en attente</h2> <h2 class="text-xl font-bold uppercase text-primary-500 mb-4">Sorties en attente</h2>
<div class="rounded border border-dashed border-slate-300 p-8 text-center text-slate-500"> <div class="rounded border border-dashed border-slate-300 p-8 text-center text-slate-500">
À venir À venir
</div> </div>
</section> </section>
</div>
</div> </div>
</template> </template>