mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Updates to mark tickets billable, and keep track of which have been billed.
This commit is contained in:
34
invoice_add_ticket_modal.php
Normal file
34
invoice_add_ticket_modal.php
Normal file
@@ -0,0 +1,34 @@
|
||||
|
||||
<div class="modal" id="addTicketModal">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content bg-dark">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title"><i class="fas fa-fw fa-file-invoice mr-2"></i>Add Unbilled Ticket to Invoice</h5>
|
||||
<button type="button" class="close text-white" data-dismiss="modal">
|
||||
<span>×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal->body bg-white">
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th>Ticket Number</th>
|
||||
<th>Scope</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
<?php while ($row = mysqli_fetch_array($sql_tickets_billable)) {
|
||||
$ticket_id = intval($row['ticket_id']);
|
||||
$ticket_subject = nullable_htmlentities($row['ticket_subject']);
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $ticket_id?></td>
|
||||
<td><?php echo $ticket_subject ?></td>
|
||||
<td></td>
|
||||
<td><a href='ticket.php?ticket_id=<?php echo $ticket_id?>&invoice_id=<?php echo $invoice_id?>#addInvoiceFromTicketModal'>Add</a></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user