| @@ 179-190 (lines=12) @@ | ||
| 176 | ]; |
|
| 177 | } |
|
| 178 | ||
| 179 | public function attributeLabels() |
|
| 180 | { |
|
| 181 | return [ |
|
| 182 | 'client_id' => Yii::t('hipanel', 'Client'), |
|
| 183 | 'time' => Yii::t('hipanel', 'Time'), |
|
| 184 | 'currency' => Yii::t('hipanel', 'Currency'), |
|
| 185 | 'sum' => Yii::t('hipanel:finance', 'Sum'), |
|
| 186 | 'label' => Yii::t('hipanel', 'Description'), |
|
| 187 | 'type' => Yii::t('hipanel', 'Type'), |
|
| 188 | 'quantity' => Yii::t('hipanel', 'Quantity'), |
|
| 189 | ]; |
|
| 190 | } |
|
| 191 | ||
| 192 | public function getIsNewRecord() |
|
| 193 | { |
|
| @@ 43-54 (lines=12) @@ | ||
| 40 | ]); |
|
| 41 | } |
|
| 42 | ||
| 43 | public function attributeLabels() |
|
| 44 | { |
|
| 45 | return [ |
|
| 46 | 'plan_id' => Yii::t('hipanel:finance', 'Plan'), |
|
| 47 | 'plan' => Yii::t('hipanel:finance', 'Plan'), |
|
| 48 | 'quantity' => Yii::t('hipanel:finance', 'Prepaid'), |
|
| 49 | 'unit' => Yii::t('hipanel:finance', 'Unit'), |
|
| 50 | 'price' => Yii::t('hipanel:finance', 'Price'), |
|
| 51 | 'note' => Yii::t('hipanel', 'Note'), |
|
| 52 | 'type' => Yii::t('hipanel', 'Type'), |
|
| 53 | ]; |
|
| 54 | } |
|
| 55 | ||
| 56 | public function getTypeOptions() |
|
| 57 | { |
|