@@ -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)]) : ''; |