<?php

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