Commit ec721c52 authored by okhin's avatar okhin 🚴

Parent est un champ de contreparties, pas de dons :headdesk:

parent 790e4257
Pipeline #2379 passed with stages
in 18 seconds
......@@ -470,7 +470,6 @@ class Admin extends Controller
// Calcul des quantités
$query = "SELECT quoi,
status,
parent,
COUNT(status) AS qte
FROM contreparties
GROUP BY quoi, status;";
......@@ -553,6 +552,7 @@ class Admin extends Controller
c.taille as taille,
c.status as status,
c.user_id as user_id,
c.parent as parent,
u.email as email,
u.pseudo as pseudo,
u.commentaire as commentaire,
......@@ -623,7 +623,6 @@ class Admin extends Controller
$pdf = $db->query("SELECT d.id AS id,
a.nom AS pseudo,
d.pdf AS pdf,
d.parent AS parent
FROM dons d
JOIN adresses a ON a.id = d.adresse_id
WHERE d.id='".$row['taille']."'");
......
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