"'.$extraContent.'}'; } ## Configuration de la colonne des actions ## ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ $btnShowActions = ''; $btnShowActionsRender = ''; if ($typeListe == 2) { ## Intercontrat $btnShowActions = ''; } elseif ($typeListe == 3) { ## Arrivées if(!$_SESSION['USERDROIT']['liste-btn-checkin'] || $_SESSION['USERDROIT']['liste-btn-checkin'] == 'W' || $_SESSION['USERDROIT']['liste-btn-checkin'] == 'R'){ $btnShowActions = ''; } } elseif ($typeListe == 7) { ## Arrivées et Groupe $btnShowActions = ' '; } elseif ($typeListe == 4) { ## Présents if(!$_SESSION['USERDROIT']['liste-btn-checkout'] || $_SESSION['USERDROIT']['liste-btn-checkout'] == 'W' || $_SESSION['USERDROIT']['liste-btn-checkout'] == 'R'){ $btnShowActions = ''; } } elseif ($typeListe == 6) { ## Changement de logement $btnShowActions = ''; $btnShowActions .= ''; $btnShowActionsRender = ', "render": $.fn.dataTable.render.btnActionsChangeLog()'; } elseif ($typeListe == 20) { ## Arrivées Court-séjour $btnShowActions = ''; } elseif ($typeListe == 21) { ## Présents Court-séjour $btnShowActions = ''; } elseif ($typeListe == 18 && ($_SESSION['USERDROIT']['liste-btn-prestations-rmb'] == 'W' || $_SESSION['USERDROIT']['liste-btn-prestations-rmb'] == 'R')) { ## Prestations # Remboursement $btnShowActions = ''; $btnShowActionsRender = ', "render": $.fn.dataTable.render.btnActionsRMBPrestations()'; } ## Configuration de champs cachés pour certains champs difficiles à avoir en une seule fois ## ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ $avecEtatIntercontrat = false; $avecNouveauLog = false; $classFicheLoc = ''; if($_SESSION['USERDROIT']['ficheclient'] == 'W' || $_SESSION['USERDROIT']['ficheclient'] == 'R') $classFicheLoc = 'showLocataire link'; ?>