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