6.2
Présentation des codes
6.2.1 Les codes html
6.2.1.1 Le
formulaire de payement de cotisation
<form method="POST" class="form-control bg-dark ">
<div class="input-group mb-3 pt-3">
<span class="input-group-text text-primary"><i
class="fas fa-users"></i></span>
<select name="mbr_pay" class="form-select form-control">
<option value="0" selected>Selectionné le
membre</option>
<?php $name_member = Afficher_member();
foreach ($name_member as $name_member) : ?>
<option value="<?= $name_member->Id_mbre ?>">
<?= $name_member->Nmbre . " " . $name_member->Prembre
?></option>
<?php endforeach ?></select>
</div>
<div class="input-group mb-3">
<span class="input-group-text text-primary">
<i class="fas fa-hand-holdingdollar"></i>
</span>
<select name="cot_pay" class="form-select form-control">
<option value="0" selected>Selectionné la
cotisation</option>
<?php $infos_cat = Afficher_cote();
foreach ($infos_cat as $infos_cat) : ?>
<option value="<?= $infos_cat->Id_cot ?>">
<?= $infos_cat->Description . " le " .
$infos_cat->Datcot ?>
</option>
<?php endforeach ?></select>
</div>
<div class="input-group mb-3">
<span class="input-group-text text-primary"><i
class="fas fa-hand-point-right"></i></span>
<select name="mod_pay" class="form-select form-control">
<option value="0" selected>Selectionné me mode de
payement</option>
<?php $infos_mode = Afficher_mode();
foreach ($infos_mode as $infos_mode) :
?>
<option value="<?= $infos_mode->Id_mod ?>"><?=
$infos_mode->libele ?></option>
<?php endforeach ?></select>
</div>
<div class="input-group mb-3">
<span class="input-group-text text-primary"><i
class="fas fa-money-check"></i></span>
<input type="text" name="ref_pay" class="form-control"
placeholder="Reference de payement">
</div>
<div class="input-group mb-3">
<span class="input-group-text text-primary"><i
class="fas fa-money-check-dollar"></i></span>
<input type="number" name="mnt_pay" class="form-control"
placeholder="Montant depayement">
</div>
<div class="input-group mb-3">
<span class="input-group-text text-primary">
<i class="fas fa-calendar-plus"></i>Date de
payement</span>
<input type="date" name="date_pay" class="form-control"
placeholder="Date d'adhesion">
</div>
<div class="input-group mb-3">
<button type="submit" name="validate_pay" class="btn
btn-warning btn-lg form-control">Enreigistrer</button>
</div>
</form>
|