privilegedemarque/modules/antadismarketing/classes/AntStatsPersonnalisation.php
Serveur preprod f0c0c48223 first push
2016-04-14 16:14:31 +02:00

38 lines
3.3 KiB
PHP
Executable File

<?php
Class AntStatsPersonnalisation
{
static function getColumnsDisplayed()
{
return array(
'name'=> array('orderable' => true, 'type' => 'string', 'text' => Translate::getModuleTranslation('antadismarketing', 'Category Tracking', 'antadismarketing') ),
'cout' => array('orderable' => true, 'type' => 'price', 'text' => Translate::getModuleTranslation('antadismarketing', 'Cout', 'antadismarketing') ),
'visits'=> array('orderable' => true, 'type' => 'int', 'text' => Translate::getModuleTranslation('antadismarketing', 'Visits', 'antadismarketing'),
'inner_line' => array(
'cout_visits' => array('orderable' => true, 'type' => 'price', 'text' => Translate::getModuleTranslation('antadismarketing', 'Cout par visite', 'antadismarketing'), 'depend' => array('cout', 'visits') )
)
),
'visits_subscribe'=> array('orderable' => true, 'type' => 'percent', 'text' => ' -> '),
'subscribe'=> array('orderable' => true, 'type' => 'int', 'text' => Translate::getModuleTranslation('antadismarketing', 'Subscribe', 'antadismarketing'),
'inner_line' => array(
'cout_subscribe' => array('orderable' => true, 'type' => 'price', 'text' => Translate::getModuleTranslation('antadismarketing', 'Cout par inscription', 'antadismarketing'), 'depend' => array('cout', 'subscribe') )
)
),
'subscribe_order'=> array('orderable' => true, 'type' => 'percent', 'text' => ' -> '),
'total_order'=> array('orderable' => true, 'type' => 'int', 'text' => Translate::getModuleTranslation('antadismarketing', 'Total order', 'antadismarketing'),
'inner_line' => array(
'cout_order' => array('orderable' => true, 'type' => 'price', 'text' => Translate::getModuleTranslation('antadismarketing', 'Cout par commande', 'antadismarketing'), 'depend' => array('cout', 'total_order') )
)
),
'total_products_price'=> array('orderable' => true, 'type' => 'price', 'text' => Translate::getModuleTranslation('antadismarketing', 'Total amount', 'antadismarketing')),
'mame' => array('orderable' => true, 'type' => 'price', 'text' => Translate::getModuleTranslation('antadismarketing', 'Cout pour 1€ CA', 'antadismarketing'), 'depend' => array('cout', 'total_products_price') ),
'mame_marge' => array('orderable' => true, 'type' => 'price', 'text' => Translate::getModuleTranslation('antadismarketing', 'Cout pour 1€ Marge', 'antadismarketing'), 'depend' => array('cout', 'total_products_price') ),
'avegare_order' => array('orderable' => true, 'type' => 'price', 'text' => Translate::getModuleTranslation('antadismarketing', 'Average order', 'antadismarketing'), 'depend' => array('cout', 'total_products_price') ),
'total_products_price_tax_excl'=> array('orderable' => true, 'type' => 'price', 'text' => Translate::getModuleTranslation('antadismarketing', 'Total HT', 'antadismarketing') ),
'total_wholesale_price'=> array('orderable' => true, 'type' => 'price', 'text' => Translate::getModuleTranslation('antadismarketing', 'Total supplier buy', 'antadismarketing') ),
'rate_amount'=> array('orderable' => true, 'type' => 'price', 'text' => Translate::getModuleTranslation('antadismarketing', 'Rate amount', 'antadismarketing') ),
'rate' => array('orderable' => true, 'type' => 'percent', 'text' => Translate::getModuleTranslation('antadismarketing', 'Rate', 'antadismarketing') )
);
}
}