mirror of
https://github.com/itflow-org/itflow
synced 2026-03-01 19:34:52 +00:00
Tidying/General quality of life updates
General quality of life updates: - Ticket contact edit: 'No one' should be logged when ticket isn't associated with any contact, rather than a blank space; also fix email content - Ticket portal/guest: Only show 'Assigned to' if someone is actually assigned - Ticket tasks: Don't allow adding/modifying tasks for tickets in a resolved state - Portal contacts: Properly align word 'Contacts' in a similar way all other page headings are aligned - Client PDF export/handover: Now opens in a new self-closing window
This commit is contained in:
@@ -17,8 +17,10 @@ $contacts_sql = mysqli_query($mysqli, "SELECT contact_id, contact_name, contact_
|
||||
?>
|
||||
|
||||
<div class="row">
|
||||
<h3>Contacts</h3>
|
||||
<div class="col offset-7">
|
||||
<div class="col">
|
||||
<h3>Contacts</h3>
|
||||
</div>
|
||||
<div class="col offset-6">
|
||||
<a href="contact_add.php" class="btn btn-primary" role="button"><i class="fas fa-plus mr-2"></i>New Contact</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -92,17 +92,20 @@ if (isset($_GET['id']) && intval($_GET['id'])) {
|
||||
<h5><strong>Subject:</strong> <?php echo $ticket_subject ?></h5>
|
||||
<hr>
|
||||
<p>
|
||||
<strong>State:</strong> <?php echo $ticket_status ?>
|
||||
<br>
|
||||
<strong>Priority:</strong> <?php echo $ticket_priority ?>
|
||||
<br>
|
||||
<strong>State:</strong> <?php echo $ticket_status ?><br>
|
||||
<strong>Priority:</strong> <?php echo $ticket_priority ?><br>
|
||||
|
||||
<?php if (empty($ticket_closed_at)) { ?>
|
||||
|
||||
<?php if ($task_count) { ?>
|
||||
<strong>Tasks: </strong> <?php echo $completed_task_count . " / " .$task_count ?>
|
||||
<br>
|
||||
<?php } ?>
|
||||
<strong>Assigned to: </strong> <?php echo $ticket_assigned_to ?>
|
||||
|
||||
<?php if (!empty($ticket_assigned_to)) { ?>
|
||||
<strong>Assigned to: </strong> <?php echo $ticket_assigned_to ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php } ?>
|
||||
</p>
|
||||
<?php echo $ticket_details ?>
|
||||
|
||||
Reference in New Issue
Block a user