@@ -3,7 +3,6 @@ |
||
| 3 | 3 | use hipanel\modules\finance\grid\ReferralPriceGridView; |
| 4 | 4 | use hipanel\modules\finance\helpers\PlanInternalsGrouper; |
| 5 | 5 | use hipanel\modules\finance\models\Plan; |
| 6 | -use hipanel\modules\finance\models\RatePrice; |
|
| 7 | 6 | use hipanel\modules\finance\models\Sale; |
| 8 | 7 | use hipanel\modules\finance\models\Price; |
| 9 | 8 | use hipanel\modules\finance\widgets\CreateReferralPricesButton; |
@@ -1,7 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | use yii\helpers\Html; |
| 4 | -use yii\helpers\Json; |
|
| 5 | 4 | |
| 6 | 5 | /** |
| 7 | 6 | * @var \yii\web\View $this |
@@ -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) { |