Amelioration interface adhesions non payees

This commit is contained in:
indev 2024-12-07 10:56:42 +00:00
parent 98b22d84d6
commit aa057a1090

View File

@ -127,8 +127,8 @@ if (isset($_POST['adherent-id'])) {
if ($result) { if ($result) {
echo ('<table>'); echo ('<table>');
foreach($result as $row) {
echo ("<tr><th>Prénom Nom</th><th>Email</th><th>Date demande</th><th></th></tr>"); echo ("<tr><th>Prénom Nom</th><th>Email</th><th>Date demande</th><th></th></tr>");
foreach($result as $row) {
echo ('<tr>'); echo ('<tr>');
echo ('<form action="#" method="post">'); echo ('<form action="#" method="post">');
echo ('<td>' . $row['firstname'] . ' ' . $row['lastname'] . '</td><td>' . $row['email'] . '</td><td>' . $row['join_date'] . '</td><td><input type="hidden" name="adherent-id" value="' . $row['ID'] . '"><input type="hidden" name="adhesion-userid" value="' . $row['userid'] . '"><a href="sendmail.php?target=' . $row['email'] . '&type=rappel" class="button">Envoyer un rappel</a><button type="submit" style="margin-left: 1em;">Valider le paiement</button></td>'); echo ('<td>' . $row['firstname'] . ' ' . $row['lastname'] . '</td><td>' . $row['email'] . '</td><td>' . $row['join_date'] . '</td><td><input type="hidden" name="adherent-id" value="' . $row['ID'] . '"><input type="hidden" name="adhesion-userid" value="' . $row['userid'] . '"><a href="sendmail.php?target=' . $row['email'] . '&type=rappel" class="button">Envoyer un rappel</a><button type="submit" style="margin-left: 1em;">Valider le paiement</button></td>');