List rewards

list rewards available for a contact

contact can have some rewards available and burnt and you should want to show the list to the contact

{% for granted in granted_rewards | sort: "external_id" %}
  Name: {{ granted.name }}
  Earned date: {{ granted.earned_date }}
  Code: {{ granted.external_id }}
{% endfor %}

list rewards definition

you should maybe want to show some rewards/coupons that should interest the contact

{% for master in rewards %}
  Name: {{ master.name }}
  Stock: {{ master.stock }}
  Description: {{ master.description }} |
{% endfor %}