@@ -115,6 +115,9 @@ |
||
| 115 | 115 | return $this->getDocumentsOfType('internal_invoice'); |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | + /** |
|
| 119 | + * @param string $type |
|
| 120 | + */ |
|
| 118 | 121 | public function getDocumentsOfType($type) |
| 119 | 122 | { |
| 120 | 123 | if (Yii::$app->user->can('document.read') === false) { |