récupérer les objets avec email dans une zone par code postal

This commit is contained in:
Tykayn 2025-05-26 12:57:10 +02:00 committed by tykayn
parent f5ab0c8205
commit cb240dd169
8 changed files with 348 additions and 73 deletions

View file

@ -10,11 +10,6 @@
<div class="example-wrapper">
<h1>Hello {{ controller_name }}! ✅</h1>
This friendly message is coming from:
<ul>
<li>Your controller at <code>/home/poule/encrypted/stockage-syncable/www/development/html/osm-commerce-sf/src/Controller/AdminController.php</code></li>
<li>Your template at <code>/home/poule/encrypted/stockage-syncable/www/development/html/osm-commerce-sf/templates/admin/index.html.twig</code></li>
</ul>
</div>
{% endblock %}

View file

@ -0,0 +1,25 @@
{% extends 'base.html.twig' %}
{% block title %}Hello AdminController!{% endblock %}
{% block body %}
<style>
.example-wrapper { margin: 1em auto; max-width: 800px; width: 95%; font: 18px/1.5 sans-serif; }
.example-wrapper code { background: #F5F5F5; padding: 2px 6px; }
</style>
<div class="example-wrapper">
<h1>Labourage fait sur la zone "{{ zone }}" ✅</h1>
{# {{ dump(results) }} #}
{% for commerce in results %}
<p>
{{ commerce.name }}
</p>
<pre>
{{ dump(commerce) }}
</pre>
{% endfor %}
</div>
{% endblock %}