diff --git a/frontend/components/inventory/inventory-export-modal.vue b/frontend/components/inventory/inventory-export-modal.vue new file mode 100644 index 0000000..983e2db --- /dev/null +++ b/frontend/components/inventory/inventory-export-modal.vue @@ -0,0 +1,96 @@ + + + + Aucun filtre coché : export complet (tous les bovins actifs). + + + + + Tranches d'âge + + + + + + {{ bucket.badge }} + + {{ bucket.label }} + + + + + + + + + + Exporter + + + + + + + diff --git a/frontend/components/ui/UiModal.vue b/frontend/components/ui/UiModal.vue new file mode 100644 index 0000000..e3f5849 --- /dev/null +++ b/frontend/components/ui/UiModal.vue @@ -0,0 +1,96 @@ + + + + + + + {{ title }} + + + + + + + + + + + + + + + + + + + diff --git a/frontend/pages/inventory.vue b/frontend/pages/inventory.vue index d4d4cf9..7f3fabe 100644 --- a/frontend/pages/inventory.vue +++ b/frontend/pages/inventory.vue @@ -17,7 +17,7 @@ class="bg-primary-500 p-1 rounded-md flex items-center cursor-pointer hover:opacity-80" :class="exporting ? 'cursor-not-allowed opacity-60' : ''" title="Exporter en Excel" - @click="exportInventory" + @click="showExportModal = true" > @@ -136,12 +136,19 @@ + +
+ Aucun filtre coché : export complet (tous les bovins actifs). +