templates/admin/Reserve/list_notes.html.twig line 1

Open in your IDE?
  1. {% extends '@SonataAdmin/CRUD/base_list_field.html.twig' %}
  2. {% block field %}
  3.     {% if object.client.phone is null %}
  4.         <div>Отсутствует номер телефона</div>
  5.     {% endif %}
  6.     {% if object.client.passportNumber is null or object.client.passportId is null or object.client.driversLicenseNumber is null %}
  7.         <div>Данные пользователя не заполнены. <a href="{{ path('admin_app_client_edit', {'id': object.client.id})}}">заполнить ...</a></div>
  8.     {% endif %}
  9.     {% if object.notes is not null %}
  10.         <b>По аренде:</b> <br>
  11.         <div>{{ object.notes }}</div>
  12.     {% endif %}
  13.     {% if object.client.notes is not null %}
  14.         <b>По клиенту:</b> <br>
  15.         <div>{{ object.client.notes }}</div>
  16.     {% endif %}
  17. {% endblock %}