Update index.php
This commit is contained in:
parent
382275409e
commit
7f42c1dc8f
|
@ -43,7 +43,7 @@ if ($result->num_rows > 0) {
|
||||||
$datefin = date("d/m/Y", strtotime($findate));
|
$datefin = date("d/m/Y", strtotime($findate));
|
||||||
$nombrejours = $row["nbjours"];
|
$nombrejours = $row["nbjours"];
|
||||||
$link = 'class/class.remove.php?datedebut=" . $row["datedebut"] . "&datefin=" . $row["datefin"]. "'
|
$link = 'class/class.remove.php?datedebut=" . $row["datedebut"] . "&datefin=" . $row["datefin"]. "'
|
||||||
echo "<tr><td> " . $datedebut. " </td><td> " . $datefin. " </td><td> " . $nombrejours . " jour(s) </td><td> " . $row["type"] . " </td><td><button onclick="window.location.href=$link">Supprimer la ligne</button></td></tr>";
|
echo "<tr><td> " . $datedebut. " </td><td> " . $datefin. " </td><td> " . $nombrejours . " jour(s) </td><td> " . $row["type"] . " </td><td><button onclick="window.location.href='class/class.remove.php?datedebut=" . $row["datedebut"] . "&datefin=" . $row["datefin"]. "'">Supprimer la ligne</button></td></tr>";
|
||||||
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -54,8 +54,8 @@ $conn->close();
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<br>
|
<br>
|
||||||
<button onclick="window.location.href='class/class.clearcp.php'" class="button">Supprimer les congés payés</button>
|
<button onclick="window.location.href='class/class.clearcp.php'">Supprimer les congés payés</button>
|
||||||
<button onclick="window.location.href='class/class.clearrtt.php'" class="button">Supprimer les RTT</button>
|
<button onclick="window.location.href='class/class.clearrtt.php'">Supprimer les RTT</button>
|
||||||
<br><br>
|
<br><br>
|
||||||
<?php require('solde.php') ?>
|
<?php require('solde.php') ?>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user