12<
table id=
"contact_tb" class=
"sortable">
14 <
th><?=_(
'Code')?></
th>
15 <
th><?=_(
'Nom')?></
th>
16 <
th><?=_(
'Prénom')?></
th>
17 <
th><?=_(
'Société')?></
th>
18 <
th><?=_(
'Mobile')?></
th>
19 <
th><?=_(
'email')?></
th>
20 <
th><?=_(
'Téléphone')?></
th>
21 <
th><?=_(
'Fax')?></
th>
27 foreach ($step_contact as $contact):
28 $even_odd=(
$idx%2==0)?
'even':
'odd';
30 $url=NOALYSS_URL.
"/do.php?".http_build_query([
"gDossier"=>
$dossier_id,
"ac"=>
$ac,
"sb"=>
"detail",
"f_id"=>$contact[
'f_id']]);
32 <
tr class=
"<?=$even_odd?>">
34 <?php
if ( strpos(
$from,
'CONTACT') !==
false ):?>
36 <?=
h($contact[
'contact_qcode'])?>
41 echo \HtmlInput::card_detail($contact[
'contact_qcode']);
47 <?=$contact[
'contact_name']?>
50 <?=$contact[
'contact_fname']?>
56 if ( !empty ($contact[
'contact_company']) ) {
58 $l_company->get_by_qcode(trim($contact[
'contact_company']),
false);
62 if ( $l_company_name !=
"")
64 echo
HtmlInput::card_detail($contact[
'contact_company'],$l_company_name,
'style="text-decoration:underline;"');
71 <?=
phoneTo($contact[
'contact_mobile'])?>
75 echo
mailTo($contact[
'contact_email']);
79 <?=
phoneTo($contact[
'contact_phone'])?>
82 <?=
FaxTo($contact[
'contact_fax'])?>
phoneTo($p_tel)
compose a HTML string with phone
th($p_string, $p_extra='', $raw='')
mailTo($p_email)
compose a HTML string with email
tr($p_string, $p_extra='')
td($p_string='', $p_extra='')
surround the string with td
FaxTo($p_tel)
compose a HTML string with fax
h( $row[ 'oa_description'])
static id()
return the 'gDossier' value after a check
define Class fiche and fiche def, those class are using class attribut. When adding or modifing new c...