mirror of
https://github.com/itflow-org/itflow
synced 2026-03-17 03:04:50 +00:00
Fix Close Ticket not showing when accounting module is disabled plus remove some extra markup not needed in ticket.php
This commit is contained in:
30
ticket.php
30
ticket.php
@@ -778,22 +778,20 @@ if (isset($_GET['ticket_id'])) {
|
|||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<?php if ($config_module_enable_accounting) { ?>
|
<div class="card card-body card-outline card-dark mb-2">
|
||||||
<div class="card card-body card-outline card-dark mb-2">
|
<?php if ($config_module_enable_accounting) { ?>
|
||||||
<div class="">
|
<a href="#" class="btn btn-info btn-block" href="#" data-toggle="modal" data-target="#addInvoiceFromTicketModal">
|
||||||
<a href="#" class="btn btn-info btn-block" href="#" data-toggle="modal" data-target="#addInvoiceFromTicketModal">
|
<i class="fas fa-fw fa-file-invoice mr-2"></i>Invoice Ticket
|
||||||
<i class="fas fa-fw fa-file-invoice mr-2"></i>Invoice Ticket
|
</a>
|
||||||
</a>
|
<?php }
|
||||||
<?php
|
|
||||||
if ($ticket_status !== "Closed") { ?>
|
if ($ticket_status !== "Closed") { ?>
|
||||||
<a href="post.php?close_ticket=<?php echo $ticket_id; ?>" class="btn btn-secondary btn-block confirm-link">
|
<a href="post.php?close_ticket=<?php echo $ticket_id; ?>" class="btn btn-secondary btn-block confirm-link">
|
||||||
<i class="fas fa-fw fa-gavel mr-2"></i>Close Ticket
|
<i class="fas fa-fw fa-gavel mr-2"></i>Close Ticket
|
||||||
</a>
|
</a>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<?php } ?>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user