{% if event.is_rig %} {% endif %} {% if event.is_rig %} {% if event.internal %} {% endif %} {% if perms.RIGS.add_invoice %} {% endif %} {% endif %}