mirror of
https://github.com/itflow-org/itflow
synced 2026-03-28 08:15:38 +00:00
Allow invoicing a closed ticket
This commit is contained in:
12
ticket.php
12
ticket.php
@@ -576,21 +576,17 @@ if(isset($_GET['ticket_id'])){
|
|||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<?php
|
|
||||||
if($ticket_status !== "Closed"){
|
|
||||||
?>
|
|
||||||
|
|
||||||
<div class="card card-body card-outline card-dark mb-2">
|
<div class="card card-body card-outline card-dark mb-2">
|
||||||
<div class="">
|
<div class="">
|
||||||
<a href="#" class="btn btn-outline-success btn-block" href="#" data-toggle="modal" data-target="#addInvoiceFromTicketModal">INVOICE</a>
|
<a href="#" class="btn btn-outline-success btn-block" href="#" data-toggle="modal" data-target="#addInvoiceFromTicketModal">INVOICE</a>
|
||||||
|
<?php
|
||||||
|
if($ticket_status !== "Closed"){
|
||||||
|
?>
|
||||||
<a href="post.php?close_ticket=<?php echo $ticket_id; ?>" class="btn btn-outline-danger btn-block">CLOSE TICKET</a>
|
<a href="post.php?close_ticket=<?php echo $ticket_id; ?>" class="btn btn-outline-danger btn-block">CLOSE TICKET</a>
|
||||||
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user