Page MenuHomekolab.org

"End of Trial" notification
ClosedPublic

Authored by machniak on Mon, May 30, 12:04 PM.

Details

Reviewers
mollekopf
Group Reviewers
Restricted Project
Commits
rK75500ef88863: "End of Trial" notification
Test Plan

./phpunit

Diff Detail

Repository
rK kolab
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

machniak requested review of this revision.Mon, May 30, 12:05 PM
machniak created this revision.
machniak updated this revision to Diff 10307.Mon, May 30, 1:38 PM
  • Cleanup, fix incomplete support url in mail if configured location is relative
mollekopf accepted this revision.Tue, May 31, 12:23 PM
mollekopf added a subscriber: mollekopf.
mollekopf added inline comments.
src/app/Console/Commands/Wallet/TrialEndCommand.php
43

Given you filter on trail_end_notice you *could* date-filter on created_at > subMonthDateNoOverflow(2) (everyone that is still in the second month). This would allow to "catch-up" should the command for some reason not execute on a specific day, and otherwise result in the same.

This revision is now accepted and ready to land.Tue, May 31, 12:23 PM
machniak updated this revision to Diff 10331.Tue, May 31, 3:58 PM
  • Send end of trial notice to accounts older than 1 month
This revision was automatically updated to reflect the committed changes.