Skip to content

Comments

feat(kesaseteli,admin): resend youth summer vouchers#3843

Merged
nikomakela merged 2 commits intomainfrom
YJDH-799-resend-voucher-email
Jan 21, 2026
Merged

feat(kesaseteli,admin): resend youth summer vouchers#3843
nikomakela merged 2 commits intomainfrom
YJDH-799-resend-voucher-email

Conversation

@nikomakela
Copy link
Contributor

YJDH-694.

Register an admin action that can be used to resend the already created (and sent) youth summer vouchers.

@nikomakela nikomakela requested a review from a team as a code owner January 19, 2026 11:52
@nikomakela nikomakela force-pushed the YJDH-799-resend-voucher-email branch from 7df1c13 to 9e481f8 Compare January 19, 2026 11:58

youth_application_link.short_description = _("youth application")

@admin.action(description=_("Resend summer voucher to selected applicants"))
Copy link
Collaborator

Choose a reason for hiding this comment

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

send_youth_summer_voucher_email has default values for send_to_youth=True and send_to_handler=True, so it is sent to applicant and handler both now. How about making this clear to the user by e.g. renaming the description:

Suggested change
@admin.action(description=_("Resend summer voucher to selected applicants"))
@admin.action(description=_("Resend summer voucher to selected applicants and to the handler"))

Copy link
Collaborator

@karisal-anders karisal-anders left a comment

Choose a reason for hiding this comment

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

Left a comment about making it clear to the user that the resend functionality sends the email also to the handler, not just to the applicants (That's what it is doing at the moment). Otherwise ok.

@nikomakela nikomakela force-pushed the YJDH-791-employer-application-admin branch from 3e828d6 to a3fd320 Compare January 19, 2026 13:22
@nikomakela nikomakela requested a review from a team as a code owner January 19, 2026 13:22
@nikomakela nikomakela force-pushed the YJDH-799-resend-voucher-email branch from 9e481f8 to 4d2e211 Compare January 19, 2026 13:22
@nikomakela nikomakela force-pushed the YJDH-791-employer-application-admin branch from a3fd320 to d65a340 Compare January 19, 2026 13:46
@nikomakela nikomakela force-pushed the YJDH-799-resend-voucher-email branch 2 times, most recently from d961147 to 2c68106 Compare January 19, 2026 13:50
@nikomakela nikomakela force-pushed the YJDH-791-employer-application-admin branch from d65a340 to 46aa72b Compare January 19, 2026 14:42
@nikomakela nikomakela force-pushed the YJDH-799-resend-voucher-email branch 2 times, most recently from 2510b82 to fb48950 Compare January 19, 2026 15:00
@nikomakela nikomakela force-pushed the YJDH-791-employer-application-admin branch from 46aa72b to d2cd64b Compare January 19, 2026 15:01
@nikomakela nikomakela force-pushed the YJDH-799-resend-voucher-email branch 2 times, most recently from 838ec4b to 676ee4b Compare January 20, 2026 11:22
@nikomakela nikomakela force-pushed the YJDH-791-employer-application-admin branch 2 times, most recently from 4af556a to fedb3ee Compare January 20, 2026 14:43
@nikomakela nikomakela force-pushed the YJDH-799-resend-voucher-email branch 2 times, most recently from 07a0c50 to c1542dc Compare January 20, 2026 16:07
@nikomakela nikomakela force-pushed the YJDH-791-employer-application-admin branch from fedb3ee to fa60765 Compare January 20, 2026 16:07
@nikomakela nikomakela force-pushed the YJDH-799-resend-voucher-email branch from c1542dc to c820345 Compare January 20, 2026 16:10
@nikomakela nikomakela requested a review from a team as a code owner January 20, 2026 16:10
@nikomakela nikomakela force-pushed the YJDH-791-employer-application-admin branch from fa60765 to 8285953 Compare January 20, 2026 16:10
@nikomakela nikomakela force-pushed the YJDH-799-resend-voucher-email branch from c820345 to 347f9b1 Compare January 21, 2026 07:56
@nikomakela nikomakela force-pushed the YJDH-791-employer-application-admin branch from 8285953 to 4c67ca7 Compare January 21, 2026 07:56
@nikomakela nikomakela force-pushed the YJDH-799-resend-voucher-email branch from 347f9b1 to 90c5cc5 Compare January 21, 2026 09:18
@nikomakela nikomakela force-pushed the YJDH-791-employer-application-admin branch from 4c67ca7 to e456f1d Compare January 21, 2026 09:18
Base automatically changed from YJDH-791-employer-application-admin to main January 21, 2026 09:18
YJDH-694.

Register an admin action that can be used to resend the already created
(and sent) youth summer vouchers.
@nikomakela nikomakela force-pushed the YJDH-799-resend-voucher-email branch from 90c5cc5 to 2f5567c Compare January 21, 2026 09:19
@azure-pipelines
Copy link

YJDH-KESASETELI-API branch is deployed to platta: https://yjdh-kesaseteli-pr3843.api.dev.hel.ninja 🚀🚀🚀

@sonarqubecloud
Copy link

@azure-pipelines
Copy link

HANDLER branch is deployed to platta: https://kesaseteli-handler-ui-pr3843.dev.hel.ninja 🚀🚀🚀

@azure-pipelines
Copy link

TestCafe handler result is failed for https://kesaseteli-handler-ui-pr3843.dev.hel.ninja 😿💢💥💥

@azure-pipelines
Copy link

YOUTH branch is deployed to platta: https://nuortenkesaseteli-pr3843.dev.hel.ninja 🚀🚀🚀

@azure-pipelines
Copy link

EMPLOYER branch is deployed to platta: https://kesaseteli-pr3843.dev.hel.ninja 🚀🚀🚀

@azure-pipelines
Copy link

TestCafe result is success for https://nuortenkesaseteli-pr3843.dev.hel.ninja 😆🎉🎉🎉

@azure-pipelines
Copy link

TestCafe result is success for https://kesaseteli-pr3843.dev.hel.ninja 😆🎉🎉🎉

@azure-pipelines
Copy link

TestCafe result is success for https://kesaseteli-handler-ui-pr3843.dev.hel.ninja 😆🎉🎉🎉

@nikomakela nikomakela merged commit a3fc7f5 into main Jan 21, 2026
74 checks passed
@nikomakela nikomakela deleted the YJDH-799-resend-voucher-email branch January 21, 2026 10:26
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.

2 participants