Opened 7 years ago
Closed 7 years ago
#2914 closed enhancement (fixed)
WordCamp Docs: Add a currency field for the sponsorship agreement
Reported by: | coreymckrill | Owned by: | coreymckrill |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | WordCamp Site & Plugins | Keywords: | good-first-bug has-patch |
Cc: |
Description
The sponsorship agreement template has USD hard-coded as the currency type when it generates a PDF to send to a prospective WordCamp sponsor. However, sponsors are allowed to pay their sponsorship in the local currency where the WordCamp is located, and this is often the easiest choice for them.
This enhancement needs two components:
- An additional field to specify the currency type
- Including and sanitizing the currency type in the template file used to generate the PDF
Attachments (1)
Change History (4)
#2
@
7 years ago
- Keywords has-patch added; needs-patch removed
I've attached a patch for this one. It suggests the following approach (as discussed on Slack in #meta-wordcamp):
- Don't hardcode the currency
(US $)
in the sponsorship agreement template. - Add a hint to both amount fields that currency name (and currency symbol) should be added to the amounts.
This approach seems easier to me, because this way we don't need to care about the position of the currency symbol (whether it's before or after the amount).
Note: See
TracTickets for help on using
tickets.
Do not hardcode currency in the sponsorship agreement template. Add a hint for adding the currency to the amount fields.