mirror of https://github.com/itflow-org/itflow
Ticket Details Tidy Buttons and Ticket Details
This commit is contained in:
parent
c052850465
commit
0931f60764
30
ticket.php
30
ticket.php
|
|
@ -267,18 +267,6 @@ if (isset($_GET['ticket_id'])) {
|
|||
|
||||
<div class="btn-group float-right d-print-none">
|
||||
|
||||
<?php if ($config_module_enable_accounting && $ticket_billable == 1) { ?>
|
||||
<a href="#" class="btn btn-info btn-sm" href="#" data-toggle="modal" data-target="#addInvoiceFromTicketModal">
|
||||
<i class="fas fa-fw fa-file-invoice mr-2"></i>Invoice Ticket
|
||||
</a>
|
||||
<?php }
|
||||
|
||||
if ($ticket_status !== "Closed") { ?>
|
||||
<a href="post.php?close_ticket=<?php echo $ticket_id; ?>" class="btn btn-secondary btn-sm confirm-link" id="ticket_close">
|
||||
<i class="fas fa-fw fa-gavel mr-2"></i>Close Ticket
|
||||
</a>
|
||||
<?php } ?>
|
||||
|
||||
<div class="dropdown dropleft text-center mr-3">
|
||||
<button class="btn btn-default btn-sm" type="button" id="dropdownMenuButton" data-toggle="dropdown">
|
||||
<i class="fas fa-fw fa-plus mr-2"></i>Add
|
||||
|
|
@ -303,7 +291,19 @@ if (isset($_GET['ticket_id'])) {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="dropdown dropleft text-center">
|
||||
<?php if ($config_module_enable_accounting && $ticket_billable == 1) { ?>
|
||||
<a href="#" class="btn btn-info btn-sm" href="#" data-toggle="modal" data-target="#addInvoiceFromTicketModal">
|
||||
<i class="fas fa-fw fa-file-invoice mr-2"></i>Invoice
|
||||
</a>
|
||||
<?php }
|
||||
|
||||
if ($ticket_status !== "Closed") { ?>
|
||||
<a href="post.php?close_ticket=<?php echo $ticket_id; ?>" class="btn btn-secondary btn-sm confirm-link" id="ticket_close">
|
||||
<i class="fas fa-fw fa-gavel mr-2"></i>Close
|
||||
</a>
|
||||
<?php } ?>
|
||||
|
||||
<div class="dropdown dropleft text-center ml-3">
|
||||
<button class="btn btn-secondary btn-sm" type="button" id="dropdownMenuButton" data-toggle="dropdown">
|
||||
<i class="fas fa-fw fa-ellipsis-v"></i>
|
||||
</button>
|
||||
|
|
@ -591,8 +591,8 @@ if (isset($_GET['ticket_id'])) {
|
|||
<div class="col-md-3">
|
||||
|
||||
<!-- Ticket Details card -->
|
||||
<div class="card card-body card-outline card-dark mb-3">
|
||||
<h4><?php echo $client_name; ?></h4>
|
||||
<div class="card card-body card-outline card-primary mb-3">
|
||||
<h5><strong><?php echo $client_name; ?></h5></strong>
|
||||
<div>
|
||||
<i class="fa fa-fw fa-thermometer-half text-secondary mr-2"></i><a href="#" data-toggle="modal" data-target="#editTicketPriorityModal<?php echo $ticket_id; ?>"><?php echo $ticket_priority_display; ?></a>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue