diff --git a/src/app/form/orientation-form-view/interfaces/orientation.interface.ts b/src/app/form/orientation-form-view/interfaces/orientation.interface.ts index 076129a86ff41c4357c4d7618ada96f4d2049df3..ce869c02f75312a5b9f582cdd244c3522597992d 100644 --- a/src/app/form/orientation-form-view/interfaces/orientation.interface.ts +++ b/src/app/form/orientation-form-view/interfaces/orientation.interface.ts @@ -33,8 +33,8 @@ export interface IOrientation { structureMail: string; structurePhone: string; }; - status: 'new' | 'acknowledged' | 'waiting' | 'completed' | 'uncompleted' | 'expired'; - action: 'defineRdv' | 'rdvTaken' | 'visit' | 'rdvDone' | 'closeRdv'; + status: 'new' | 'waiting' | 'appointmentBooked' | 'appointmentDatePassed' | 'completed' | 'uncompleted' | 'expired'; + action: 'acknowledged' | 'defineAppointment' | 'waitAppointment' | 'waitVisit' | 'closeRDV'; modifiedBy?: string; appointmentDate?: string; processingComment?: string; diff --git a/src/app/profile/dashboard/orientation.enum.ts b/src/app/profile/dashboard/orientation.enum.ts index 3a597aeca8392b14d371448e046fd5e00d272b04..753ed69617f942388402a11630815a6bbcb3348a 100644 --- a/src/app/profile/dashboard/orientation.enum.ts +++ b/src/app/profile/dashboard/orientation.enum.ts @@ -4,16 +4,21 @@ export const Status = { color: 'dark-blue', icon: 'new', }, - acknowledged: { - label: 'A traiter', - color: 'blue', - icon: 'eye', - }, waiting: { label: 'En attente', color: 'blue', icon: 'eye', }, + appointmentBooked: { + label: 'RDV pris', + color: 'light-green', + icon: 'calendarGreen', + }, + appointmentDatePassed: { + label: 'RDV passé', + color: 'grey', + icon: 'rdvDone', + }, completed: { label: 'Terminé', color: 'light-green', @@ -33,25 +38,25 @@ export const Status = { export type StatusKey = keyof typeof Status; export const Action = { - defineRdv: { + acknowledged: { + label: 'Accuser réception', + color: 'dark-blue', + icon: 'new', + }, + defineAppointment: { label: 'Définir le RDV', color: 'blue', icon: 'calendar', }, - rdvTaken: { - label: 'RDV pris', - color: 'light-green', - icon: 'calendarGreen', - }, - visit: { - label: 'Visite proposée', + waitAppointment: { + label: 'Attendre le RDV', color: 'grey', icon: 'pedestrian', }, - rdvDone: { - label: 'RDV terminé', + waitVisit: { + label: 'Attendre la visite', color: 'grey', - icon: 'rdvDone', + icon: 'pedestrian', }, closeRDV: { label: 'Clôturer le RDV',