Skip to content
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

NEW: Add a cancel status on interventions #32918

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from

Conversation

noec764
Copy link
Contributor

@noec764 noec764 commented Feb 3, 2025

The canceled status has been added to the interventions.
Indeed, I've added a user permission to cancel an intervention, the mechanics allowing cancellation and reopening, as well as list filters.

* Function used when fichinter is reopend after being closed.
*
* @param User $user Object user that change status
* @return int <0 if KO, 0 if nothing is done, >0 if OK
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

il faut ajouter du texte devant le < 0 if KO, par exemple Return integer < 0 if KO etc

@eldy eldy added the PR to fix - See feedback in comments PR needs to be fixed to be integrated (some comments should describes the fix to do) label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR to fix - See feedback in comments PR needs to be fixed to be integrated (some comments should describes the fix to do)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants