474f35bf
Mihail
add DynamicFormHe...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<?php
namespace backend\components\parsers;
use yii\multiparser\ParserConfigurator;
class CustomParserConfigurator extends ParserConfigurator
{
protected static $configuration = [
'csv' =>
['web' =>
['class' => 'backend\components\parsers\CustomCsvParser',
'auto_detect_first_line' => true,]]];
public static $basic_column = [
"BRAND" => 'Бренд',
"ARTICLE"=> 'Артикул',
"PRICE" => 'Цена',
"DESCR" => 'Наименование',
"BOX" => 'Колво',
"ADD_BOX"=> 'В пути',
"GROUP" => 'Группа RG'
];
}
|