Skip to content

Commit

Permalink
Updated UI badge element to use yes and no for billable tickets
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyq committed Jun 17, 2024
1 parent 46ab6a6 commit ea77c75
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions client_tickets.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@
<a href="#" data-toggle="modal" data-target="#editTicketBillableModal<?php echo $ticket_id; ?>">
<?php
if ($ticket_billable == 1) {
echo "<span class='badge badge-pill badge-success'>$</span>";
echo "<span class='badge badge-pill badge-success p-2'>Yes</span>";
} else {
echo "<span class='badge badge-pill badge-secondary'>X</span>";
echo "<span class='badge badge-pill badge-secondary p-2'>No</span>";
}
?>
</td>
Expand Down
4 changes: 2 additions & 2 deletions ticket.php
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,9 @@
<a href="#" data-toggle="modal" data-target="#editTicketBillableModal<?php echo $ticket_id; ?>">
<?php
if ($ticket_billable == 1) {
echo "<span class='badge badge-pill badge-success p-2'>$</span>";
echo "<span class='badge badge-pill badge-success p-2'>Yes</span>";
} else {
echo "<span class='badge badge-pill badge-secondary p-2'>X</span>";
echo "<span class='badge badge-pill badge-secondary p-2'>No</span>";
}
?>
</a>
Expand Down
4 changes: 2 additions & 2 deletions tickets.php
Original file line number Diff line number Diff line change
Expand Up @@ -468,9 +468,9 @@ class="collapse
<a href="#" data-toggle="modal" data-target="#editTicketBillableModal<?php echo $ticket_id; ?>">
<?php
if ($ticket_billable == 1) {
echo "<span class='badge badge-pill badge-success'>$</span>";
echo "<span class='badge badge-pill badge-success p-2'>Yes</span>";
} else {
echo "<span class='badge badge-pill badge-secondary'>X</span>";
echo "<span class='badge badge-pill badge-secondary p-2'>No</span>";
}
?>
</td>
Expand Down

0 comments on commit ea77c75

Please sign in to comment.