Ticket timer (forum #3237): with Start the timer on opening a ticket on, a reply or note stops the timer instead of a new one starting by itself as the ticket comes back, it stays stopped on reloads and other changes on the ticket until play is pressed or the ticket is opened again from elsewhere, saying Stopped with your reply, choosing On Hold, Resolved or Closed for after the reply pauses it by status id, and a ticket opened with autostart off no longer keeps an empty time that stopped autostart later; 26.12.3 changelog

This commit is contained in:
johnnyq
2026-12-01 15:46:09 -05:00
parent 25dac4cee2
commit 1ba1ffdfd1
4 changed files with 76 additions and 11 deletions

View File

@@ -107,7 +107,7 @@ echo settingsPageStart('ticket');
<?php } ?>
<?= settingsSectionStart('time', 'Time and billing', 'How time on a ticket starts, and whether it bills.') ?>
<?= settingsSwitch('config_ticket_timer_autostart', $config_ticket_timer_autostart, ['help' => 'The timer runs from opening a ticket, rather than from pressing start.']) ?>
<?= settingsSwitch('config_ticket_timer_autostart', $config_ticket_timer_autostart, ['help' => 'The timer runs from opening a ticket, rather than from pressing start. A reply or note puts the time on it and stops the timer - press start to time more, and it starts again the next time the ticket is opened.']) ?>
<?php if ($config_module_enable_accounting) { ?>
<?= settingsSwitch('config_ticket_default_billable', $config_ticket_default_billable, ['help' => 'A new ticket starts billable - each can be changed. How the time is billed is in <a href="settings_invoice.php#billing-time">Invoices and billing</a>.']) ?>
<?php } ?>