@@ -225,8 +225,7 @@ |
||
| 225 | 225 | if ($type == 'success') { |
| 226 | 226 | session()->flash( |
| 227 | 227 | 'success', |
| 228 | - $this->isCreating ? "The category has been created successfully !" : |
|
| 229 | - "The category <b>{$this->model->title}</b> has been edited successfully !" |
|
| 228 | + $this->isCreating ? "The category has been created successfully !" : "The category <b>{$this->model->title}</b> has been edited successfully !" |
|
| 230 | 229 | ); |
| 231 | 230 | } else { |
| 232 | 231 | session()->flash('danger', "An error occurred while saving the category !"); |
@@ -225,8 +225,7 @@ |
||
| 225 | 225 | if ($type == 'success') { |
| 226 | 226 | session()->flash( |
| 227 | 227 | 'success', |
| 228 | - $this->isCreating ? "The category has been created successfully !" : |
|
| 229 | - "The category <b>{$this->model->title}</b> has been edited successfully !" |
|
| 228 | + $this->isCreating ? "The category has been created successfully !" : "The category <b>{$this->model->title}</b> has been edited successfully !" |
|
| 230 | 229 | ); |
| 231 | 230 | } else { |
| 232 | 231 | session()->flash('danger', "An error occurred while saving the category !"); |
@@ -226,8 +226,7 @@ |
||
| 226 | 226 | if ($type == 'success') { |
| 227 | 227 | session()->flash( |
| 228 | 228 | 'success', |
| 229 | - $this->isCreating ? "The permission has been created successfully !" : |
|
| 230 | - "The permission <b>{$this->model->title}</b> has been edited successfully !" |
|
| 229 | + $this->isCreating ? "The permission has been created successfully !" : "The permission <b>{$this->model->title}</b> has been edited successfully !" |
|
| 231 | 230 | ); |
| 232 | 231 | } else { |
| 233 | 232 | session()->flash('danger', "An error occurred while saving the permission !"); |
@@ -242,8 +242,7 @@ |
||
| 242 | 242 | if ($type == 'success') { |
| 243 | 243 | session()->flash( |
| 244 | 244 | 'success', |
| 245 | - $this->isCreating ? "The role has been created successfully !" : |
|
| 246 | - "The role <b>{$this->model->title}</b> has been edited successfully !" |
|
| 245 | + $this->isCreating ? "The role has been created successfully !" : "The role <b>{$this->model->title}</b> has been edited successfully !" |
|
| 247 | 246 | ); |
| 248 | 247 | } else { |
| 249 | 248 | session()->flash('danger', "An error occurred while saving the role !"); |
@@ -245,8 +245,7 @@ |
||
| 245 | 245 | if ($type == 'success') { |
| 246 | 246 | session()->flash( |
| 247 | 247 | 'success', |
| 248 | - $this->isCreating ? "The setting has been created successfully !" : |
|
| 249 | - "The setting <b>{$this->model->title}</b> has been edited successfully !" |
|
| 248 | + $this->isCreating ? "The setting has been created successfully !" : "The setting <b>{$this->model->title}</b> has been edited successfully !" |
|
| 250 | 249 | ); |
| 251 | 250 | } else { |
| 252 | 251 | session()->flash('danger', "An error occurred while saving the setting !"); |