Completed
Push — master ( 6ede23...19a19a )
by Andrii
14:52
created
src/controllers/PlanController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 use hipanel\modules\finance\models\factories\PriceModelFactory;
20 20
 use hipanel\modules\finance\models\Plan;
21 21
 use hipanel\modules\finance\models\PriceSuggestionRequestForm;
22
-use hipanel\modules\server\models\Server;
23 22
 use hipanel\filters\EasyAccessControl;
24 23
 use hipanel\modules\finance\models\Price;
25 24
 use hipanel\modules\finance\models\TargetObject;
Please login to merge, or discard this patch.
src/grid/BillGridView.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -202,11 +202,17 @@
 block discarded – undo
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)]) : '';
Please login to merge, or discard this patch.