mirror of
https://github.com/itflow-org/itflow
synced 2026-03-09 07:14:51 +00:00
Removed Add Task Modal as this can be added inside the ticket
This commit is contained in:
@@ -1,45 +0,0 @@
|
|||||||
<div class="modal" id="addTaskModal" tabindex="-1">
|
|
||||||
<div class="modal-dialog">
|
|
||||||
<div class="modal-content bg-dark">
|
|
||||||
<div class="modal-header">
|
|
||||||
<h5 class="modal-title"><i class="fa fa-fw fa-tasks mr-2"></i>Creating a task: <strong><?php echo "$ticket_prefix$ticket_number"; ?></strong> - <?php echo $client_name; ?></h5>
|
|
||||||
<button type="button" class="close text-white" data-dismiss="modal">
|
|
||||||
<span>×</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
|
||||||
<input type="hidden" name="ticket_id" value="<?php echo $ticket_id; ?>">
|
|
||||||
<div class="modal-body bg-white">
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label>Name <strong class="text-danger">*</strong></label>
|
|
||||||
<div class="input-group">
|
|
||||||
<div class="input-group-prepend">
|
|
||||||
<span class="input-group-text"><i class="fa fa-fw fa-tag"></i></span>
|
|
||||||
</div>
|
|
||||||
<input type="text" class="form-control" name="name" placeholder="Name the task" required autofocus>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label>Description</label>
|
|
||||||
<div class="input-group">
|
|
||||||
<div class="input-group-prepend">
|
|
||||||
<span class="input-group-text"><i class="fa fa-fw fa-angle-right"></i></span>
|
|
||||||
</div>
|
|
||||||
<input type="text" class="form-control" name="description" placeholder="Description of the task">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="modal-footer bg-white">
|
|
||||||
<button type="submit" name="add_task" class="btn btn-primary text-bold"><i class="fa fa-check mr-2"></i>Create</button>
|
|
||||||
<button type="button" class="btn btn-light" data-dismiss="modal"><i class="fa fa-times mr-2"></i>Cancel</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</form>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@@ -278,10 +278,6 @@ if (isset($_GET['ticket_id'])) {
|
|||||||
<i class="fas fa-fw fa-plus mr-2"></i>Add
|
<i class="fas fa-fw fa-plus mr-2"></i>Add
|
||||||
</button>
|
</button>
|
||||||
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
|
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
|
||||||
<a class="dropdown-item" href="#" data-toggle="modal" data-target="#addTaskModal">
|
|
||||||
<i class="fas fa-fw fa-tasks mr-2"></i>Create Task
|
|
||||||
</a>
|
|
||||||
<div class="dropdown-divider"></div>
|
|
||||||
<a class="dropdown-item" href="#" data-toggle="modal" data-target="#editTicketContactModal<?php echo $ticket_id; ?>">
|
<a class="dropdown-item" href="#" data-toggle="modal" data-target="#editTicketContactModal<?php echo $ticket_id; ?>">
|
||||||
<i class="fa fa-fw fa-user mr-2"></i>Add Contact
|
<i class="fa fa-fw fa-user mr-2"></i>Add Contact
|
||||||
</a>
|
</a>
|
||||||
@@ -1000,8 +996,6 @@ if (isset($_GET['ticket_id'])) {
|
|||||||
|
|
||||||
require_once "ticket_merge_modal.php";
|
require_once "ticket_merge_modal.php";
|
||||||
|
|
||||||
require_once "task_add_modal.php";
|
|
||||||
|
|
||||||
if ($config_module_enable_accounting) {
|
if ($config_module_enable_accounting) {
|
||||||
require_once "ticket_edit_billable_modal.php";
|
require_once "ticket_edit_billable_modal.php";
|
||||||
require_once "ticket_invoice_add_modal.php";
|
require_once "ticket_invoice_add_modal.php";
|
||||||
|
|||||||
Reference in New Issue
Block a user