mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Recurring tickets
- Reword some areas to better separate recurring and scheduled tickets. - Fix bulk actions not doing anything due to form name mismatch
This commit is contained in:
17
post/recurring_ticket_model.php
Normal file
17
post/recurring_ticket_model.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
$client_id = intval($_POST['client']);
|
||||
$subject = sanitizeInput($_POST['subject']);
|
||||
$priority = sanitizeInput($_POST['priority']);
|
||||
$details = mysqli_real_escape_string($mysqli, $_POST['details']);
|
||||
$frequency = sanitizeInput($_POST['frequency']);
|
||||
|
||||
$asset_id = "0";
|
||||
if (isset($_POST['asset'])) {
|
||||
$asset_id = intval($_POST['asset']);
|
||||
}
|
||||
|
||||
$contact_id = "0";
|
||||
if (isset($_POST['contact'])) {
|
||||
$contact_id = intval($_POST['contact']);
|
||||
}
|
||||
Reference in New Issue
Block a user