Mail review stage 7d: the links in emails that open a ticket, invoice or quote without signing in stop working a set time after it is closed, paid or answered, 90 days to start and set in Admin > Settings > Security, with an expired page pointing to the client portal and Copy Client Link marked Expired; your own subject, heading, opening and closing text for the 13 emails about a ticket to clients, edited from Admin > Settings > Mail > Previews with square-bracket placeholders (database 4.3.4); 26.12.3 changelog

This commit is contained in:
johnnyq
2026-11-30 21:36:58 -05:00
parent 20b2d1883e
commit 812c4ae9c2
20 changed files with 709 additions and 25 deletions

View File

@@ -46,5 +46,8 @@ echo json_encode([
'also' => array_values(array_unique($others)),
'calendar' => !empty($email['cal_str']),
'html' => $email['html'] ?? '',
// Its wording can be changed - one of the emails about a ticket to clients (functions/email_template.php)
'template' => isset(EMAIL_TEMPLATES[(string) ($_GET['email'] ?? '')]) && emailTemplateReady(),
'edited' => emailTemplateEdited((string) ($_GET['email'] ?? '')),
'error' => $email ? '' : ($preview['error'] !== '' ? 'It could not be made: ' . $preview['error'] : 'Nothing would be sent with the sample records.'),
]);