fix: Ajout du mode Visu

This commit is contained in:
N3WT DE COMPET
2025-05-04 14:32:06 +02:00
parent 4ecf25a6ab
commit e1c607308c
29 changed files with 531 additions and 414 deletions

View File

@ -10,6 +10,7 @@ const StatusLabel = ({ status, onChange, showDropdown = true, parent }) => {
? [
{ value: 2, label: 'Nouveau' },
{ value: 3, label: 'En validation' },
{ value: 5, label: 'Validé' },
{ value: 7, label: 'SEPA reçu' },
{ value: 8, label: 'En validation' },
]
@ -32,6 +33,7 @@ const StatusLabel = ({ status, onChange, showDropdown = true, parent }) => {
return (
(status === 2 && 'bg-orange-50 text-orange-600') ||
((status === 3 || status === 8) && 'bg-purple-50 text-purple-600') ||
(status === 5 && 'bg-green-50 text-green-600') ||
(status === 7 && 'bg-yellow-50 text-yellow-600')
);
}