Created
May 29, 2019 19:55
-
-
Save nathanp/7e418ff6dbb5cef3b43195bbade078dd to your computer and use it in GitHub Desktop.
Show a user their registrations with pending payments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="panel panel-default"> | |
<div class="panel-heading">Registrations</div> | |
<ul class="list-group list-group-panel"> | |
{% registration where:'PersonAliasId == {{ CurrentPerson.PrimaryAliasId }}' %} | |
{% for reg in registrationItems %} | |
{% if reg.BalanceDue > 0 %} | |
<li class="list-group-item"> | |
{{ reg.RegistrationInstance.Name }} <br /> | |
Balance due - {{ reg.BalanceDue | FormatAsCurrency }} <br /> | |
<a href="{{ 'Global' | Attribute:'PublicApplicationRoot' }}Registration?RegistrationId={{ reg.Id }}">Complete Payment</a> | |
</li> | |
{% endif %} | |
{% endfor %} | |
{% endregistration %} | |
</ul> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment