Recurring tickets

- Allow forcing recurring tickets to run (e.g. cron broke, or you want to do a task early)
- Use new permissions system for recurring UI
- Bugfix: Ticket billable status wasn't saving/displaying on the edit modal
This commit is contained in:
Marcus Hill
2024-12-16 12:11:29 +00:00
parent fae4f1e59d
commit ac4a9b8ef2
5 changed files with 179 additions and 46 deletions

View File

@@ -5,7 +5,7 @@ $subject = sanitizeInput($_POST['subject']);
$priority = sanitizeInput($_POST['priority']);
$details = mysqli_real_escape_string($mysqli, $_POST['details']);
$frequency = sanitizeInput($_POST['frequency']);
$billable = intval($_POST['billable']);
$billable = intval($_POST['billable'] ?? 0);
$asset_id = "0";
if (isset($_POST['asset'])) {