{% extends 'Franchise/base.html.twig' %} {% block title %} {{ 'app.manager.pages.applications.new.title'|trans }} {% endblock %} {% block toolbar_actions %}
{% if qoodos is defined and true == qoodos %} {% endif %} {% if smsMode is defined and true == smsMode %} {{ 'app.global.buttons.add_credits'|trans }} {% endif %} {{ 'app.global.buttons.add'|trans }}
{% endblock %} {% block component_body %}
{% for application in applications %} {% else %} {% endfor %}
{{ 'app.manager.pages.applications.list.name'|trans }} {{ 'app.global.fields.code'|trans }} {{ 'app.manager.pages.applications.list.key'|trans }} {{ 'app.global.fields.last_update'|trans }}
{{ application.applicationName.description }} {{ application.applicationName.name }} {{ application.keyToken }} {% if smsMode is defined and true == smsMode and "sms_mode" == application.applicationName.name %} {% if smsModeCredits is null %} {{ 'app.manager.pages.applications.sms_mode.error'|trans }} {% else %} {{ smsModeCredits }} {{ 'app.manager.pages.applications.sms_mode.credits'|trans }} {% endif %} {% endif %} {{ application.updatedAt|date('d/m/Y H:i') }}
{{ btn('copy') }} {{ link('edit','modal', 'success', {'entity-id' : application.id, 'modalId': 'foxorders_modal_form_franchise' }) }} {% include 'Includes/Manager/delete.html.twig' with { 'route': path('foxorders_franchise_application_delete', {'id': application.id}) , 'token': csrf_token('delete' ~ application.id), 'button': 'list_delete' } %}
{{ 'app.global.detail.no_record_found'|trans }}
{% endblock %} {% block modals %} {% include 'Modal/form.html.twig' with { 'title': 'app.manager.pages.external_links.new.title'|trans, 'id': 'franchise', } %} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}