Add to do for next year

This commit is contained in:
2024-11-12 18:36:52 +01:00
parent 1e9c863cfb
commit 19566a682a
2 changed files with 6 additions and 0 deletions

View File

@@ -352,6 +352,7 @@ if (window.location.href.includes("arbitrage.html")) {
});
}
// Gestion de l'ajout d'une équipe
if (window.location.href.includes("arbitrage.html")) {
const PromoList = await pb.collection('promo').getFullList({});
const promoSelect = document.getElementById('Teampromo');
@@ -388,6 +389,7 @@ if (window.location.href.includes("arbitrage.html")) {
"membres": teamPlayers,
"capitaine": teamCaptain
};
console.log(data);
await pb.collection('equipes').create(data);
window.location.href = "arbitrage.html";
});

View File

@@ -8,6 +8,10 @@
### ✨ [Demo](https://interpromo.appen.fr)
## Point d'amélioration:
- Verification de doublon dans les joueurs
- Import des equipes depuis un excel
## Show your support
Give a ⭐️ if this project helped you!