Skip to content

Commit

Permalink
Account for auto_recalc in approval email
Browse files Browse the repository at this point in the history
The tables/badges are listed as $0 if a group has a custom price, which is confusing. So instead we just don't display them.
  • Loading branch information
kitsuta authored Nov 22, 2023
1 parent 87bad97 commit 444ee09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions magprime/templates/emails/dealers/approved.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@

This registration includes:
<ul>
<li> {{ group.tables }} table{{ group.tables|pluralize }} ({{ group.default_table_cost|format_currency }}) </li>
<li> {{ group.badges }} badge{{ group.badges|pluralize }} ({{ group.default_badge_cost|format_currency }}) </li>
<li> {{ group.tables }} table{{ group.tables|pluralize }}{% if group.auto_recalc %} ({{ group.default_table_cost|format_currency }}){% endif %}</li>
<li> {{ group.badges }} badge{{ group.badges|pluralize }}{% if group.auto_recalc %} ({{ group.default_badge_cost|format_currency }}){% endif %}</li>
</ul>

<br/> <u>{{ c.DEALER_LOC_TERM|title }} Rules and Information</u>
Expand Down

0 comments on commit 444ee09

Please sign in to comment.