48 lines
1.8 KiB
PHP
48 lines
1.8 KiB
PHP
<?php
|
|
$this->titre = "INTER-SANTE - Gestion Extranet Client";
|
|
$idClient = $_SESSION['idClient_C'];
|
|
$extranetActif = $client['extranetActif'];
|
|
$validationRhRd = $client['validationRhRd'];
|
|
|
|
var_dump
|
|
(
|
|
array(
|
|
"extranetActif" => $extranetActif,
|
|
"validationRhRd" => $validationRhRd,
|
|
)
|
|
);
|
|
|
|
?>
|
|
|
|
<script type="text/javascript">
|
|
|
|
</script>
|
|
|
|
<legend> <?= _("Gestion Extranet Client ") . " : " . $this->nettoyer($_SESSION['nomClient_C'])?> </legend>
|
|
|
|
<div id="div_liste">
|
|
<table class="table table-responsive table-condensed" style="font-size:10pt;">
|
|
<tbody>
|
|
<tr>
|
|
<td width="15%" > <?= _("Extranet") ?> </td>
|
|
<td width="30%" >
|
|
<?php if($extranetActif==1): ?>
|
|
<input style="font-size:10pt;" class = "form-control btn btn-danger" type="button" value="<?= _("Désactiver") ?>" onClick="javascript:activer_extranet_client('<?= $idClient ?>', '0');">
|
|
<?php else: ?>
|
|
<input style="font-size:10pt;" class = "form-control btn btn-primary" type="button" value="<?= _("Activer") ?>" onClick="javascript:activer_extranet_client('<?= $idClient ?>', '1');">
|
|
<?php endif; ?>
|
|
</td>
|
|
|
|
<td width="30%" style="text-align : right;"> <?= _("Validation demandes Remboursement") ?> </td>
|
|
<td width="30%" >
|
|
<?php if($validationRhRd==1): ?>
|
|
<input style="font-size:10pt;" class = "form-control btn btn-danger" type="button" value="<?= _("Désactiver") ?>" onClick="javascript:activer_extranet_client('<?= $idClient ?>', '0');">
|
|
<?php else: ?>
|
|
<input style="font-size:10pt;" class = "form-control btn btn-primary" type="button" value="<?= _("Activer") ?>" onClick="javascript:activer_extranet_client('<?= $idClient ?>', '1');">
|
|
<?php endif; ?>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|