Skip to content

feat: Allow to cancel request when partner is deactivated #5233

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

zanetagebka
Copy link
Contributor

Resolves #5231

Description

  • modify RequestDestroyService to not return false on validation for deactivated partners
  • add condition to not send email when partner is deactivated

List any dependencies that are required for this change. (gems, js libraries, etc.)

Include anything else we should know about. -->

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Added test for service to chek that in case of deactivated partner action is running WITHOUT sending an email.

Instruction for manual testing are already in the ticket description.

Screenshots

- modify RequestDestroyService to not return false on validation for deactivated partners
- add condition to not send email when partner is deactivated
@zanetagebka
Copy link
Contributor Author

zanetagebka commented Jun 10, 2025

I am keeping it in draft for now because I would like to receive answers for few questions asked under the ticket. :)

When it will be clear I will adjust rest and make it ready.

…il if partner is not active

- fix typo on "cancelation"
- add more space between button and text
- replace span with div to keep block structure
@zanetagebka zanetagebka marked this pull request as ready for review June 16, 2025 10:56
@cielf
Copy link
Collaborator

cielf commented Jun 18, 2025

@zanetagebka The test that is failing appears to be related to your change.

@cielf
Copy link
Collaborator

cielf commented Jun 18, 2025

The manual functional test passes, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ability to cancel requests from deactivated partners
2 participants