Fix regression: ticket replies not showing when time is not tracked due to new edit ability

This commit is contained in:
Marcus Hill 2022-12-11 02:03:15 +00:00
parent 601b5f89e9
commit 1c11da4b7d
1 changed files with 2 additions and 0 deletions

View File

@ -16,12 +16,14 @@
<textarea class="form-control summernote" rows="8" name="ticket_reply"><?php echo $ticket_reply; ?></textarea>
</div>
<?php if(!empty($ticket_reply_time_worked)) { ?>
<b>Time worked</b>
<div class="col-3">
<div class="form-group">
<input class="form-control timepicker" id="time_worked" name="time" type="time" step="1" value="<?php echo date_format($ticket_reply_time_worked, 'H:i:s') ?>"/>
</div>
</div>
<?php } ?>
</div>
<div class="modal-footer bg-white">