Recurring tickets bugfix

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.
This commit is contained in:
wrongecho 2024-08-18 16:11:32 +01:00
parent d9316233bb
commit f605f581cb
1 changed files with 3 additions and 3 deletions

View File

@ -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>