diff --git a/app/(main)/stock/commandes/page.tsx b/app/(main)/stock/commandes/page.tsx index 070bd95..7dd270a 100644 --- a/app/(main)/stock/commandes/page.tsx +++ b/app/(main)/stock/commandes/page.tsx @@ -644,11 +644,11 @@ const CommandesPage = () => {
- setOrder({...order, dateCommande: e.value || new Date()})} - showIcon + setOrder({...order, dateCommande: e.value?.toISOString() || new Date().toISOString()})} + showIcon />
diff --git a/app/(main)/stock/inventaire/page.tsx b/app/(main)/stock/inventaire/page.tsx index f22b580..ece7118 100644 --- a/app/(main)/stock/inventaire/page.tsx +++ b/app/(main)/stock/inventaire/page.tsx @@ -590,11 +590,11 @@ const InventairePage = () => {
- setNewSession({...newSession, dateDebut: e.value || new Date()})} - showIcon + setNewSession({...newSession, dateDebut: e.value?.toISOString() || new Date().toISOString()})} + showIcon />
diff --git a/app/(main)/stock/sorties/page.tsx b/app/(main)/stock/sorties/page.tsx index b1aebb0..71a1a1d 100644 --- a/app/(main)/stock/sorties/page.tsx +++ b/app/(main)/stock/sorties/page.tsx @@ -792,11 +792,11 @@ const SortiesPage = () => {
- setExit({...exit, dateSortie: e.value || new Date()})} - showIcon + setExit({...exit, dateSortie: e.value?.toISOString() || new Date().toISOString()})} + showIcon />