-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ceased-activity): display ceased activty employments in Mes Informations #646
Conversation
question: je ne vois pas de changements liés au fait que :
|
@@ -11,6 +12,7 @@ export const EMPLOYMENT_ROLE = { | |||
}; | |||
|
|||
export function getEmploymentsStatus(employment) { | |||
if (employment.company?.hasCeasedActivity) return EMPLOYMENT_STATUS.ceased; | |||
if (!employment.isAcknowledged) return EMPLOYMENT_STATUS.pending; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: à quoi correspond "isAknowledged" ? pourquoi ne pas utiliser le "validationStatus = 'pending'" ?
@@ -11,6 +12,7 @@ export const EMPLOYMENT_ROLE = { | |||
}; | |||
|
|||
export function getEmploymentsStatus(employment) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: dans cette méthode, tu ne regardes pas si l'employment est dismissed ; ce n'est pas pertinent ici ?
Vu qu'on met fin aux rattachements pour les entreprises cessées, il n'est plus possible pour un gestionnaire d'accéder à cette entreprise ni à un salarié de logguer pour celle-ci |
|
https://trello.com/c/QyTb4Q1x/1633-suppression-des-comptes-entreprise-qui-nexistent-plus