noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 05/38: SUIVI : détail , montre nom et prénom


From: dwm
Subject: [Noalyss-commit] [noalyss] 05/38: SUIVI : détail , montre nom et prénom
Date: Sun, 18 Feb 2024 07:30:42 -0500 (EST)

sparkyx pushed a commit to branch devel
in repository noalyss.

commit 66ee255c18b9856e65679adbe5ccfeff16d7c325
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Wed Jan 31 07:38:54 2024 +0100

    SUIVI : détail , montre nom et prénom
---
 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);
         }
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]