```
✨ feat(contrats/add.twig): Ajoute le détail des options au formulaire ✨ feat(SearchProduct.js): Implémente la recherche et la sélection d'options 🐛 fix(DevisController.php): Corrige la création/édition de devis et supprime un devis ✨ feat(admin.js): Enregistre les custom elements SearchOptions ✨ feat(templates/dashboard/devis): Permet l'édition et la suppression d'un devis ```
This commit is contained in:
@@ -5,7 +5,7 @@ import TomSelect from "tom-select";
|
||||
import { RepeatLine } from "./libs/RepeatLine.js";
|
||||
import { DevisManager } from "./libs/DevisManager.js";
|
||||
import { initTomSelect } from "./libs/initTomSelect.js";
|
||||
import { SearchProduct } from "./libs/SearchProduct.js";
|
||||
import { SearchProduct,SearchOptions } from "./libs/SearchProduct.js";
|
||||
// --- INITIALISATION SENTRY ---
|
||||
Sentry.init({
|
||||
dsn: "https://803814be6540031b1c37bf92ba9c0f79@sentry.esy-web.dev/24",
|
||||
@@ -40,6 +40,9 @@ function initAdminLayout() {
|
||||
if (!customElements.get('search-product')) {
|
||||
customElements.define('search-product', SearchProduct, { extends: 'button' });
|
||||
}
|
||||
if (!customElements.get('search-options')) {
|
||||
customElements.define('search-options', SearchOptions, { extends: 'button' });
|
||||
}
|
||||
// Sidebar & UI
|
||||
const sidebar = document.getElementById('sidebar');
|
||||
const overlay = document.getElementById('sidebar-overlay');
|
||||
|
||||
Reference in New Issue
Block a user