mirror of
https://github.com/JMP-MS/ASPIC.git
synced 2026-10-27 16:07:10 +00:00
V1.15.17 Evolutions des consignes
This commit is contained in:
@@ -138,7 +138,8 @@ try {
|
||||
// fichier reste volontairement passif : il ne renvoie que ce qui a été
|
||||
// réellement dit (assistant_id reste null si personne n'est cité), sans
|
||||
// jamais anticiper une décision qui appartient à l'étage suivant.
|
||||
$agents = $pdo->query('SELECT AGN_Incr, AGN_Nom, AGN_Fonction, AGN_Variantes FROM ASP_Agents ORDER BY AGN_Incr ASC')->fetchAll();
|
||||
// AGN_Nom renommée AGN_Prenom en base (7 septembre 2026, nuit).
|
||||
$agents = $pdo->query('SELECT AGN_Incr, AGN_Prenom, AGN_Fonction, AGN_Variantes FROM ASP_Agents ORDER BY AGN_Incr ASC')->fetchAll();
|
||||
$actionsDisponibles = $pdo->query('SELECT ACT_Code, ACT_Libelle FROM ASP_Actions ORDER BY ACT_Libelle ASC')->fetchAll();
|
||||
} catch (PDOException $e) {
|
||||
http_response_code(500);
|
||||
@@ -226,7 +227,7 @@ $listeProfessions = $professions
|
||||
: '(aucune profession existante)';
|
||||
$listeAgents = $agents
|
||||
? implode(', ', array_map(
|
||||
fn($a) => $a['AGN_Incr'] . ' = ' . $a['AGN_Nom'] .
|
||||
fn($a) => $a['AGN_Incr'] . ' = ' . $a['AGN_Prenom'] .
|
||||
($a['AGN_Variantes'] ? ' (variantes tolérées : ' . $a['AGN_Variantes'] . ')' : ''),
|
||||
$agents
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user