show coupon codes (#2503)
This commit is contained in:
parent
573cc2eb1b
commit
55fb04b714
1 changed files with 4 additions and 0 deletions
|
|
@ -34,6 +34,10 @@
|
|||
<% if @user.a_sustaining_member? %>
|
||||
<dt>Monthly Dues:</dt>
|
||||
<dd><%= @user.monthly_dues %></dd>
|
||||
<dt>25% Off Coupon:</dt>
|
||||
<dd><%= CouponGenerator.new(current_user.id, "member_discount").generate %> || "N/A" </dd>
|
||||
<dt>1x Gift:</dt>
|
||||
<dd><%= CouponGenerator.new(current_user.id, "tee_pack").generate %> || "N/A" </dd>
|
||||
<% end %>
|
||||
</dl>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue