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

Add membership lapse warning email, 7 days before suspension #138

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

drrk
Copy link

@drrk drrk commented Apr 18, 2016

This fixes #60 without the need for a database schema change.

vars = {'name' => firstname(full_name),
'date' => last_payment.strftime('%Y-%m-%d')}
template = Erubis::Eruby.new(File.read('../emails/lapse_warning.erb'))
send_email(email, "Your London Hackspace membership wilk lapse in 7 days", template.result(vars))
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo (wilk -> will)

@drrk drrk force-pushed the membership_lapse_warning branch from eb55b61 to b3f3519 Compare April 18, 2016 12:32
@marksteward
Copy link
Member

I somehow missed this, sorry! Will test and deploy next week.

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.

Send reminder email
3 participants