filtre_client_contact - PHP Documentation

🔧 fwl_TOOSMART_TOSEVENT_lowcode_filtre_whereclause_clientContacts

Fonction pour envoyer la whereclause permettant d'afficher les contacts en fonction de l'attribué lié client -> nom société
function fwl_TOOSMART_TOSEVENT_lowcode_filtre_whereclause_clientContacts() {

    $tmp_param = fwk7_var_getpost('tmp_param');
    if ($tmp_param != null ) {
        $tmp_options = $tmp_param;
    }else{
        $tmp_options = fwk7_var_getpost('filtre§att49', '', '');
    }
    if ($tmp_options == 'tous' || $tmp_options == '') {
        $wc='';
    }else{
        // ... (truncated)

↩️ Returns

(string) whereclause sur nom de société

🔧 fwl_TOOSMART_TOSEVENT_lowcode_filtre_show_segmentContacts

Fonction filtre personnalisé sur le segment -> attribué lié au client du contact
function fwl_TOOSMART_TOSEVENT_lowcode_filtre_show_segmentContacts() {
    $listSegment=array("tous"=>"Tous");
    $listSegment= array_merge($listSegment,fwc7_data_liste_valeurs('','3','','')) ;

    $tmp_param = fwk7_var_getpost('tmp_param');
    if ($tmp_param != null ) {
        $tmp_options = fwk7_var_getpost('filtre§att50', $tmp_param, '');
    } else {
        $tmp_options = fwk7_var_getpost('filtre§att50', '', '');
    }
    // Création du select avec les valeurs
    fwk7_att_selectize('filtre','','att50',$tmp_options,'1', $listSegment);


// ... (truncated)

↩️ Returns

(array) des segements issu de la liste de valeur id 3