38 lines
2.2 KiB
PHP
Executable File
38 lines
2.2 KiB
PHP
Executable File
<form id="formData">
|
|
<legend id="titre_formData">Modification des données</legend>
|
|
<INPUT class="sr-only" TYPE="text" id = "id" name = "id" value="<?=$banque['id']?>">
|
|
<table class="table table-responsive table-condensed">
|
|
<tbody>
|
|
<tr>
|
|
<td width="5%" align="center" class="required">Code</td>
|
|
<td width="20%" ><INPUT class="form-control majuscule" TYPE="text" id="codeBanque" NAME="codeBanque" required AUTOCOMPLETE="OFF" autofocus value="<?= $this->nettoyer($banque['codeBanque']); ?>" ></td>
|
|
|
|
<td width="5%" align="center" class="required">Libellé</td>
|
|
<td width="20%" ><INPUT class="form-control majuscule" TYPE="text" id="libelle" NAME="libelle" required AUTOCOMPLETE="OFF" value="<?= $this->nettoyer($banque['libelle']); ?>"></td>
|
|
|
|
<td width="5%" align="center">code Swift</td>
|
|
<td width="20%" ><INPUT class="form-control majuscule" TYPE="text" id="codeSwift" NAME="codeSwift" value="<?= $this->nettoyer($banque['codeSwift']); ?>"></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="5%" align="center">N° Compte Cpt</td>
|
|
<td width="20%" ><INPUT class="form-control" TYPE="text" id="numeroCompteCpt" NAME="numeroCompteCpt" value="<?= $this->nettoyer($banque['numeroCompteCpt']); ?>"></td>
|
|
|
|
<td width="5%" align="center">N° Compte Bancaire</td>
|
|
<td width="20%" ><INPUT class="form-control" TYPE="text" id="numeroCompteBancaire" NAME="numeroCompteBancaire" value="<?= $this->nettoyer($banque['numeroCompteBancaire']); ?>"></td>
|
|
|
|
<td width="5%" align="center">Banque Société</td>
|
|
<td width="5%">
|
|
<?php
|
|
if($this->nettoyer($banque['banqueSociete'] == 0)){
|
|
$check ='';
|
|
}
|
|
else{
|
|
$check = 'checked';
|
|
}
|
|
?>
|
|
<INPUT class="form-control" TYPE="checkbox" id="banqueSociete" NAME="banqueSociete" value="<?=(($this->nettoyer($banque['banqueSociete'])==0)? 0 : 1);?>" onclick="if (this.checked) this.value=1; else this.value=0;" <?= $check;?>>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form>
|