mirror of
https://github.com/itflow-org/itflow
synced 2026-11-21 20:07:24 +00:00
Undo: the message after archiving, a move or a bulk change has Undo, which puts it back as it was unless it changed since, and archiving no longer asks first except for clients; covers archiving every kind on Archived with contact roles, document links and a client's recurring invoices, file, document, folder and rack moves, and the bulk changes that set a field on tickets, assets, contacts, clients, projects, invoices, products and IP addresses
This commit is contained in:
@@ -123,4 +123,6 @@ function redirect($url = null, $permanent = false) {
|
||||
function flashAlert(string $message, string $type = 'success'): void {
|
||||
$_SESSION['alert_type'] = $type;
|
||||
$_SESSION['alert_message'] = $message;
|
||||
// A new message carries no Undo until undoOffer() gives it one (functions/undo.php)
|
||||
unset($_SESSION['alert_undo']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user