add error notification important feature
This commit is contained in:
@@ -22,7 +22,7 @@ class Login
|
||||
if (!$company) {
|
||||
app('App\Http\Controllers\Auth\Login')->logout();
|
||||
|
||||
flash(trans('auth.error.no_company'))->error();
|
||||
flash(trans('auth.error.no_company'))->error()->important();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -32,13 +32,13 @@ class CreateDocumentTransaction
|
||||
$type = Str::plural($event->document->type);
|
||||
|
||||
if (empty($user)) {
|
||||
flash($message)->error();
|
||||
flash($message)->error()->important();
|
||||
|
||||
redirect()->route("signed.$type.show", $document->id)->send();
|
||||
}
|
||||
|
||||
if ($user->can('read-client-portal')) {
|
||||
flash($message)->error();
|
||||
flash($message)->error()->important();
|
||||
|
||||
redirect()->route("portal.$type.show", $document->id)->send();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user