@@ -183,6 +183,9 @@ discard block |
||
| 183 | 183 | } |
| 184 | 184 | } |
| 185 | 185 | |
| 186 | + /** |
|
| 187 | + * @param string $model |
|
| 188 | + */ |
|
| 186 | 189 | private function getWorkflow($model){ |
| 187 | 190 | $data = WorkflowModel::where('content_type', 'like', '%' . $model . '%'); |
| 188 | 191 | return $data; |
@@ -590,6 +593,14 @@ discard block |
||
| 590 | 593 | } |
| 591 | 594 | } |
| 592 | 595 | |
| 596 | + /** |
|
| 597 | + * @param boolean $error |
|
| 598 | + * @param integer $statusCode |
|
| 599 | + * @param string $title |
|
| 600 | + * @param string $type |
|
| 601 | + * @param string $message |
|
| 602 | + * @param string $transition |
|
| 603 | + */ |
|
| 593 | 604 | private function SendClient($client, $host, $error, $statusCode, $title, $type, $message, $result, $state, $transition){ |
| 594 | 605 | if(Auth::guest()){ $current_user = 1; } |
| 595 | 606 | else{ $current_user = Auth::user()->id; } |