<?php

return [
    'feed_conf' => [
        'formats' => ['yml', 'gfeed'],
        'periods_list' => [
            'today' => 'сегодня',
            'yesterday' => 'вчера',
            '7days' => '7 дней',
            '30days' => '30 дней',
            'current_month' => 'текущий месяц',
            'prev_month' => 'прошлый месяц',
            'year' => 'год',
        ],
        'colors_active_lines' => [
            'Views' => '#2CA02C',
            'Clicks' => '#D62728',
            'Orders' => '#1F77B4',
            'OrderSum' => '#FF7F0E',
            'AdMoney' => '#9467BD',
        ],
        'reports' => [
            'common' => [
                'title' => 'Сводный отчет',
                'type' => 'feed_stat',
                'fields' => ['Views','Clicks','Orders','OrderSum', 'AdMoney'],
                'main_cat' => ['name' => 'date', 'title' => 'Дата', 'isSorted' => true],
                'cats' => [
                    'Views' => 'Показы',
                    'Clicks' => 'Клики',
                    'ctr' => 'CTR',
                    'Orders' => 'Заказы',
                    'OrderSum' => 'Заказы на сумму',
                    'AdMoney' => 'Комиссия AddCPM'
                ]
            ],
            'transactions' => [
                'title' => 'Транзакции',
                'type' => 'feed_transactions',
                'fields' => ['Views','Clicks','Orders','OrderSum', 'AdMoney'],
                'main_cat' => ['name' => 'order', 'title' => '#OrderID', 'isSorted' => false],
                'cats' => [
                    'Timestamp' => 'Время<br />Дата',
                    'Basket' => 'Состав корзины',
                    'ViewID' => 'ViewID',
                    'OrderSum' => 'Сумма',
                    'AdMoney' => 'Комиссия'
                ]
            ],
        ]
    ]
];
