Commit 16c8e4c2 authored by Mat's avatar Mat
Browse files

hop, je laisse OffreLegumes comme ça pour le moment

parent 1eb5d9a5
......@@ -74,12 +74,11 @@
<div class="card">
<ul class="list-group list-group-flush">
<div class="card-body">
<h3>
<li class="list-group-item">
<h2>
Offre # {{ id }}
</h3>
</div>
</h2>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center">
Créée le {{ offre.createdAt.format('d/m/Y H:i') }}
{#
......@@ -118,6 +117,7 @@
<script type="text/javascript" src="{{ asset('js/ajax_functions.js') }}"></script>
<script type="text/javascript">
/*
* Recharge la table OffreLegumes
*/
......@@ -197,17 +197,13 @@
return div;
}
/*
*
* Initialise l'affichage de la page
*/
let id_offre = {{ id }};
//let submitURL = null;
//let form = document.querySelector('form[name=offre]');
//let titleForm = document.querySelector('#form-offre');
reloadGridLegumes();
......@@ -224,7 +220,8 @@
/*
*
* Temporaire, le bouton sauvegarder affiche en console
* un tableau avec l'ordre souhaité
*/
let orderBtn = document.querySelector('.btn-order');
orderBtn.addEventListener('click', function()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment