Ticket scheduling

- Prevent scheduling dates in the past (also for API keys expiry date)
- Correct the ticket URL in the agent email
- Update the onsite value in the database when scheduling a ticket
- Reword the internal note to include a user friendly time and whether the ticket is onsite/remote
This commit is contained in:
Marcus Hill
2024-02-12 19:52:12 +00:00
parent c207fdd1f5
commit b64df190ed
3 changed files with 12 additions and 8 deletions

View File

@@ -47,7 +47,7 @@ $key = randomString(156);
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-calendar"></i></span>
</div>
<input type="date" class="form-control" name="expire" max="2999-12-31" required>
<input type="date" class="form-control" name="expire" min="<?php echo date('Y-m-d')?>" max="2999-12-31" required>
</div>
</div>