```
🔧 chore(ansible): Met à jour la version de PHP pour les tâches cron et commandes. ✨ feat(flow/view): Ajoute la gestion de la livraison et réorganise le formulaire de paiement. ```
This commit is contained in:
@@ -172,7 +172,7 @@
|
||||
state: reloaded
|
||||
|
||||
- name: Symfony Tasks (Migrations, Cache, Warmup)
|
||||
ansible.builtin.command: "php bin/console {{ item }} --no-interaction"
|
||||
ansible.builtin.command: "php8.4 bin/console {{ item }} --no-interaction"
|
||||
become: false
|
||||
args:
|
||||
chdir: "{{ path }}"
|
||||
@@ -198,7 +198,7 @@
|
||||
name: "Intranet Ludikevent - Unsigned Contracts Expired"
|
||||
minute: "0"
|
||||
hour: "12"
|
||||
job: "php {{ path }}/bin/console app:mail"
|
||||
job: "php8.4 {{ path }}/bin/console app:mail"
|
||||
user: root
|
||||
state: present
|
||||
|
||||
@@ -206,7 +206,7 @@
|
||||
ansible.builtin.cron:
|
||||
name: "Intranet Ludikevent - Search"
|
||||
minute: "*/5"
|
||||
job: "php {{ path }}/bin/console app:search"
|
||||
job: "php8.4 {{ path }}/bin/console app:search"
|
||||
user: root
|
||||
|
||||
- name: "Cron Task Stripe"
|
||||
@@ -214,7 +214,7 @@
|
||||
name: "Intranet Ludikevent - Stripe"
|
||||
minute: "0"
|
||||
hour: "1"
|
||||
job: "php {{ path }}/bin/console app:stripe:sync"
|
||||
job: "php8.4 {{ path }}/bin/console app:stripe:sync"
|
||||
user: root
|
||||
|
||||
- name: "Cron Task Backup"
|
||||
@@ -222,7 +222,7 @@
|
||||
name: "Intranet Ludikevent - Backup"
|
||||
minute: "0"
|
||||
hour: "*/6"
|
||||
job: "php {{ path }}/bin/console app:backup"
|
||||
job: "php8.4 {{ path }}/bin/console app:backup"
|
||||
user: "root"
|
||||
|
||||
- name: "Cron Task - Clean Data"
|
||||
@@ -230,7 +230,7 @@
|
||||
name: "Intranet Ludikevent - Clean Data"
|
||||
minute: "0"
|
||||
hour: "20"
|
||||
job: "php {{ path }}/bin/console app:clean"
|
||||
job: "php8.4 {{ path }}/bin/console app:clean"
|
||||
user: "root"
|
||||
|
||||
- name: Final Permissions Fix (0777 pour les dossiers d'upload)
|
||||
@@ -250,4 +250,4 @@
|
||||
- "{{ path }}/public/media"
|
||||
- "{{ path }}/public/pdf"
|
||||
- "{{ path }}/public/seo"
|
||||
- "{{ path }}/public/tmp-sign"
|
||||
- "{{ path }}/public/tmp-sign"
|
||||
@@ -194,26 +194,7 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="mt-6 pt-6 border-t border-slate-700/50">
|
||||
<h4 class="text-white font-bold text-sm mb-4">Gestion Livraison</h4>
|
||||
<form action="{{ path('app_crm_flow_update', {id: session.id}) }}" method="post" class="space-y-4">
|
||||
<div class="grid grid-cols-2 gap-4">
|
||||
<div>
|
||||
<label class="block text-[10px] font-bold text-slate-400 uppercase tracking-widest mb-1">Distance (km)</label>
|
||||
<input type="number" step="0.1" name="deliveryDistance" value="{{ session.deliveryDistance }}"
|
||||
class="w-full bg-slate-900/50 border border-slate-700 rounded-lg px-3 py-2 text-white text-sm focus:border-blue-500 focus:ring-1 focus:ring-blue-500 outline-none transition-all">
|
||||
</div>
|
||||
<div>
|
||||
<label class="block text-[10px] font-bold text-slate-400 uppercase tracking-widest mb-1">Prix Livraison (€)</label>
|
||||
<input type="number" step="0.01" name="deliveryPrice" value="{{ session.deliveryPrice }}"
|
||||
class="w-full bg-slate-900/50 border border-slate-700 rounded-lg px-3 py-2 text-white text-sm focus:border-blue-500 focus:ring-1 focus:ring-blue-500 outline-none transition-all">
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit" class="w-full py-2 bg-blue-600 hover:bg-blue-500 text-white text-xs font-bold uppercase tracking-widest rounded-lg transition-all">
|
||||
Mettre à jour
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -365,19 +346,33 @@
|
||||
</div>
|
||||
|
||||
<div class="mt-6 pt-6 border-t border-slate-700/50">
|
||||
<form action="{{ path('app_crm_flow_update', {id: session.id}) }}" method="post" class="flex items-end gap-4">
|
||||
<div class="flex-1">
|
||||
<label class="block text-[10px] font-bold text-slate-400 uppercase tracking-widest mb-1">Mode de paiement</label>
|
||||
<select name="typePaiement" class="w-full bg-slate-900/50 border border-slate-700 rounded-lg px-3 py-2 text-white text-sm focus:border-blue-500 focus:ring-1 focus:ring-blue-500 outline-none transition-all">
|
||||
<option value="">Sélectionner...</option>
|
||||
{% for type in ['Paiement Via Chorus', 'Paiement En ligne', 'Paiement Après événement', 'Autre mode de paiement'] %}
|
||||
<option value="{{ type }}" {% if session.typePaiement == type %}selected{% endif %}>{{ type }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<form action="{{ path('app_crm_flow_update', {id: session.id}) }}" method="post" class="space-y-4">
|
||||
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
|
||||
<div>
|
||||
<label class="block text-[10px] font-bold text-slate-400 uppercase tracking-widest mb-1">Distance (km)</label>
|
||||
<input type="number" step="0.1" name="deliveryDistance" value="{{ session.deliveryDistance }}"
|
||||
class="w-full bg-slate-900/50 border border-slate-700 rounded-lg px-3 py-2 text-white text-sm focus:border-blue-500 focus:ring-1 focus:ring-blue-500 outline-none transition-all">
|
||||
</div>
|
||||
<div>
|
||||
<label class="block text-[10px] font-bold text-slate-400 uppercase tracking-widest mb-1">Prix Livraison (€)</label>
|
||||
<input type="number" step="0.01" name="deliveryPrice" value="{{ session.deliveryPrice }}"
|
||||
class="w-full bg-slate-900/50 border border-slate-700 rounded-lg px-3 py-2 text-white text-sm focus:border-blue-500 focus:ring-1 focus:ring-blue-500 outline-none transition-all">
|
||||
</div>
|
||||
<div>
|
||||
<label class="block text-[10px] font-bold text-slate-400 uppercase tracking-widest mb-1">Mode de paiement</label>
|
||||
<select name="typePaiement" class="w-full bg-slate-900/50 border border-slate-700 rounded-lg px-3 py-2 text-white text-sm focus:border-blue-500 focus:ring-1 focus:ring-blue-500 outline-none transition-all">
|
||||
<option value="">Sélectionner...</option>
|
||||
{% for type in ['Paiement Via Chorus', 'Paiement En ligne', 'Paiement Après événement', 'Autre mode de paiement'] %}
|
||||
<option value="{{ type }}" {% if session.typePaiement == type %}selected{% endif %}>{{ type }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex justify-end">
|
||||
<button type="submit" class="py-2 px-6 bg-indigo-600 hover:bg-indigo-500 text-white text-xs font-bold uppercase tracking-widest rounded-lg transition-all">
|
||||
Enregistrer les modifications
|
||||
</button>
|
||||
</div>
|
||||
<button type="submit" class="py-2 px-4 bg-indigo-600 hover:bg-indigo-500 text-white text-xs font-bold uppercase tracking-widest rounded-lg transition-all h-[38px]">
|
||||
Enregistrer
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user