~~NOCACHE~~
====== Adhérents ======
Les tableaux de cette page reflètent la situation des adhésions enregistrées dans le logiciel Dolibarr.
===== Personnes Morales =====
++++ Voir le tableau |
SELECT
CONCAT("",adherent.rowid,"") as 'Id',
`societe` as 'Association / organisme',
CONCAT(`firstname`,' ',`lastname`) as 'Représentée par',
`zip` as 'Code postal',
`town` as 'Ville',
DATE_FORMAT(MIN(dateadh), '%Y-%m-%d') as 'Depuis le',
MAX(datef) as 'Fin le'
FROM `llx89_adherent` as adherent
LEFT JOIN llx89_subscription as cotisation ON cotisation.fk_adherent = adherent.rowid
WHERE morphy = 'mor'
GROUP BY `societe`,
`firstname`,
`lastname`,`zip`,`town`
----
++++
===== Personnes physiques =====
++++ Voir le tableau |
SELECT
CONCAT("",adherent.rowid,"") as 'Id',
CONCAT(`firstname`,' ',`lastname`) as 'Adhérent',
`zip` as 'Code postal',
`town` as 'Ville',
DATE_FORMAT(MIN(dateadh), '%Y-%m-%d') as 'Depuis le',
MAX(datef) as 'Fin le'
FROM `llx89_adherent` as adherent
LEFT JOIN llx89_subscription as cotisation ON cotisation.fk_adherent = adherent.rowid
WHERE morphy = 'phy'
GROUP BY
`firstname`,
`lastname`,`zip`,`town`
----
++++
===== Utilisateurs du wiki =====
Ce tableau contient les adhérents à jour de cotisation, qui ont fourni une adresse courriel.
Il permet de fabriquer le fichier CSV nécessaire à la mise à jour des utilisateurs du wiki.
++++ Voir le tableau |
SELECT
CONCAT("",adherent.rowid,"") as 'Id',
CONCAT(LOWER(`firstname`),'.',LOWER(`lastname`)) as 'Identifiant',
LOWER(CONVERT(CONCAT(LOWER(`firstname`),'.',LOWER(`lastname`)) USING ascii)) as test,
CONCAT(`firstname`,' ',`lastname`) as 'Nom',
`email` as 'Courriel',
"user,membre" as 'Groupe',
DATE_FORMAT(MIN(datefin), '%Y-%m-%d') as 'Fin le'
FROM `llx89_adherent` as adherent
WHERE
email LIKE '%@%' and statut=1 and date_format(datefin,'%Y') > '2018'
GROUP BY
`firstname`,
`lastname`,`zip`,`town`
----
++++
===== Adhésions en attente de confirmation =====
Le tableau contient la liste des inscriptions reçues via le [[information:adhesion|formulaire d'adhésion]] et qui doivent être confirmées par la réception du paiement.\\
A la réception du paiement il faut [[wiki:gestion:manuel_de_gestion|enregistrer l'adhésion dans Dolibarr]] et supprimer la ligne dans ce tableau.
++++ Voir le tableau |
---- struct lookup ----
schema: adhesion
----
++++
----
[[..:]] - [[.:]]