ajout du dossier php pour mettre tout les fichiers php

This commit is contained in:
2025-08-13 10:09:47 +02:00
parent e4eb8a945c
commit 9fb0c0a27f
18 changed files with 16 additions and 16 deletions

View File

@@ -88,7 +88,7 @@ const Calendar = () => {
const loadTeamLeaves = async () => {
if (user?.id) {
try {
const response = await fetch(`http://localhost/GTA/project/public/getTeamLeaves.php?user_id=${user.id}`);
const response = await fetch(`http://localhost/GTA/project/public/php/getTeamLeaves.php?user_id=${user.id}`);
const data = await response.json();
if (data.success) {
setTeamLeaves(data.leaves || []);