@@ -202,11 +202,17 @@ |
||
202 | 202 | ]); |
203 | 203 | } |
204 | 204 | |
205 | + /** |
|
206 | + * @param Bill $model |
|
207 | + */ |
|
205 | 208 | public function tariffLink($model): string |
206 | 209 | { |
207 | 210 | return Html::a($model->tariff, ['@plan/view', 'id' => $model->tariff_id]); |
208 | 211 | } |
209 | 212 | |
213 | + /** |
|
214 | + * @param Bill $model |
|
215 | + */ |
|
210 | 216 | public function objectTag($model): string |
211 | 217 | { |
212 | 218 | return $model->object ? implode(': ', [$model->class_label, $this->objectLink($model)]) : ''; |
@@ -47,6 +47,9 @@ |
||
47 | 47 | ]; |
48 | 48 | } |
49 | 49 | |
50 | + /** |
|
51 | + * @param string $name |
|
52 | + */ |
|
50 | 53 | private function groupOf($name, $formulas) |
51 | 54 | { |
52 | 55 | return ['name' => $name, 'formulas' => $formulas]; |
@@ -45,6 +45,9 @@ |
||
45 | 45 | } |
46 | 46 | } |
47 | 47 | |
48 | + /** |
|
49 | + * @param \hipanel\inputs\TextInput $type |
|
50 | + */ |
|
48 | 51 | private function renderTextInput($type) |
49 | 52 | { |
50 | 53 | $this->activeField->template = "{label}\n<div class=\"input-group\">{input}</div>\n{hint}\n{error}"; |