{% if is_granted('ROLE_SOCIETY') and not is_granted('ROLE_ADMIN') and (app.user.society.package == null or app.user.society.package == 'month' or app.user.society.packageExpireAt < "now"|date("Y-m-d H:i:s")) %}
<style>
{% if app.user.society.siren is not empty and app.user.society.adress is not empty %}
.dashboard-content-container {
z-index: 0 !important;
}
{% endif %}
</style>
<div id="package-other" class="zoom-anim-dialog mfp-hide dialog-with-tabs custom-dialog">
<div class="sign-in-form">
<div class="popup-tabs-container">
<!-- Tab -->
<div class="popup-tab-content" id="tab1">
<!-- Welcome Text -->
<div class="welcome-text">
<h3>Package</h3>
<p class="margin-top-15">
Vous devez avoir un accès supérieur.
</p>
<a class="button" href="{{ path('active_package') }}">
Voir les accès
</a>
</div>
</div>
</div>
</div>
</div>
{% endif %}