Skip to content

Commit

Permalink
Recurring tickets bugfix
Browse files Browse the repository at this point in the history
Fix bug preventing ticket subject/content being shown when accounting module is disabled.
Think this is due to the dynamic modals - fix for now is just to hide the billable div from the user.
  • Loading branch information
wrongecho committed Aug 18, 2024
1 parent d931623 commit f605f58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions recurring_ticket_edit_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@
</div>
</div>

<?php if ($config_module_enable_accounting) { ?>
<div class="form-group">
<?php //if ($config_module_enable_accounting) { ?>
<div class="form-group" <?php if (!$config_module_enable_accounting) { echo 'style="display:none"'; } ?>>
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" name="billable" id="editTicketBillable" value="1">
<label class="custom-control-label" for="editTicketBillable">Mark Billable</label>
</div>
</div>
<?php } ?>
<?php //} ?>

</div>

Expand Down

0 comments on commit f605f58

Please sign in to comment.