{% extends 'App/_include/_layout.main.html.twig' %} {% block page_content %}

{{ 'subscription.step1.title'|trans }}

{% set has_free_or_trial = (customer.subscriptionCode == constant('App\\Entity\\Business\\Offer::LEVEL_TRIAL') or customer.subscriptionCode == constant('App\\Entity\\Business\\Offer::LEVEL_FREE')) %} {% set colspan = (has_free_or_trial) ? 10 : 9 %}
{% if customer.subscriptionCode %} {% if customer.subscriptionCode != constant('App\\Entity\\Business\\Offer::LEVEL_TRIAL') %}

{{ 'subscription.step1.text1'|trans({'%offer_name%': (current_offer.name|trans)}) }} {% if customer.subscriptionEndedAt %} {{ 'subscription.step1.text2'|trans }} {{ customer.subscriptionEndedAt|date('d/m/Y') }}{% endif %} {% if is_renewable %}  {{ 'subscription.step1.btn_renewal'|trans }} {% endif %}

{% else %}

{{ 'subscription.step1.text_trial'|trans }} {% if customer.subscriptionEndedAt %}{{ customer.subscriptionEndedAt|date('d/m/Y') }}{% endif %}.

{% endif %} {% endif %} {% if has_free_or_trial %} {% endif %} {% for offer in offers %} {% endfor %} {% if has_free_or_trial and (customer.subscriptionCode == constant('App\\Entity\\Business\\Offer::LEVEL_TRIAL') or customer.subscriptionCode == constant('App\\Entity\\Business\\Offer::LEVEL_FREE')) %} {% endif %} {% if has_free_or_trial %}{% endif %} {% if has_free_or_trial %}{% endif %} {% if has_free_or_trial %}{% endif %} {% if has_free_or_trial %}{% endif %} {% if has_free_or_trial %}{% endif %} {% if has_free_or_trial %}{% endif %} {% if has_free_or_trial %}{% endif %} {% if has_free_or_trial %} {% endif %} {% if has_free_or_trial %}{% endif %} {% if has_free_or_trial %}{% endif %} {% if has_free_or_trial %}{% endif %} {% if has_free_or_trial %}{% endif %} {% if has_free_or_trial %} {% endif %} {% if has_free_or_trial %}{% endif %} {% if has_free_or_trial %}{% endif %} {% if has_free_or_trial %}{% endif %} {% if has_free_or_trial %}{% endif %} {% if has_free_or_trial %}{% endif %} {% if has_free_or_trial %} {% endif %} {% if has_free_or_trial %}{% endif %} {% if has_free_or_trial %}{% endif %} {% if has_free_or_trial %}{% endif %} {% if has_free_or_trial %}{% endif %} {% for offer in offers %} {% if offer.optionAvailable %} {% for option in options %} {% if option.isSubscribed %} {% else %} {% endif %} {% endfor %} {% else %} {% endif %} {% endfor %} {% if has_free_or_trial %} {% endif %} {% for offer in offers %} {% endfor %}
{{ 'subscription.step1.table_offers.head_1'|trans }} {{ 'subscription.step1.table_offers.head_current_access'|trans }}
{% if customer.subscriptionCode == constant('App\\Entity\\Business\\Offer::LEVEL_TRIAL') %} {{ 'subscription.step1.table_offers.head_current_trial'|trans }} {% elseif customer.subscriptionCode == constant('App\\Entity\\Business\\Offer::LEVEL_FREE') %} {{ 'subscription.step1.table_offers.head_current_free'|trans }} {% endif %}
{{ ('subscription.step1.table_offers.head_' ~ offer.code|lower)|trans }}
{{ offer.monthlyAmount|number_format(2, ',', '') }} €HT / {{ 'month'|trans }}
{% if current_offer and current_offer.code != constant('App\\Entity\\Business\\Offer::LEVEL_DEFAULT') and current_offer.code != constant('App\\Entity\\Business\\Offer::LEVEL_TRIAL') %} {% if current_offer.code == offer.code %} {% if is_granted('ROLE_APP_SUB_MULTI_USER') %} {{ 'subscription.step1.btn_add_license'|trans }} {% endif %} {% else %} {{ 'subscription.step1.btn_subscription'|trans }} {% endif %} {% else %} {{ 'subscription.step1.btn_subscription'|trans }} {% endif %}
{{ 'subscription.step1.table_offers.max_article'|trans }}{{ current_offer.nbMaxArticle }}20 20 {{ 'subscription.step1.table_offers.unlimited'|trans }} {{ 'subscription.step1.table_offers.unlimited'|trans }} {{ 'subscription.step1.table_offers.unlimited'|trans }} {{ 'subscription.step1.table_offers.unlimited'|trans }} {{ 'subscription.step1.table_offers.unlimited'|trans }} {{ 'subscription.step1.table_offers.unlimited'|trans }}
{{ 'subscription.step1.table_offers.max_user'|trans }}11 1 1 {{ 'subscription.step1.table_offers.unlimited'|trans }} {{ 'subscription.step1.table_offers.unlimited'|trans }} {{ 'subscription.step1.table_offers.unlimited'|trans }} {{ 'subscription.step1.table_offers.unlimited'|trans }} {{ 'subscription.step1.table_offers.unlimited'|trans }}
{{ 'subscription.step1.table_offers.sub_title.kanban_type'|trans }}
{{ 'subscription.step1.table_offers.kb_appro'|trans }}
{{ 'subscription.step1.table_offers.kb_fab'|trans }}
{{ 'subscription.step1.table_offers.kb_fs'|trans }}
{{ 'subscription.step1.table_offers.etiquette_libre'|trans }}
{{ 'subscription.step1.table_offers.sub_title.report'|trans }}
{{ 'subscription.step1.table_offers.report_creation'|trans }}
{{ 'subscription.step1.table_offers.report_management'|trans }}
{{ 'subscription.step1.table_offers.sub_title.data_exchange'|trans }}
{{ 'subscription.step1.table_offers.export_kanban'|trans }} {% if customer.subscriptionCode == constant('App\\Entity\\Business\\Offer::LEVEL_TRIAL') %} {% endif %}
{{ 'subscription.step1.table_offers.export_other'|trans }}
{{ 'subscription.step1.table_offers.import_section_color'|trans }}
{{ 'subscription.step1.table_offers.import_suppliers'|trans }}
{{ 'subscription.step1.table_offers.import_items'|trans }}
{{ 'subscription.step1.table_offers.import_cmj'|trans }} {% if customer.subscriptionCode == constant('App\\Entity\\Business\\Offer::LEVEL_TRIAL') %} {% endif %}
{{ 'subscription.step1.table_offers.import_kb_appro'|trans }}
{{ 'subscription.step1.table_offers.import_kb_transfert'|trans }}
{{ 'subscription.step1.table_offers.import_kb_fab'|trans }}
{{ 'subscription.step1.table_offers.import_kb_fs'|trans }}
{{ 'subscription.step1.table_offers.sub_title.sticker_template'|trans }}
{{ 'subscription.step1.table_offers.sticker_standard'|trans }}
{{ 'subscription.step1.table_offers.sticker_standard_with_cb'|trans }} {% if customer.subscriptionCode == constant('App\\Entity\\Business\\Offer::LEVEL_TRIAL') %} {% endif %}
{{ 'subscription.step1.table_offers.sticker_tailor_made'|trans }}
{{ 'subscription.step1.table_offers.sticker_without_metion'|trans }}
{{ 'subscription.step1.table_offers.sub_title.support'|trans }}
{{ 'subscription.step1.table_offers.support_by_email'|trans }}
{{ 'subscription.step1.table_offers.support_by_phone'|trans }} {{ 'subscription.step1.text_in_progress'|trans }} + {{ option.offer.monthlyAmount|number_format(2, ',', '') }} €HT / {{ 'month'|trans }}
{% if current_offer.optionAvailable %}{{ 'subscription.step1.btn_subscription'|trans }}{% endif %}
{{ 'subscription.step1.table_offers.head_current_access'|trans }}
{% if customer.subscriptionCode == constant('App\\Entity\\Business\\Offer::LEVEL_TRIAL') %} {{ 'subscription.step1.table_offers.head_current_trial'|trans }} {% elseif customer.subscriptionCode == constant('App\\Entity\\Business\\Offer::LEVEL_TRIAL') %} {{ 'subscription.step1.table_offers.head_current_free'|trans }} {% endif %}
{{ ('subscription.step1.table_offers.head_' ~ offer.code|lower)|trans }}
{{ offer.monthlyAmount|number_format(2, ',', '') }} €HT / {{ 'month'|trans }}
{% if current_offer and current_offer.code != constant('App\\Entity\\Business\\Offer::LEVEL_DEFAULT') and current_offer.code != constant('App\\Entity\\Business\\Offer::LEVEL_TRIAL') %} {% if current_offer.code == offer.code %} {% if is_granted('ROLE_APP_SUB_MULTI_USER') %} {{ 'subscription.step1.btn_add_license'|trans }} {% endif %} {% else %} {{ 'subscription.step1.btn_subscription'|trans }} {% endif %} {% else %} {{ 'subscription.step1.btn_subscription'|trans }} {% endif %}
{% endblock %} {% block javascript_footer %} {{ parent() }} {% endblock %}