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

Gift certificates #97

Closed
bentoner opened this issue Dec 22, 2018 · 4 comments
Closed

Gift certificates #97

bentoner opened this issue Dec 22, 2018 · 4 comments

Comments

@bentoner
Copy link
Contributor

bentoner commented Dec 22, 2018

Suggestion (via @norrishd): for gift donations it would be awesome if the email included a little PDF "gift certificate" with info on the charity & the impact of the donation (like from the impact calculator page generates).

This requires designing a template in HTML. You could start from https://github.com/effective-altruism-australia/donation_portal/blob/master/donation/templates/receipts/receipt_base.html (which, in the case of receipts, we then combine with their data via https://github.com/effective-altruism-australia/donation_portal/blob/master/donation/templates/receipts/receipt.html and convert to PDF).

(For impact, see #65 too.)

@norrishd
Copy link
Member

I might be game to take this on, but i still have only the haziest of ideas how the server is set up or what the infrastructure is so probably need someone to talk me through it all/give access etc.

@bentoner
Copy link
Contributor Author

bentoner commented Dec 22, 2018

@norrishd Sorry, I was unclear. The hard part of this is making an HTML template for the gift certificate. The rest is easy. I was trying to ask if you'd be able to help make a template then we could do the rest. The HTML file can be worked on without setting anything up. The deliverable would be an HTML file (or files) like the ones linked for receipts above. It should look good when converted to PDF using the command line tool wkhtmltopdf.

@norrishd
Copy link
Member

Oh great! Sorry for being daft. I'd be happy to take this on then if no one gets to it sooner.

I'm away with very limited internet for Christmas though, so realistically might not be able to start till early in the new year.

@bentoner
Copy link
Contributor Author

bentoner commented Dec 23, 2018 via email

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

No branches or pull requests

2 participants