{{ btn('copy') }} {% if (defaultDeviceType != device.type and defaultDeviceType is not null) %} {% if is_granted('ROLE_ADMIN') or is_granted('ROLE_PREVIOUS_ADMIN') or is_granted('ROLE_SUPPORT') %} {{ link('edit','modal', 'success', {'entity-id' : device.id, 'entity-name' : device.name, 'modalId': 'foxorders_modal_form_shop' }) }} {% include 'Includes/delete.html.twig' with { 'route':path('foxorders_shop_device_delete', {'id': device.id}) , 'token': csrf_token('delete' ~ device.id), 'button': 'list_delete'} %} {% endif %} {% if device.type == constant('APP\\Entity\\Device\\DeviceInterface::DEVICE_TYPE_KIOSK') %} {{ link('history', '', 'success', {'entity-id' : device.id }) }} {% endif %} {% endif %}