date_fr($d, !str_ends_with($d, '00:00:00'));
$dues = count(array_filter($relances, static fn ($r) => $r['jours'] <= 0));
$delai = static function (int $j): string {
return match (true) {
$j < 0 => t('en retard de %d j', -$j),
$j === 0 => t('aujourd\'hui'),
default => t('dans %d j', $j),
};
};
?>
= e(t('Suivi')) ?> = e(tn(count($relances), '%d relance prévue', '%d relances prévues')) ?> · = e(tn($dues, 'dont %d à faire aujourd\'hui ou en retard', 'dont %d à faire aujourd\'hui ou en retard')) ?>
= e(t('Relances')) ?>
= e(t('Aucune relance prévue. Une relance se crée sur la fiche d\'un profil.')) ?>
-
= avatar(['id' => $r['candidat_id'], 'prenom' => $r['prenom'], 'nom' => $r['nom'], 'photo' => $r['photo']]) ?>
= e($r['prenom'] . ' ' . $r['nom']) ?>
= e(date_fr($r['echeance'])) ?>, = e($delai((int) $r['jours'])) ?>
= e(objet_relance($r)) ?>
= e(t(STATUTS[$r['statut']])) ?> · = e(t('créée par %s', $r['nom_affiche'])) ?>
= e(t('Entretiens des 30 prochains jours')) ?>
= e(t('Aucun entretien prévu. Un entretien se saisit sur la fiche d\'un profil.')) ?>
-
= avatar(['id' => $x['candidat_id'], 'prenom' => $x['prenom'], 'nom' => $x['nom'], 'photo' => $x['photo']]) ?>
= e($x['prenom'] . ' ' . $x['nom']) ?>
= e($dateHeure($x['date_entretien'])) ?>
= e(implode(' · ', array_filter([
t(TYPES_ENTRETIEN[$x['type']]),
$x['interlocuteur'] ? t('mené par %s', $x['interlocuteur']) : null,
$x['besoin_intitule'] ? $x['besoin_client'] . ' : ' . $x['besoin_intitule'] : null,
]))) ?>
= e(t('Entretiens passés sans avis')) ?>
-
= avatar(['id' => $x['candidat_id'], 'prenom' => $x['prenom'], 'nom' => $x['nom'], 'photo' => $x['photo']]) ?>