mirror of
https://github.com/itflow-org/itflow
synced 2026-11-28 07:08:58 +00:00
Archive clients, ticket replies, accounts and SLAs and restore anything without an Are you sure prompt, with Undo added for ticket replies and accounts, real plurals and bold counts in bulk messages, and flashAlert for asset and contact note messages
This commit is contained in:
@@ -920,7 +920,7 @@ if (isset($_POST['bulk_archive_clients'])) {
|
||||
|
||||
logAudit("Client", "Bulk Archive", "$session_name archived $count clients", $client_id);
|
||||
|
||||
flashAlert("Archived $count client(s)", 'error');
|
||||
flashAlert("Archived <strong>$count</strong> client" . ($count === 1 ? '' : 's'), 'error');
|
||||
if (empty($undo_withdrawn)) {
|
||||
undoOfferArchive($undo); // a signing request withdrawn can't be put back
|
||||
}
|
||||
@@ -962,7 +962,7 @@ if (isset($_POST['bulk_unarchive_clients'])) {
|
||||
|
||||
logAudit("Client", "Bulk Restore", "$session_name restored $count client(s)", $client_id);
|
||||
|
||||
flashAlert("You restored <strong>$count</strong> client(s)");
|
||||
flashAlert("Restored <strong>$count</strong> client" . ($count === 1 ? '' : 's'));
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user