From 66ee255c18b9856e65679adbe5ccfeff16d7c325 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Wed, 31 Jan 2024 07:38:54 +0100 Subject: [PATCH] =?UTF-8?q?SUIVI=20:=20d=C3=A9tail=20,=20montre=20nom=20et?= =?UTF-8?q?=20pr=C3=A9nom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/class/follow_up.class.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/class/follow_up.class.php b/include/class/follow_up.class.php index 6c8c16c1c..a3559e61f 100644 --- a/include/class/follow_up.class.php +++ b/include/class/follow_up.class.php @@ -332,7 +332,8 @@ class Follow_Up { $tiers=new Fiche($this->db); $tiers->get_by_qcode($this->qcode_dest); - $qcode_dest_label=$tiers->strAttribut(1); + $qcode_dest_label=strtoupper($tiers->strAttribut(1)); + $qcode_dest_label.=" ".$tiers->strAttribut(ATTR_DEF_FIRST_NAME); $this->f_id_dest=$tiers->id; } else @@ -363,7 +364,9 @@ class Follow_Up $w->set_function('fill_data'); $w->javascript=sprintf(' onchange="fill_data_onchange(\'%s\');" ', $w->name); + $sp=new ISpan(); + $sp->extra='class="text-"'; $sp->name='qcode_dest_label'; $sp->value=$qcode_dest_label; @@ -401,7 +404,8 @@ class Follow_Up $fiche_contact->get_by_qcode($this->ag_contact); if ($fiche_contact->id!=0) { - $spcontact->value=$fiche_contact->strAttribut(ATTR_DEF_NAME); + $spcontact->value=strtoupper($fiche_contact->strAttribut(ATTR_DEF_NAME)??""); + $spcontact->value.=" ".$fiche_contact->strAttribut(ATTR_DEF_FIRST_NAME); }