{% extends 'base.html.twig' %} {% block stylesheets %} {{ parent() }} {{ encore_entry_link_tags('dashboard') }} {{ encore_entry_link_tags('dropzone') }} {% endblock %} {% block javascripts %} {{ parent() }} {{ encore_entry_script_tags('dropzone') }} {{ encore_entry_script_tags('dashboard_events') }} {{ encore_entry_script_tags('admin') }} {% endblock %} {% block title %}Users{% endblock %} {% block body %}

Search user

{{ user.getFirstname }} {{ user.getSurname }}

{% if user.getEnabled %} Active {% else %} Created {% endif %} {{ user.getCredits }} credit{% if user.getCredits > 1 %}s{% endif %}
{{ form_start(formUser, {'attr': {'class': 'form', 'novalidate': 'novalidate'}}) }} {% if user.getDeletedAt is not null and user.deleted %} {% endif %}
User ID: {{ user.getId }}
Status: {% if user.getEnabled == 0 %} Created {% endif %} {% if user.getEnabled == 1 %} {% if user.getBlocked == 0 %} Activated {% else %} Blocked {% endif %} {% endif %}
E-mail: {{ form_widget(formUser.email, { 'attr': {'placeholder': 'E-mail'|trans, 'class': 'form-control form-control-md'} }) }} {{ form_errors(formUser.email) }}
Firstname: {{ form_widget(formUser.firstname, { 'attr': {'placeholder': 'First name'|trans, 'class': 'form-control form-control-md'} }) }} {{ form_errors(formUser.firstname) }}
Surname: {{ form_widget(formUser.surname, { 'attr': {'placeholder': 'Sur name'|trans, 'class': 'form-control form-control-md'} }) }} {{ form_errors(formUser.surname) }}
Last login date: {{ user.getLastLogin|date }}
Account deleted date: {{ user.getDeletedAt|date }}
Remarks: {{ form_widget(formUser.remarks, { 'attr': {'placeholder': '', 'class': 'form-control form-control-md'} }) }} {{ form_errors(formUser.remarks) }}
Credits: {{ form_widget(formUser.credits, { 'attr': {'placeholder': 'Credit'|trans, 'class': 'form-control form-control-md'} }) }} {{ form_errors(formUser.credits) }}
{{ form_end(formUser) }}
{% if hasCompany is same as (false) %}

You need to add a company

Add a company {% else %} {% if editAdvert is not same as(false) %}
{% if eventadvertPhotos is defined %} {% for photo in eventadvertPhotos %} {% include 'dashboard/eventadvert/photo.html.twig' %} {% endfor %} {% endif %}

{% trans %}Drag & drop your photos here{% endtrans %}
{% trans %}or{% endtrans %}
{% trans %}Browse files{% endtrans %}
{{ form_start(formAdvert, {'attr': {'class': 'form', 'novalidate': 'novalidate'}}) }}
{{ form_widget(formAdvert.channel, { 'attr': {'placeholder': 'Channel'|trans, 'class': 'form-control form-control-lg'} }) }} {{ form_errors(formAdvert.channel) }}
{{ form_widget(formAdvert.category, { 'attr': {'placeholder': 'Category'|trans, 'class': 'form-control form-control-lg'} }) }} {{ form_errors(formAdvert.category) }}
{{ form_widget(formAdvert.title, { 'attr': {'placeholder': 'Title'|trans, 'class': 'form-control form-control-lg'} }) }} {{ form_label(formAdvert.title, 'Title'|trans) }} {{ form_errors(formAdvert.title) }}
{{ form_label(formAdvert.description, 'Description'|trans, {'label_attr': {'style' : 'position: relative; left: 0;'}}) }} {{ form_widget(formAdvert.description, { 'attr': {'placeholder': '', 'class': 'form-control form-control-lg'} }) }} {{ form_errors(formAdvert.description) }}
Voeg enkele beschrijvende tags over uw advertentie toe
{{ form_label(formAdvert.eventStartDate, 'Start date'|trans) }} {{ form_widget(formAdvert.eventStartDate, { 'attr': {'placeholder': 'Start date'|trans, 'class': 'form-control-xlg p-0'} }) }} {{ form_errors(formAdvert.eventStartDate) }}
{{ form_label(formAdvert.eventEndDate, 'End date'|trans) }} {{ form_widget(formAdvert.eventEndDate, { 'attr': {'placeholder': 'End date'|trans, 'class': 'form-control-xlg p-0'} }) }} {{ form_errors(formAdvert.eventEndDate) }}
{{ form_label(formAdvert.startHour, 'Start hour'|trans) }} {{ form_widget(formAdvert.startHour, { 'attr': {'placeholder': 'Start hour'|trans, 'class': 'form-control-xlg p-0'} }) }} {{ form_errors(formAdvert.startHour) }}
{{ form_label(formAdvert.endHour, 'End hour'|trans) }} {{ form_widget(formAdvert.endHour, { 'attr': {'placeholder': 'End hour'|trans, 'class': 'form-control-xlg p-0'} }) }} {{ form_errors(formAdvert.endHour) }}
Vind uw event plaats op een andere locatie dan uw bedrijf?
Voeg hieronder het adres van het evenement toe
{{ form_widget(formAdvert.address, { 'attr': {'placeholder': 'Address'|trans, 'class': 'form-control form-control-lg'} }) }} {{ form_label(formAdvert.address, 'Address'|trans) }} {{ form_errors(formAdvert.address) }}
{{ form_widget(formAdvert.housenumber, { 'attr': {'placeholder': 'Housenumber'|trans, 'class': 'form-control form-control-lg'} }) }} {{ form_label(formAdvert.housenumber, 'Number'|trans) }} {{ form_errors(formAdvert.housenumber) }}
{{ form_widget(formAdvert.box, { 'attr': {'placeholder': 'Box'|trans, 'class': 'form-control form-control-lg'} }) }} {{ form_label(formAdvert.box, 'Box'|trans) }} {{ form_errors(formAdvert.box) }}
{{ form_errors(formAdvert.geoPlacesId) }} {{ form_widget(formAdvert.geoPlacesId, { 'attr': {'placeholder': 'Zipcode & City'|trans, 'class': 'form-control form-control-lg'} }) }}
{{ form_end(formAdvert) }}
{% else %}
{% for advert in adverts %} {% endfor %}
Title  
{{ advert.getTitle }} {% if advert.getPaused %} Paused Activate {% elseif advert.getBlocked %} Blocked Unblock {% elseif advert.getDeleted %} Deleted Restore {% else %} Edit Pause Block Delete {% endif %}
{% endif %} {% endif %}
{{ form_start(formCompanyProfile, {'attr': {'class': 'form', 'novalidate': 'novalidate'}}) }}
{{ form_widget(formCompanyProfile.companyname, { 'attr': {'placeholder': 'Company name'|trans, 'class': 'form-control form-control-md'} }) }} {{ form_label(formCompanyProfile.companyname, 'Company Name'|trans) }} {{ form_errors(formCompanyProfile.companyname) }}
{{ form_widget(formCompanyProfile.address, { 'attr': {'placeholder': 'Address'|trans, 'class': 'form-control form-control-md'} }) }} {{ form_label(formCompanyProfile.address, 'Address'|trans) }} {{ form_errors(formCompanyProfile.address) }}
{{ form_widget(formCompanyProfile.housenumber, { 'attr': {'placeholder': 'Housenumber'|trans, 'class': 'form-control form-control-md'} }) }} {{ form_label(formCompanyProfile.housenumber, 'Number'|trans) }} {{ form_errors(formCompanyProfile.housenumber) }}
{{ form_widget(formCompanyProfile.box, { 'attr': {'placeholder': 'Box'|trans, 'class': 'form-control form-control-md'} }) }} {{ form_label(formCompanyProfile.box, 'Box'|trans) }} {{ form_errors(formCompanyProfile.box) }}
{{ form_errors(formCompanyProfile.geoPlacesId) }} {{ form_widget(formCompanyProfile.geoPlacesId, { 'attr': {'placeholder': 'Zipcode & City'|trans, 'class': 'form-control form-control-md'} }) }}
{{ form_widget(formCompanyProfile.phonenumber, { 'attr': {'placeholder': 'Phone'|trans, 'class': 'form-control form-control-md'} }) }} {{ form_label(formCompanyProfile.phonenumber, 'Phone'|trans) }} {{ form_errors(formCompanyProfile.phonenumber) }} Optioneel
{{ form_widget(formCompanyProfile.website, { 'attr': {'placeholder': 'Website'|trans, 'class': 'form-control form-control-md'} }) }} {{ form_label(formCompanyProfile.website, 'Website'|trans) }} {{ form_errors(formCompanyProfile.website) }}
{{ form_widget(formCompanyProfile.emailaddress, { 'attr': {'placeholder': 'E-mail'|trans, 'class': 'form-control form-control-md'} }) }} {{ form_label(formCompanyProfile.emailaddress, 'E-mail'|trans) }} {{ form_errors(formCompanyProfile.emailaddress) }} {% trans %}This e-mail address will be visible on the website{% endtrans %}
{{ form_widget(formCompanyProfile.vatnumber, { 'attr': {'placeholder': 'VAT'|trans, 'class': 'form-control form-control-md'} }) }} {{ form_label(formCompanyProfile.vatnumber, 'VAT number'|trans) }} {{ form_errors(formCompanyProfile.vatnumber) }} Optioneel
{{ form_label(formCompanyProfile.description, 'Introduction'|trans, {'label_attr': {'style' : 'position: relative; left: 0;'}}) }} {{ form_widget(formCompanyProfile.description, { 'attr': {'placeholder': 'Introduction'|trans, 'class': 'form-control form-control-md'} }) }} {{ form_errors(formCompanyProfile.description) }}
Voeg enkele beschrijvende tags over uw bedrijf toe

{% trans %}Opening hours{% endtrans %}

{% for day in range(1, 7) %} {% endfor %}
{% if day == 1 %} {% trans %}Monday{% endtrans %} {% elseif day == 2 %} {% trans %}Tuesday{% endtrans %} {% elseif day == 3 %} {% trans %}Wednesday{% endtrans %} {% elseif day == 4 %} {% trans %}Thursday{% endtrans %} {% elseif day == 5 %} {% trans %}Friday{% endtrans %} {% elseif day == 6 %} {% trans %}Saturday{% endtrans %} {% elseif day == 7 %} {% trans %}Sunday{% endtrans %} {% endif %} {% trans %}till{% endtrans %}
  {% trans %}till{% endtrans %}
{{ form_end(formCompanyProfile) }}

{% trans %}Drag & drop your photos here{% endtrans %}
{% trans %}or{% endtrans %}
{% trans %}Browse files{% endtrans %}
{% if companyPhotos is defined %} {% for photo in companyPhotos %} {% include 'dashboard/company/photo.html.twig' %} {% endfor %} {% endif %}
{% if user.getTransactions|length > 0 %}
{% for transaction in user.getTransactions %} {% endfor %}
Advert title Payment Method Amount Date payment
{% if transaction.getEventAdvert is not null %} {{ transaction.getEventAdvert.getTitle }} {% else %} Credit payment{% endif %} {{ transaction.getPaymentMethod }} {{ transaction.getAmount }} {{ transaction.getDatePayment|date }}
{% else %} No transaction payments for this user {% endif %}
{% if editPremiumAdvert is not same as(false) %}
{{ form_start(formPremiumAdvert, {'attr': {'class': 'form', 'novalidate': 'novalidate'}}) }}
{{ form_label(formPremiumAdvert.eventEndDate, 'End date'|trans) }} {{ form_widget(formPremiumAdvert.eventEndDate, { 'attr': {'placeholder': 'End date'|trans, 'class': 'form-control-xlg p-0'} }) }} {{ form_errors(formPremiumAdvert.eventEndDate) }}
{{ form_end(formPremiumAdvert) }}
{% else %} {% if premiumAdverts|length > 0 %}
{% for premiumAdvert in premiumAdverts %} {% endfor %}
Title  
{{ premiumAdvert.getTitle }} Edit
{% else %} No premium adverts for this user {% endif %} {% endif %}
{% if agreement %} Click Here to download the agreement: Download {% else %} This user has not signed the agreement yet. {% endif %}
{% endblock %}