Improvement of the script end of work

main
kry008 2023-08-22 14:48:32 +02:00
parent fece680b00
commit 0dc11bcae9
1 changed files with 4 additions and 1 deletions

View File

@ -30,7 +30,10 @@ require_once 'checkLogin.php';
<label for="end">Zakończenie pracy</label> <label for="end">Zakończenie pracy</label>
</td> </td>
<td> <td>
<input type="time" name="end" id="end" value="<?php echo date('H:00'); ?>" max="<?php echo date('TH:i'); ?>"> <?php
$h = date('H')+1;
?>
<input type="time" name="end" id="end" value="<?php echo $h.":00" ?>" max="<?php echo $h.":00" ?>">
</td> </td>
</tr> </tr>
<tr> <tr>