menu 1 2 3 4 5 7 operationnels

This commit is contained in:
2026-08-03 10:02:12 +02:00
parent b2c241797b
commit f37f5b1e45
25 changed files with 2373 additions and 1120 deletions
+14 -13
View File
@@ -57,15 +57,15 @@ content %}
<div class="overflow-y-auto flex-1 space-y-1 pr-1">
{% for s in societes %}
<div
onclick="selectionnerSociete('{{ s.id }}', '{{ s.Nom | e }}', '{{ s.Forme | e }}', '{{ s.Capital }}', '{{ s.siren }}', '{{ s.siret }}', '{{ s.RCS | e }}', '{{ s.TVA | e }}', '{{ s.NAF | e }}', '{{ s.Tel | e }}', '{{ s.Web | e }}', '{{ s.Mail | e }}')"
onclick="selectionnerSociete('{{ s.id }}', '{{ s.nom | e }}', '{{ s.forme | e }}', '{{ s.capital }}', '{{ s.siren }}', '{{ s.siret }}', '{{ s.rcs | e }}', '{{ s.tva | e }}', '{{ s.naf | e }}', '{{ s.tel | e }}', '{{ s.web | e }}', '{{ s.mail | e }}')"
class="societe-item cursor-pointer px-3 py-2.5 rounded-lg {% if loop.first %}bg-blue-600 text-white{% else %}hover:bg-gray-800 text-gray-300{% endif %} font-medium text-sm transition flex justify-between items-center"
data-id="{{ s.id }}"
>
<span class="truncate pr-2 font-semibold">{{ s.Nom }}</span>
<span class="truncate pr-2 font-semibold">{{ s.nom }}</span>
<span
class="text-xs {% if loop.first %}bg-blue-800{% else %}bg-gray-800 text-gray-400{% endif %} px-2 py-0.5 rounded whitespace-nowrap"
>
{{ s.Forme or 'N/A' }}
{{ s.forme or 'N/A' }}
</span>
</div>
{% endfor %}
@@ -82,7 +82,8 @@ content %}
action=""
class="space-y-4 flex-1 flex flex-col justify-between"
>
<!-- ID technique caché -->
<!-- Jeton CSRF + ID technique caché -->
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<input type="hidden" id="field-id" name="id" />
<div class="space-y-4">
@@ -101,7 +102,7 @@ content %}
<input
type="text"
id="field-nom"
name="Nom"
name="nom"
required
maxlength="60"
class="w-full bg-gray-900 border border-gray-800 rounded-lg px-3 py-2 text-white text-sm focus:outline-none focus:border-blue-500"
@@ -114,7 +115,7 @@ content %}
<input
type="text"
id="field-forme"
name="Forme"
name="forme"
required
maxlength="10"
class="w-full bg-gray-900 border border-gray-800 rounded-lg px-3 py-2 text-white text-sm focus:outline-none focus:border-blue-500"
@@ -127,7 +128,7 @@ content %}
<input
type="number"
id="field-capital"
name="Capital"
name="capital"
required
class="w-full bg-gray-900 border border-gray-800 rounded-lg px-3 py-2 text-white text-sm focus:outline-none focus:border-blue-500"
/>
@@ -174,7 +175,7 @@ content %}
<input
type="text"
id="field-rcs"
name="RCS"
name="rcs"
required
maxlength="50"
class="w-full bg-gray-900 border border-gray-800 rounded-lg px-3 py-2 text-white text-sm focus:outline-none focus:border-blue-500"
@@ -189,7 +190,7 @@ content %}
<input
type="text"
id="field-tva"
name="TVA"
name="tva"
required
maxlength="50"
class="w-full bg-gray-900 border border-gray-800 rounded-lg px-3 py-2 text-white text-sm focus:outline-none focus:border-blue-500"
@@ -204,7 +205,7 @@ content %}
<input
type="text"
id="field-naf"
name="NAF"
name="naf"
required
maxlength="10"
class="w-full bg-gray-900 border border-gray-800 rounded-lg px-3 py-2 text-white text-sm focus:outline-none focus:border-blue-500"
@@ -219,7 +220,7 @@ content %}
<input
type="text"
id="field-tel"
name="Tel"
name="tel"
required
maxlength="30"
class="w-full bg-gray-900 border border-gray-800 rounded-lg px-3 py-2 text-white text-sm focus:outline-none focus:border-blue-500"
@@ -234,7 +235,7 @@ content %}
<input
type="text"
id="field-web"
name="Web"
name="web"
required
maxlength="100"
class="w-full bg-gray-900 border border-gray-800 rounded-lg px-3 py-2 text-white text-sm focus:outline-none focus:border-blue-500"
@@ -249,7 +250,7 @@ content %}
<input
type="email"
id="field-mail"
name="Mail"
name="mail"
required
maxlength="100"
class="w-full bg-gray-900 border border-gray-800 rounded-lg px-3 py-2 text-white text-sm focus:outline-none focus:border-blue-500"