fine implementazione multi-sentder

This commit is contained in:
2026-05-27 08:37:37 +02:00
parent b0865368c8
commit fefc3bba2a
5 changed files with 592 additions and 1 deletions
@@ -250,6 +250,10 @@ class EmailSettingsController extends Controller
$sender = SenderAccount::findOrFail($id);
$sender->delete();
if (request()->expectsJson()) {
return response()->json(['success' => true, 'message' => 'Mittente eliminato.']);
}
return back()->with('success', 'Mittente eliminato.');
}