email
🔧 fwc7_TS_NOOA_custom_affiche_email_signature
function fwc7_TS_NOOA_custom_affiche_email_signature($id_type, $id_obje) {
$franchiseurNom = fwp7_param_params_detail("",'franchiseur_nom');
$infoUser = fwc7_TS_NOOA_user_infos($email="");
// Condition pour la relance avec le Cron (quand il n'y a pas de user connecté)
if (empty($infoUser)) {
if ($id_type == 165) { // Pour les devis
$infoDevis = fwc7_data_objet_att('', $id_type, $id_obje, '', '', 1);
$infoClient = fwc7_data_objet_att('', fwp7_param_objet_setting_get('', $id_type, 'client', 'id'), $infoDevis[fwp7_param_template_att_get_number('', $id_type, 'client')], '', '', 1);
$infoFranchise = fwk7_TS_NOOA_get_Entiteinfos_byUserID($infoClient[fwp7_param_template_att_get_number('', fwp7_param_objet_setting_get('', $id_type, 'client', 'id'), 'client_systeme_id_user')]);
$infoFranchise = reset($infoFranchise);
} else if ($id_type == 169) { // Pour les factures
$infoFacture = fwc7_data_objet_att('', $id_type, $id_obje, '', '', 1);
$infoClient = fwc7_data_objet_att('', fwp7_param_objet_setting_get('', $id_type, 'client', 'id_type'), $infoFacture[fwp7_param_template_att_get_number('', $id_type, 'id_client')], '', '', 1);
// ... (truncated)
↩️ Returns
(string)