ajout liste gestion fiche
This commit is contained in:
@@ -5,6 +5,11 @@
|
||||
if ($_SESSION['typeU'] != 'comptable') {
|
||||
echo '<h3>Gérer mes fiches de frais</h3>';
|
||||
} else {
|
||||
/**
|
||||
* Mettre dans un formulaire
|
||||
* action: index.php?direction=gestionFiche
|
||||
* method: get
|
||||
*/
|
||||
echo '<h3>Gérer les fiches de frais de :</h3>';
|
||||
echo '<select class="form-select" name="selVisiteur" id="">';
|
||||
foreach ($LesUtilisateurs as $key => $value) {
|
||||
@@ -14,9 +19,12 @@
|
||||
|
||||
echo '<option value="' . $id . '">' . $nom . " " . $prenom . "</option>";
|
||||
}
|
||||
echo '</select>';
|
||||
}
|
||||
echo '</select>'; ?>
|
||||
<button type="submit">Envoyer</button>
|
||||
<!-- Fin du formulaire -->
|
||||
<?php }
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
</center>
|
||||
@@ -32,24 +40,22 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">Novembre</th>
|
||||
<td>351 €</td>
|
||||
<td>en cours...</td>
|
||||
<td><a href="#">voir</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Octobre</th>
|
||||
<td>1458 €</td>
|
||||
<td>en cours...</td>
|
||||
<td><a href="#">voir</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Septembre</th>
|
||||
<td>1112 €</td>
|
||||
<td>classé</td>
|
||||
<td><a href="#">voir</a></td>
|
||||
</tr>
|
||||
<?php foreach ($lesFiches as $uneFiche) { ?>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<?= $uneFiche['rMois'] ?>
|
||||
</th>
|
||||
<td>
|
||||
<?= $uneFiche['rMontantValide'] ?> €
|
||||
</td>
|
||||
<td>
|
||||
<?= $uneFiche['eLibelle'] ?>
|
||||
</td>
|
||||
<td><a
|
||||
href="controleurs\c_nouvelleFiche.php?userId=<?= $userId ?>&dateListing=<?= $uneFiche['rMois'] ?>">voir</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user