-
Notifications
You must be signed in to change notification settings - Fork 3
/
metadata.php
85 lines (77 loc) · 4.92 KB
/
metadata.php
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?php
/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/
use OxidEsales\EVatModule\Core\Module;
use OxidEsales\EVatModule\Service\ModuleSettings;
/**
* Metadata version
*/
$sMetadataVersion = '2.0';
/**
* Module information
*/
$aModule = array(
'id' => Module::MODULE_ID,
'title' => 'OXID eShop eVAT',
'description' => array(
'de' => 'Das Modul eVAT ermöglicht es,
einem Land verschiedene Mehrwertsteuersätze zuzuweisen und zusätzlich
Artikel als Telekommunikations-, Rundfunk-, Fernseh- und auf elektronischem Weg erbrachte Dienstleistungen gemäß der
<a href="https://ec.europa.eu/taxation_customs/news/vat-updated-version-moss-report-has-just-been-published-2016-05-12_de" target="_blank">Europäischen Steuervorschrift ab 2015</a> zu definieren.',
'en' => 'The OXID eVAT module allows you to configure a range of tax rates for a
country, and additionally enables you to define a product as a
Telecommunication, Broadcasting or Electronic (TBE) service according to
<a href="https://ec.europa.eu/taxation_customs/news/vat-updated-version-moss-report-has-just-been-published-2016-05-12_en" target="_blank">European tax directive as of 2015</a>',
),
'thumbnail' => 'logo.png',
'version' => '4.1.0',
'author' => 'OXID eSales AG',
'url' => 'http://www.oxid-esales.com',
'email' => 'info@oxid-esales.com',
'controllers' => [
'oevattbecountryvatgroups' => \OxidEsales\EVatModule\Controller\Admin\CountryVatGroups::class,
'oevattbearticleadministration' => \OxidEsales\EVatModule\Controller\Admin\ArticleAdministration::class,
'oevattbecategoryadministration' => \OxidEsales\EVatModule\Controller\Admin\CategoryAdministration::class,
],
'extend' => [
//Components
\OxidEsales\Eshop\Application\Component\BasketComponent::class => \OxidEsales\EVatModule\Component\BasketComponent::class,
//Controllers
\OxidEsales\Eshop\Application\Controller\BasketController::class => \OxidEsales\EVatModule\Controller\BasketController::class,
\OxidEsales\Eshop\Application\Controller\OrderController::class => \OxidEsales\EVatModule\Controller\OrderController::class,
\OxidEsales\Eshop\Application\Controller\Admin\OrderMain::class => \OxidEsales\EVatModule\Controller\Admin\OrderMain::class,
\OxidEsales\Eshop\Application\Controller\Admin\CategoryMainAjax::class => \OxidEsales\EVatModule\Controller\Admin\CategoryMainAjax::class,
\OxidEsales\Eshop\Application\Controller\Admin\ArticleExtendAjax::class => \OxidEsales\EVatModule\Controller\Admin\ArticleExtendAjax::class,
\OxidEsales\Eshop\Application\Controller\Admin\ArticleMain::class => \OxidEsales\EVatModule\Controller\Admin\ArticleMain::class,
//Models
\OxidEsales\Eshop\Application\Model\Article::class => \OxidEsales\EVatModule\Shop\Article::class,
\OxidEsales\Eshop\Application\Model\ArticleList::class => \OxidEsales\EVatModule\Shop\ArticleList::class,
\OxidEsales\Eshop\Application\Model\User::class => \OxidEsales\EVatModule\Shop\User::class,
\OxidEsales\Eshop\Application\Model\Search::class => \OxidEsales\EVatModule\Shop\Search::class,
\OxidEsales\Eshop\Application\Model\VatSelector::class => \OxidEsales\EVatModule\Shop\VatSelector::class,
\OxidEsales\Eshop\Application\Model\Basket::class => \OxidEsales\EVatModule\Shop\Basket::class,
\OxidEsales\Eshop\Application\Model\Order::class => \OxidEsales\EVatModule\Shop\Order::class,
\OxidEsales\Eshop\Application\Model\BasketContentMarkGenerator::class => \OxidEsales\EVatModule\Shop\BasketContentMarkGenerator::class,
\OxidEsales\Eshop\Application\Model\Country::class => \OxidEsales\EVatModule\Shop\Country::class,
\OxidEsales\Eshop\Application\Model\Category::class => \OxidEsales\EVatModule\Shop\Category::class,
\OxidEsales\Eshop\Application\Model\Shop::class => \OxidEsales\EVatModule\Shop\Shop::class,
//Core
\OxidEsales\Eshop\Core\ViewConfig::class => \OxidEsales\EVatModule\Shop\ViewConfig::class,
],
'events' => array(
'onActivate' => '\OxidEsales\EVatModule\Core\Events::onActivate',
'onDeactivate' => '\OxidEsales\EVatModule\Core\Events::onDeactivate'
),
'templates' => [
],
'blocks' => [
],
'settings' => array(
['group' => 'oevattbe', 'name' => ModuleSettings::COUNTRY_EVIDENCES, 'type' => 'aarr', 'value' => ['billing_country' => '1', 'geo_location' => '0']],
['group' => 'oevattbe', 'name' => ModuleSettings::DEFAULT_EVIDENCE, 'type' => 'str', 'value' => 'billing_country'],
['group' => 'oevattbe', 'name' => ModuleSettings::DOMESTIC_COUNTRY, 'type' => 'str', 'value' => 'DE'],
['name' => ModuleSettings::EVIDENCE_CLASSES, 'type' => 'arr', 'value' => []],
)
);