| @@ 16-32 (lines=17) @@ | ||
| 13 | use hiqdev\higrid\representations\RepresentationCollection; |
|
| 14 | use Yii; |
|
| 15 | ||
| 16 | class RequisiteRepresentations extends RepresentationCollection |
|
| 17 | { |
|
| 18 | protected function fillRepresentations() |
|
| 19 | { |
|
| 20 | $this->representations = array_filter([ |
|
| 21 | 'common' => [ |
|
| 22 | 'label' => Yii::t('hipanel', 'Common'), |
|
| 23 | 'columns' => array_filter([ |
|
| 24 | 'checkbox', |
|
| 25 | 'client_like', |
|
| 26 | 'name', 'actions', 'serie', 'requisites', |
|
| 27 | ]), |
|
| 28 | ], |
|
| 29 | ]); |
|
| 30 | } |
|
| 31 | ||
| 32 | } |
|
| 33 | ||
| @@ 16-34 (lines=19) @@ | ||
| 13 | use hiqdev\higrid\representations\RepresentationCollection; |
|
| 14 | use Yii; |
|
| 15 | ||
| 16 | class SaleRepresentations extends RepresentationCollection |
|
| 17 | { |
|
| 18 | protected function fillRepresentations() |
|
| 19 | { |
|
| 20 | $this->representations = array_filter([ |
|
| 21 | 'common' => [ |
|
| 22 | 'label' => Yii::t('hipanel', 'common'), |
|
| 23 | 'columns' => [ |
|
| 24 | 'checkbox', |
|
| 25 | 'object', |
|
| 26 | 'seller', |
|
| 27 | 'buyer', |
|
| 28 | 'tariff', |
|
| 29 | 'time', |
|
| 30 | ], |
|
| 31 | ], |
|
| 32 | ]); |
|
| 33 | } |
|
| 34 | } |
|
| 35 | ||