diff --git a/aleksis/apps/paweljong/templates/paweljong/event_registration/full.html b/aleksis/apps/paweljong/templates/paweljong/event_registration/full.html index c7b30e4fd4f4ab331f78b7501e1bafaecf4756ef..14ebcf957b06bca6f1b1596da1475fec7f2858fa 100644 --- a/aleksis/apps/paweljong/templates/paweljong/event_registration/full.html +++ b/aleksis/apps/paweljong/templates/paweljong/event_registration/full.html @@ -13,7 +13,7 @@ {% has_perm 'paweljong.manage_registration' user registration as can_manage_registration %} {% has_perm 'paweljong.delete_registration' user registration as can_delete_registration %} {% has_perm 'paweljong.send_notification_mail' user registration as can_send_notification %} - {% has_perm 'tezor.can_print_invoice' user registration as can_print_invoice %} + {% has_perm 'tezor.view_invoice_rule' user registration as can_view_invoice %} {% if can_manage_registration or can_manage_registration_preferences or can_delete_registration or can_send_notification %} <p> @@ -38,7 +38,7 @@ </a> {% endif %} - {% if can_print_invoice %} + {% if can_view_invoice %} <a href="{% url 'invoice_by_token' registration.get_invoice.token %}" class="btn waves-effect waves-light"> <i class="material-icons left">attach_money</i> {% trans "Invoice" %}