49 lines
1.7 KiB
PHP
Executable File
49 lines
1.7 KiB
PHP
Executable File
<?php
|
|
|
|
$libelle = $this->nettoyer($lienparente['libelle']);
|
|
$enVigueur = $this->nettoyer($lienparente['enVigueur']);
|
|
|
|
$actif = ($enVigueur == "1") ? "Oui" : "Non";
|
|
|
|
if (est_anglophone()){
|
|
$libelle = $this->nettoyer($lienparente['libelleEng']);
|
|
$actif = ($enVigueur == "1") ? "Yes" : "No";
|
|
}
|
|
|
|
?>
|
|
|
|
<?php if($enVigueur == "1"):?>
|
|
<legend> <?= _("DESACTIVATION DU LIEN DE PARENTE") ?> </legend>
|
|
<?php else: ?>
|
|
<legend> <?= _("ACTIVATION DU LIEN DE PARENTE") ?> </legend>
|
|
<?php endif; ?>
|
|
|
|
<input class="sr-only" type="text" id="idLien" name="idLien" value="<?= $this->nettoyer($lienparente['id']) ?>">
|
|
|
|
<table class="table table-responsive table-condensed" style="font-size:10pt;">
|
|
<tbody>
|
|
<tr>
|
|
<td "5%" align="center" > <?= _("Code") ?> </td>
|
|
<td width="5%"> <INPUT style="font-size:10pt; text-align:center;" class="form-control" TYPE="text" value="<?= $this->nettoyer($lienparente['codeLienParente']) ?>" disabled ></td>
|
|
|
|
<td width="8%" align="center" > <?= _("Désignation") ?> </td>
|
|
<td> <INPUT style="font-size:10pt; text-align:center" class="form-control" TYPE="text" value="<?= $libelle ?>" disabled></td>
|
|
|
|
<td align="center" > <?= _("Actif") ?> </td>
|
|
<td>
|
|
<SELECT style="font-size:10pt; text-align:center;" class="form-select" id="enVigueur" NAME="enVigueur" autofocus>
|
|
<?php liste_options($enVigueurOuiNon, $lienparente['enVigueur'],true); ?>
|
|
</SELECT>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="6">
|
|
<input style="font-size:10pt;" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>"
|
|
onClick="javascript:enregistrer_modif_lien_parente();">
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|