diff --git a/LandedCost/Api/Data/DistrictInterface.php b/Api/Data/DistrictInterface.php similarity index 70% rename from LandedCost/Api/Data/DistrictInterface.php rename to Api/Data/DistrictInterface.php index c4e78ef..14b4ad6 100644 --- a/LandedCost/Api/Data/DistrictInterface.php +++ b/Api/Data/DistrictInterface.php @@ -1,6 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Api\Data; diff --git a/LandedCost/Api/Data/TransiteoTaxesExtensionInterface.php b/Api/Data/TransiteoTaxesExtensionInterface.php similarity index 52% rename from LandedCost/Api/Data/TransiteoTaxesExtensionInterface.php rename to Api/Data/TransiteoTaxesExtensionInterface.php index cdeed81..10ea8ff 100644 --- a/LandedCost/Api/Data/TransiteoTaxesExtensionInterface.php +++ b/Api/Data/TransiteoTaxesExtensionInterface.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Api\Data; diff --git a/LandedCost/Api/DistrictRepositoryInterface.php b/Api/DistrictRepositoryInterface.php similarity index 73% rename from LandedCost/Api/DistrictRepositoryInterface.php rename to Api/DistrictRepositoryInterface.php index 8ff066a..a2821c0 100644 --- a/LandedCost/Api/DistrictRepositoryInterface.php +++ b/Api/DistrictRepositoryInterface.php @@ -1,6 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Block\Adminhtml\Form\Field; diff --git a/LandedCost/Block/Adminhtml/Form/Field/OrderStatusCorrespondence.php b/Block/Adminhtml/Form/Field/OrderStatusCorrespondence.php similarity index 81% rename from LandedCost/Block/Adminhtml/Form/Field/OrderStatusCorrespondence.php rename to Block/Adminhtml/Form/Field/OrderStatusCorrespondence.php index 46c6ea6..ae37f76 100644 --- a/LandedCost/Block/Adminhtml/Form/Field/OrderStatusCorrespondence.php +++ b/Block/Adminhtml/Form/Field/OrderStatusCorrespondence.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ declare(strict_types=1); diff --git a/LandedCost/Block/Adminhtml/Form/Field/TransiteoOrderStatusColumn.php b/Block/Adminhtml/Form/Field/TransiteoOrderStatusColumn.php similarity index 71% rename from LandedCost/Block/Adminhtml/Form/Field/TransiteoOrderStatusColumn.php rename to Block/Adminhtml/Form/Field/TransiteoOrderStatusColumn.php index 2e6b32d..748cb20 100644 --- a/LandedCost/Block/Adminhtml/Form/Field/TransiteoOrderStatusColumn.php +++ b/Block/Adminhtml/Form/Field/TransiteoOrderStatusColumn.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Block\Adminhtml\Form\Field; diff --git a/Block/Api.php b/Block/Api.php new file mode 100644 index 0000000..79c9254 --- /dev/null +++ b/Block/Api.php @@ -0,0 +1,37 @@ +_isScopePrivate = true; + } + + public function getTaxesApi() + { + $getApiPrice = '6 euros'; + return $getApiPrice; + } +} diff --git a/LandedCost/Block/Modal.php b/Block/Modal.php similarity index 89% rename from LandedCost/Block/Modal.php rename to Block/Modal.php index e7cf76c..539c22b 100644 --- a/LandedCost/Block/Modal.php +++ b/Block/Modal.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Block; diff --git a/LandedCost/Block/Order/Taxes.php b/Block/Order/Taxes.php similarity index 92% rename from LandedCost/Block/Order/Taxes.php rename to Block/Order/Taxes.php index 139a12d..54d33bb 100644 --- a/LandedCost/Block/Order/Taxes.php +++ b/Block/Order/Taxes.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Block\Order; diff --git a/LandedCost/Console/Command/GeoIpUpdater.php b/Console/Command/GeoIpUpdater.php similarity index 71% rename from LandedCost/Console/Command/GeoIpUpdater.php rename to Console/Command/GeoIpUpdater.php index 7c04ef7..2f8c6f5 100644 --- a/LandedCost/Console/Command/GeoIpUpdater.php +++ b/Console/Command/GeoIpUpdater.php @@ -1,6 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Controller\Adminhtml\Activation; diff --git a/LandedCost/Controller/Adminhtml/Checkout/Taxes.php b/Controller/Adminhtml/Checkout/Taxes.php similarity index 85% rename from LandedCost/Controller/Adminhtml/Checkout/Taxes.php rename to Controller/Adminhtml/Checkout/Taxes.php index 179dd16..89b1b66 100644 --- a/LandedCost/Controller/Adminhtml/Checkout/Taxes.php +++ b/Controller/Adminhtml/Checkout/Taxes.php @@ -1,6 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Controller\Adminhtml\Settings; diff --git a/LandedCost/Controller/Checkout/Taxes.php b/Controller/Checkout/Taxes.php similarity index 85% rename from LandedCost/Controller/Checkout/Taxes.php rename to Controller/Checkout/Taxes.php index 6504360..62688bc 100644 --- a/LandedCost/Controller/Checkout/Taxes.php +++ b/Controller/Checkout/Taxes.php @@ -1,6 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Controller; diff --git a/LandedCost/Controller/District/Index.php b/Controller/District/Index.php similarity index 75% rename from LandedCost/Controller/District/Index.php rename to Controller/District/Index.php index e1df717..302961f 100644 --- a/LandedCost/Controller/District/Index.php +++ b/Controller/District/Index.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ declare(strict_types=1); diff --git a/LandedCost/Controller/Page/Index.php b/Controller/Page/Index.php similarity index 82% rename from LandedCost/Controller/Page/Index.php rename to Controller/Page/Index.php index 194f459..90e1f31 100644 --- a/LandedCost/Controller/Page/Index.php +++ b/Controller/Page/Index.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Controller\Page; diff --git a/LandedCost/Controller/Page/States.php b/Controller/Page/States.php similarity index 66% rename from LandedCost/Controller/Page/States.php rename to Controller/Page/States.php index 358d692..c851940 100644 --- a/LandedCost/Controller/Page/States.php +++ b/Controller/Page/States.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Controller\Page; diff --git a/LandedCost/Controller/Product/DutiesAndTaxes.php b/Controller/Product/DutiesAndTaxes.php similarity index 92% rename from LandedCost/Controller/Product/DutiesAndTaxes.php rename to Controller/Product/DutiesAndTaxes.php index ccca319..9c8689c 100644 --- a/LandedCost/Controller/Product/DutiesAndTaxes.php +++ b/Controller/Product/DutiesAndTaxes.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ declare(strict_types=1); diff --git a/LandedCost/Cron/UpdateGeoIpDB.php b/Cron/UpdateGeoIpDB.php similarity index 66% rename from LandedCost/Cron/UpdateGeoIpDB.php rename to Cron/UpdateGeoIpDB.php index 9c8ebf3..3b0cfc2 100644 --- a/LandedCost/Cron/UpdateGeoIpDB.php +++ b/Cron/UpdateGeoIpDB.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Cron; diff --git a/LandedCost/CustomerData/GeoIpCountry.php b/CustomerData/GeoIpCountry.php similarity index 74% rename from LandedCost/CustomerData/GeoIpCountry.php rename to CustomerData/GeoIpCountry.php index a0898fd..c6eb996 100644 --- a/LandedCost/CustomerData/GeoIpCountry.php +++ b/CustomerData/GeoIpCountry.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\CustomerData; diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..c92cf5f --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License + +Copyright (c) Blackbird Agency + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/LandedCost/Api/Data/DistrictSearchResultInterface.php b/LandedCost/Api/Data/DistrictSearchResultInterface.php deleted file mode 100644 index a12cf5a..0000000 --- a/LandedCost/Api/Data/DistrictSearchResultInterface.php +++ /dev/null @@ -1,24 +0,0 @@ - - */ - -namespace Transiteo\LandedCost\Block; - -class Api extends \Magento\Framework\View\Element\Template -{ - protected $_isScopePrivate; - - public function __construct( - \Magento\Framework\View\Element\Template\Context $context, - array $data = [] - ) - { - parent::__construct($context, $data); - $this->_isScopePrivate = true; - } - - public function getTaxesApi() - { - $getApiPrice = '6 euros'; - return $getApiPrice; - } -} diff --git a/LandedCost/Logger/Handler.php b/LandedCost/Logger/Handler.php deleted file mode 100644 index 35f89e8..0000000 --- a/LandedCost/Logger/Handler.php +++ /dev/null @@ -1,23 +0,0 @@ - - */ - -namespace Transiteo\LandedCost\Logger; - -class Handler extends \Magento\Framework\Logger\Handler\Base -{ - /** - * Logging level - * @var int - */ - protected $loggerType = Logger::DEBUG; - - /** - * File name - * @var string - */ - protected $fileName = '/var/log/Transiteo_LandedCost.log'; -} diff --git a/LandedCost/Logger/QueueHandler.php b/LandedCost/Logger/QueueHandler.php deleted file mode 100644 index c1ce117..0000000 --- a/LandedCost/Logger/QueueHandler.php +++ /dev/null @@ -1,23 +0,0 @@ - - */ - -namespace Transiteo\LandedCost\Logger; - -class QueueHandler extends \Magento\Framework\Logger\Handler\Base -{ - /** - * Logging level - * @var int - */ - protected $loggerType = Logger::DEBUG; - - /** - * File name - * @var string - */ - protected $fileName = '/var/log/Transiteo_LandedCost_Sync.log'; -} diff --git a/LandedCost/Model/Config/Source/Incoterm.php b/LandedCost/Model/Config/Source/Incoterm.php deleted file mode 100644 index 9841fde..0000000 --- a/LandedCost/Model/Config/Source/Incoterm.php +++ /dev/null @@ -1,25 +0,0 @@ - 'ddu', - 'label' => __('DDU') - ], - [ - 'value' => 'ddp', - 'label' => __('DDP') - ] - ]; - } - -} diff --git a/LandedCost/Model/Config/Source/TaxesCalculationMethod.php b/LandedCost/Model/Config/Source/TaxesCalculationMethod.php deleted file mode 100644 index 5caabde..0000000 --- a/LandedCost/Model/Config/Source/TaxesCalculationMethod.php +++ /dev/null @@ -1,25 +0,0 @@ - 'CIF', - 'label' => __('CIF') - ], - [ - 'value' => 'FOB', - 'label' => __('FOB') - ] - ]; - } - -} diff --git a/LandedCost/Model/ResourceModel/District.php b/LandedCost/Model/ResourceModel/District.php deleted file mode 100644 index 874ac5c..0000000 --- a/LandedCost/Model/ResourceModel/District.php +++ /dev/null @@ -1,18 +0,0 @@ -_init('transiteo_district', DistrictInterface::ID); - } -} diff --git a/LandedCost/Plugin/AddHourlyCurrencyCronUpdate.php b/LandedCost/Plugin/AddHourlyCurrencyCronUpdate.php deleted file mode 100644 index 98f2f3d..0000000 --- a/LandedCost/Plugin/AddHourlyCurrencyCronUpdate.php +++ /dev/null @@ -1,27 +0,0 @@ - __('Hourly'), - 'value' => self::CRON_HOURLY - ]); - - return $result; - } -} diff --git a/LandedCost/README.md b/LandedCost/README.md deleted file mode 100644 index dc3c2a2..0000000 --- a/LandedCost/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# duties-taxes-calculator -Duties & Taxes Calculator diff --git a/LandedCost/Ui/Component/Select/Source/Incoterm.php b/LandedCost/Ui/Component/Select/Source/Incoterm.php deleted file mode 100644 index 0447792..0000000 --- a/LandedCost/Ui/Component/Select/Source/Incoterm.php +++ /dev/null @@ -1,25 +0,0 @@ - 'ddu', - 'label' => __('No') - ], - [ - 'value' => 'ddp', - 'label' => __('Yes') - ] - ]; - } - -} diff --git a/LandedCost/etc/adminhtml/routes.xml b/LandedCost/etc/adminhtml/routes.xml deleted file mode 100644 index 3ddf727..0000000 --- a/LandedCost/etc/adminhtml/routes.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - diff --git a/LandedCost/etc/cache.xml b/LandedCost/etc/cache.xml deleted file mode 100644 index 251280f..0000000 --- a/LandedCost/etc/cache.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Transiteo Taxes cache - - diff --git a/LandedCost/etc/crontab.xml b/LandedCost/etc/crontab.xml deleted file mode 100644 index 1819959..0000000 --- a/LandedCost/etc/crontab.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - transiteo_activation/geoip/cron - - - - diff --git a/LandedCost/etc/frontend/routes.xml b/LandedCost/etc/frontend/routes.xml deleted file mode 100644 index 6bede2f..0000000 --- a/LandedCost/etc/frontend/routes.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - diff --git a/LandedCost/etc/frontend/sections.xml b/LandedCost/etc/frontend/sections.xml deleted file mode 100644 index 1137be3..0000000 --- a/LandedCost/etc/frontend/sections.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - -
- - diff --git a/LandedCost/etc/module.xml b/LandedCost/etc/module.xml deleted file mode 100644 index a263e85..0000000 --- a/LandedCost/etc/module.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - diff --git a/LandedCost/etc/queue_publisher.xml b/LandedCost/etc/queue_publisher.xml deleted file mode 100644 index b4147aa..0000000 --- a/LandedCost/etc/queue_publisher.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - diff --git a/LandedCost/registration.php b/LandedCost/registration.php deleted file mode 100644 index 94f6470..0000000 --- a/LandedCost/registration.php +++ /dev/null @@ -1,16 +0,0 @@ - - */ - -use Magento\Framework\Component\ComponentRegistrar; - -ComponentRegistrar::register( - ComponentRegistrar::MODULE, - 'Transiteo_LandedCost', - __DIR__ -); - -require_once __DIR__ . '/lib/internal/MaxMind-DB-Reader-php-master/autoload.php'; diff --git a/LandedCost/view/adminhtml/layout/adminhtml_system_config_edit.xml b/LandedCost/view/adminhtml/layout/adminhtml_system_config_edit.xml deleted file mode 100644 index 825a322..0000000 --- a/LandedCost/view/adminhtml/layout/adminhtml_system_config_edit.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - diff --git a/LandedCost/view/adminhtml/layout/sales_order_creditmemo.xml b/LandedCost/view/adminhtml/layout/sales_order_creditmemo.xml deleted file mode 100644 index 595c7f2..0000000 --- a/LandedCost/view/adminhtml/layout/sales_order_creditmemo.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - diff --git a/LandedCost/view/adminhtml/layout/sales_order_creditmemo_new.xml b/LandedCost/view/adminhtml/layout/sales_order_creditmemo_new.xml deleted file mode 100644 index 1cbd078..0000000 --- a/LandedCost/view/adminhtml/layout/sales_order_creditmemo_new.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/LandedCost/view/adminhtml/layout/sales_order_creditmemo_updateqty.xml b/LandedCost/view/adminhtml/layout/sales_order_creditmemo_updateqty.xml deleted file mode 100644 index 1cbd078..0000000 --- a/LandedCost/view/adminhtml/layout/sales_order_creditmemo_updateqty.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/LandedCost/view/adminhtml/layout/sales_order_creditmemo_view.xml b/LandedCost/view/adminhtml/layout/sales_order_creditmemo_view.xml deleted file mode 100644 index 1cbd078..0000000 --- a/LandedCost/view/adminhtml/layout/sales_order_creditmemo_view.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/LandedCost/view/adminhtml/layout/sales_order_invoice.xml b/LandedCost/view/adminhtml/layout/sales_order_invoice.xml deleted file mode 100644 index 58cbcd7..0000000 --- a/LandedCost/view/adminhtml/layout/sales_order_invoice.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - diff --git a/LandedCost/view/adminhtml/layout/sales_order_invoice_new.xml b/LandedCost/view/adminhtml/layout/sales_order_invoice_new.xml deleted file mode 100644 index 00715ad..0000000 --- a/LandedCost/view/adminhtml/layout/sales_order_invoice_new.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/LandedCost/view/adminhtml/layout/sales_order_invoice_updateqty.xml b/LandedCost/view/adminhtml/layout/sales_order_invoice_updateqty.xml deleted file mode 100644 index 00715ad..0000000 --- a/LandedCost/view/adminhtml/layout/sales_order_invoice_updateqty.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/LandedCost/view/adminhtml/layout/sales_order_invoice_view.xml b/LandedCost/view/adminhtml/layout/sales_order_invoice_view.xml deleted file mode 100644 index 00715ad..0000000 --- a/LandedCost/view/adminhtml/layout/sales_order_invoice_view.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/LandedCost/view/adminhtml/layout/sales_order_item_price.xml b/LandedCost/view/adminhtml/layout/sales_order_item_price.xml deleted file mode 100644 index a976c4e..0000000 --- a/LandedCost/view/adminhtml/layout/sales_order_item_price.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/LandedCost/view/adminhtml/layout/transiteo_taxes_activation_index.xml b/LandedCost/view/adminhtml/layout/transiteo_taxes_activation_index.xml deleted file mode 100644 index 6d21e5f..0000000 --- a/LandedCost/view/adminhtml/layout/transiteo_taxes_activation_index.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - diff --git a/LandedCost/view/adminhtml/layout/transiteo_taxes_settings_index..xml b/LandedCost/view/adminhtml/layout/transiteo_taxes_settings_index..xml deleted file mode 100644 index 6d21e5f..0000000 --- a/LandedCost/view/adminhtml/layout/transiteo_taxes_settings_index..xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - diff --git a/LandedCost/view/base/templates/pricing/adjustment/bundle.phtml b/LandedCost/view/base/templates/pricing/adjustment/bundle.phtml deleted file mode 100644 index 9b58bce..0000000 --- a/LandedCost/view/base/templates/pricing/adjustment/bundle.phtml +++ /dev/null @@ -1,4 +0,0 @@ - -I am the template to render the transiteo prices. diff --git a/LandedCost/view/frontend/layout/checkout_item_price_renderers.xml b/LandedCost/view/frontend/layout/checkout_item_price_renderers.xml deleted file mode 100644 index 5d26983..0000000 --- a/LandedCost/view/frontend/layout/checkout_item_price_renderers.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/LandedCost/view/frontend/layout/sales_email_order_creditmemo_items.xml b/LandedCost/view/frontend/layout/sales_email_order_creditmemo_items.xml deleted file mode 100644 index 1cbd078..0000000 --- a/LandedCost/view/frontend/layout/sales_email_order_creditmemo_items.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/LandedCost/view/frontend/layout/sales_email_order_invoice_items.xml b/LandedCost/view/frontend/layout/sales_email_order_invoice_items.xml deleted file mode 100644 index 00715ad..0000000 --- a/LandedCost/view/frontend/layout/sales_email_order_invoice_items.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/LandedCost/view/frontend/layout/sales_email_order_items.xml b/LandedCost/view/frontend/layout/sales_email_order_items.xml deleted file mode 100644 index 26b465f..0000000 --- a/LandedCost/view/frontend/layout/sales_email_order_items.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/LandedCost/view/frontend/layout/sales_guest_creditmemo.xml b/LandedCost/view/frontend/layout/sales_guest_creditmemo.xml deleted file mode 100644 index 1cbd078..0000000 --- a/LandedCost/view/frontend/layout/sales_guest_creditmemo.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/LandedCost/view/frontend/layout/sales_guest_invoice.xml b/LandedCost/view/frontend/layout/sales_guest_invoice.xml deleted file mode 100644 index 00715ad..0000000 --- a/LandedCost/view/frontend/layout/sales_guest_invoice.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/LandedCost/view/frontend/layout/sales_guest_print.xml b/LandedCost/view/frontend/layout/sales_guest_print.xml deleted file mode 100644 index 26b465f..0000000 --- a/LandedCost/view/frontend/layout/sales_guest_print.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/LandedCost/view/frontend/layout/sales_guest_printcreditmemo.xml b/LandedCost/view/frontend/layout/sales_guest_printcreditmemo.xml deleted file mode 100644 index 1cbd078..0000000 --- a/LandedCost/view/frontend/layout/sales_guest_printcreditmemo.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/LandedCost/view/frontend/layout/sales_guest_printinvoice.xml b/LandedCost/view/frontend/layout/sales_guest_printinvoice.xml deleted file mode 100644 index 00715ad..0000000 --- a/LandedCost/view/frontend/layout/sales_guest_printinvoice.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/LandedCost/view/frontend/layout/sales_guest_view.xml b/LandedCost/view/frontend/layout/sales_guest_view.xml deleted file mode 100644 index 26b465f..0000000 --- a/LandedCost/view/frontend/layout/sales_guest_view.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/LandedCost/view/frontend/layout/sales_order_creditmemo.xml b/LandedCost/view/frontend/layout/sales_order_creditmemo.xml deleted file mode 100644 index 1cbd078..0000000 --- a/LandedCost/view/frontend/layout/sales_order_creditmemo.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/LandedCost/view/frontend/layout/sales_order_invoice.xml b/LandedCost/view/frontend/layout/sales_order_invoice.xml deleted file mode 100644 index 00715ad..0000000 --- a/LandedCost/view/frontend/layout/sales_order_invoice.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/LandedCost/view/frontend/layout/sales_order_print.xml b/LandedCost/view/frontend/layout/sales_order_print.xml deleted file mode 100644 index 26b465f..0000000 --- a/LandedCost/view/frontend/layout/sales_order_print.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/LandedCost/view/frontend/layout/sales_order_printcreditmemo.xml b/LandedCost/view/frontend/layout/sales_order_printcreditmemo.xml deleted file mode 100644 index 1cbd078..0000000 --- a/LandedCost/view/frontend/layout/sales_order_printcreditmemo.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/LandedCost/view/frontend/layout/sales_order_printinvoice.xml b/LandedCost/view/frontend/layout/sales_order_printinvoice.xml deleted file mode 100644 index 00715ad..0000000 --- a/LandedCost/view/frontend/layout/sales_order_printinvoice.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/LandedCost/view/frontend/requirejs-config.js b/LandedCost/view/frontend/requirejs-config.js deleted file mode 100644 index e013228..0000000 --- a/LandedCost/view/frontend/requirejs-config.js +++ /dev/null @@ -1,23 +0,0 @@ -/* - * @author Blackbird Agency - * @copyright Open Software License (OSL 3.0) - * @link - */ - -var config = { - // paths: { - // 'transiteomodal': "Transiteo_LandedCost/js/modal" - // }, - // shim: { - // 'transiteomodal': { - // deps: ['jquery'] - // } - // }, - map: { - '*': { - transiteomodal: "Transiteo_LandedCost/js/modal", - transiteoduties: 'Transiteo_LandedCost/js/duties', - transiteoProductDutiesTaxes: 'Transiteo_LandedCost/js/product/view/product-duties-taxes' - } - } -} diff --git a/LandedCost/view/frontend/templates/modal/logo.phtml b/LandedCost/view/frontend/templates/modal/logo.phtml deleted file mode 100644 index 66509ad..0000000 --- a/LandedCost/view/frontend/templates/modal/logo.phtml +++ /dev/null @@ -1,18 +0,0 @@ - - */ - -/** - * @var \Magento\Theme\Block\Html\Header\Logo $block - */ -?> -<?= $block->escapeHtmlAttr($block->getLogoAlt()) ?>getLogoWidth() ? 'width="' . $block->escapeHtmlAttr($block->getLogoWidth()) . '"' : '' ?> - getLogoHeight() ? 'height="' . $block->escapeHtmlAttr($block->getLogoHeight()) . '"' : '' ?> -/> - diff --git a/LandedCost/view/frontend/web/js/transiteo_duties.js b/LandedCost/view/frontend/web/js/transiteo_duties.js deleted file mode 100644 index f471af9..0000000 --- a/LandedCost/view/frontend/web/js/transiteo_duties.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * @author Blackbird Agency - * @copyright Open Software License (OSL 3.0) - * @link - */ - -define([ - 'jquery', - 'uiComponent', - 'Magento_Customer/js/customer-data' -], function (Component, customerData) { - 'use strict'; - return Component.extend({ - initialize: function () { - this.vat = '10.00'; - this.duty = '5.00'; - this.special = '6.00'; - this._super(); - }, - }); - } -); diff --git a/LandedCost/view/frontend/web/template/summary/surcharge_cart.html b/LandedCost/view/frontend/web/template/summary/surcharge_cart.html deleted file mode 100644 index b76832a..0000000 --- a/LandedCost/view/frontend/web/template/summary/surcharge_cart.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - -
- - - - - - diff --git a/Logger/Handler.php b/Logger/Handler.php new file mode 100644 index 0000000..f14254d --- /dev/null +++ b/Logger/Handler.php @@ -0,0 +1,32 @@ + + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Logger; diff --git a/Logger/QueueHandler.php b/Logger/QueueHandler.php new file mode 100644 index 0000000..acfe56c --- /dev/null +++ b/Logger/QueueHandler.php @@ -0,0 +1,32 @@ + + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Logger; diff --git a/LandedCost/Model/Cache/Handler/Taxes.php b/Model/Cache/Handler/Taxes.php similarity index 87% rename from LandedCost/Model/Cache/Handler/Taxes.php rename to Model/Cache/Handler/Taxes.php index b9decd1..ef8636b 100644 --- a/LandedCost/Model/Cache/Handler/Taxes.php +++ b/Model/Cache/Handler/Taxes.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ declare(strict_types=1); diff --git a/LandedCost/Model/Cache/Type/Taxes.php b/Model/Cache/Type/Taxes.php similarity index 62% rename from LandedCost/Model/Cache/Type/Taxes.php rename to Model/Cache/Type/Taxes.php index acc48fa..56fd4da 100644 --- a/LandedCost/Model/Cache/Type/Taxes.php +++ b/Model/Cache/Type/Taxes.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ declare(strict_types=1); diff --git a/LandedCost/Model/Config.php b/Model/Config.php similarity index 96% rename from LandedCost/Model/Config.php rename to Model/Config.php index 3807783..8f3586e 100644 --- a/LandedCost/Model/Config.php +++ b/Model/Config.php @@ -1,9 +1,18 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ diff --git a/LandedCost/Model/Config/Backend/Currency/Cron.php b/Model/Config/Backend/Currency/Cron.php similarity index 86% rename from LandedCost/Model/Config/Backend/Currency/Cron.php rename to Model/Config/Backend/Currency/Cron.php index b45ca81..03dcd18 100644 --- a/LandedCost/Model/Config/Backend/Currency/Cron.php +++ b/Model/Config/Backend/Currency/Cron.php @@ -1,6 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ declare(strict_types=1); diff --git a/Model/Config/Source/Incoterm.php b/Model/Config/Source/Incoterm.php new file mode 100644 index 0000000..2737cc4 --- /dev/null +++ b/Model/Config/Source/Incoterm.php @@ -0,0 +1,36 @@ + 'ddu', + 'label' => __('DDU') + ], + [ + 'value' => 'ddp', + 'label' => __('DDP') + ] + ]; + } + +} diff --git a/LandedCost/Model/Config/Source/Pages.php b/Model/Config/Source/Pages.php similarity index 62% rename from LandedCost/Model/Config/Source/Pages.php rename to Model/Config/Source/Pages.php index 9e0bbf7..1168c8d 100644 --- a/LandedCost/Model/Config/Source/Pages.php +++ b/Model/Config/Source/Pages.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Model\Config\Source; diff --git a/LandedCost/Model/Config/Source/ProductAttributes.php b/Model/Config/Source/ProductAttributes.php similarity index 73% rename from LandedCost/Model/Config/Source/ProductAttributes.php rename to Model/Config/Source/ProductAttributes.php index 0e5fd73..cae6801 100644 --- a/LandedCost/Model/Config/Source/ProductAttributes.php +++ b/Model/Config/Source/ProductAttributes.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ declare(strict_types=1); diff --git a/Model/Config/Source/TaxesCalculationMethod.php b/Model/Config/Source/TaxesCalculationMethod.php new file mode 100644 index 0000000..1c4af3d --- /dev/null +++ b/Model/Config/Source/TaxesCalculationMethod.php @@ -0,0 +1,36 @@ + 'CIF', + 'label' => __('CIF') + ], + [ + 'value' => 'FOB', + 'label' => __('FOB') + ] + ]; + } + +} diff --git a/LandedCost/Model/Config/Source/TransiteoOrderStatus.php b/Model/Config/Source/TransiteoOrderStatus.php similarity index 51% rename from LandedCost/Model/Config/Source/TransiteoOrderStatus.php rename to Model/Config/Source/TransiteoOrderStatus.php index 81ecc4e..c69afc0 100644 --- a/LandedCost/Model/Config/Source/TransiteoOrderStatus.php +++ b/Model/Config/Source/TransiteoOrderStatus.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ declare(strict_types=1); diff --git a/LandedCost/Model/Currency/Import/Transiteo.php b/Model/Currency/Import/Transiteo.php similarity index 84% rename from LandedCost/Model/Currency/Import/Transiteo.php rename to Model/Currency/Import/Transiteo.php index f4ee532..531e5ba 100644 --- a/LandedCost/Model/Currency/Import/Transiteo.php +++ b/Model/Currency/Import/Transiteo.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Model\Currency\Import; diff --git a/LandedCost/Model/District.php b/Model/District.php similarity index 78% rename from LandedCost/Model/District.php rename to Model/District.php index d4ab611..6224b67 100644 --- a/LandedCost/Model/District.php +++ b/Model/District.php @@ -1,6 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Model; diff --git a/LandedCost/Model/Order/Creditmemo/Surcharge.php b/Model/Order/Creditmemo/Surcharge.php similarity index 97% rename from LandedCost/Model/Order/Creditmemo/Surcharge.php rename to Model/Order/Creditmemo/Surcharge.php index 6f312ef..fa927d8 100644 --- a/LandedCost/Model/Order/Creditmemo/Surcharge.php +++ b/Model/Order/Creditmemo/Surcharge.php @@ -1,9 +1,18 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Model\Order\Creditmemo; diff --git a/LandedCost/Model/Order/Invoice/Surcharge.php b/Model/Order/Invoice/Surcharge.php similarity index 97% rename from LandedCost/Model/Order/Invoice/Surcharge.php rename to Model/Order/Invoice/Surcharge.php index 871eec0..4467c79 100644 --- a/LandedCost/Model/Order/Invoice/Surcharge.php +++ b/Model/Order/Invoice/Surcharge.php @@ -1,9 +1,18 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Model\Order\Invoice; diff --git a/LandedCost/Model/Quote/QuoteTaxesProvider.php b/Model/Quote/QuoteTaxesProvider.php similarity index 78% rename from LandedCost/Model/Quote/QuoteTaxesProvider.php rename to Model/Quote/QuoteTaxesProvider.php index 3f00f32..78486bb 100644 --- a/LandedCost/Model/Quote/QuoteTaxesProvider.php +++ b/Model/Quote/QuoteTaxesProvider.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Model\Quote; diff --git a/LandedCost/Model/Quote/Surcharge.php b/Model/Quote/Surcharge.php similarity index 96% rename from LandedCost/Model/Quote/Surcharge.php rename to Model/Quote/Surcharge.php index 7f13c03..e1870c9 100644 --- a/LandedCost/Model/Quote/Surcharge.php +++ b/Model/Quote/Surcharge.php @@ -1,9 +1,18 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Model\Quote; diff --git a/Model/ResourceModel/District.php b/Model/ResourceModel/District.php new file mode 100644 index 0000000..174727c --- /dev/null +++ b/Model/ResourceModel/District.php @@ -0,0 +1,29 @@ +_init('transiteo_district', DistrictInterface::ID); + } +} diff --git a/LandedCost/Model/ResourceModel/District/Collection.php b/Model/ResourceModel/District/Collection.php similarity index 56% rename from LandedCost/Model/ResourceModel/District/Collection.php rename to Model/ResourceModel/District/Collection.php index e79f413..2fa0ca6 100644 --- a/LandedCost/Model/ResourceModel/District/Collection.php +++ b/Model/ResourceModel/District/Collection.php @@ -1,6 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ declare(strict_types=1); diff --git a/LandedCost/Model/Sync/ProductSyncHandler.php b/Model/Sync/ProductSyncHandler.php similarity index 85% rename from LandedCost/Model/Sync/ProductSyncHandler.php rename to Model/Sync/ProductSyncHandler.php index 7486f16..c64ac6a 100644 --- a/LandedCost/Model/Sync/ProductSyncHandler.php +++ b/Model/Sync/ProductSyncHandler.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ declare(strict_types=1); diff --git a/LandedCost/Model/TransiteoApiProductParameters.php b/Model/TransiteoApiProductParameters.php similarity index 90% rename from LandedCost/Model/TransiteoApiProductParameters.php rename to Model/TransiteoApiProductParameters.php index f98c2ad..6d85bfc 100644 --- a/LandedCost/Model/TransiteoApiProductParameters.php +++ b/Model/TransiteoApiProductParameters.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Model; diff --git a/LandedCost/Model/TransiteoApiService.php b/Model/TransiteoApiService.php similarity index 93% rename from LandedCost/Model/TransiteoApiService.php rename to Model/TransiteoApiService.php index 2f338f4..f349925 100644 --- a/LandedCost/Model/TransiteoApiService.php +++ b/Model/TransiteoApiService.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ declare(strict_types=1); diff --git a/LandedCost/Model/TransiteoApiShipmentParameters.php b/Model/TransiteoApiShipmentParameters.php similarity index 94% rename from LandedCost/Model/TransiteoApiShipmentParameters.php rename to Model/TransiteoApiShipmentParameters.php index 2645ae1..508deb4 100644 --- a/LandedCost/Model/TransiteoApiShipmentParameters.php +++ b/Model/TransiteoApiShipmentParameters.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Model; diff --git a/LandedCost/Model/TransiteoProducts.php b/Model/TransiteoProducts.php similarity index 97% rename from LandedCost/Model/TransiteoProducts.php rename to Model/TransiteoProducts.php index 8a069d3..fec52b1 100644 --- a/LandedCost/Model/TransiteoProducts.php +++ b/Model/TransiteoProducts.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ diff --git a/LandedCost/Observer/RemoveBlock.php b/Observer/RemoveBlock.php similarity index 71% rename from LandedCost/Observer/RemoveBlock.php rename to Observer/RemoveBlock.php index 97d4697..9e2de4c 100644 --- a/LandedCost/Observer/RemoveBlock.php +++ b/Observer/RemoveBlock.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Observer; diff --git a/LandedCost/Observer/SaveTaxesToOrder.php b/Observer/SaveTaxesToOrder.php similarity index 68% rename from LandedCost/Observer/SaveTaxesToOrder.php rename to Observer/SaveTaxesToOrder.php index 04da235..35821cf 100644 --- a/LandedCost/Observer/SaveTaxesToOrder.php +++ b/Observer/SaveTaxesToOrder.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Observer; diff --git a/LandedCost/Observer/Sync/Order/DeleteAfter.php b/Observer/Sync/Order/DeleteAfter.php similarity index 69% rename from LandedCost/Observer/Sync/Order/DeleteAfter.php rename to Observer/Sync/Order/DeleteAfter.php index b9d9025..37c69f6 100644 --- a/LandedCost/Observer/Sync/Order/DeleteAfter.php +++ b/Observer/Sync/Order/DeleteAfter.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ diff --git a/LandedCost/Observer/Sync/Order/SaveAfter.php b/Observer/Sync/Order/SaveAfter.php similarity index 71% rename from LandedCost/Observer/Sync/Order/SaveAfter.php rename to Observer/Sync/Order/SaveAfter.php index f787856..faeb0bf 100644 --- a/LandedCost/Observer/Sync/Order/SaveAfter.php +++ b/Observer/Sync/Order/SaveAfter.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ diff --git a/LandedCost/Observer/Sync/Product/DeleteAfter.php b/Observer/Sync/Product/DeleteAfter.php similarity index 72% rename from LandedCost/Observer/Sync/Product/DeleteAfter.php rename to Observer/Sync/Product/DeleteAfter.php index 522aabf..1da79da 100644 --- a/LandedCost/Observer/Sync/Product/DeleteAfter.php +++ b/Observer/Sync/Product/DeleteAfter.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ diff --git a/LandedCost/Observer/Sync/Product/SaveAfter.php b/Observer/Sync/Product/SaveAfter.php similarity index 79% rename from LandedCost/Observer/Sync/Product/SaveAfter.php rename to Observer/Sync/Product/SaveAfter.php index c738ba2..fb28663 100644 --- a/LandedCost/Observer/Sync/Product/SaveAfter.php +++ b/Observer/Sync/Product/SaveAfter.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ diff --git a/Plugin/AddHourlyCurrencyCronUpdate.php b/Plugin/AddHourlyCurrencyCronUpdate.php new file mode 100644 index 0000000..f1a7377 --- /dev/null +++ b/Plugin/AddHourlyCurrencyCronUpdate.php @@ -0,0 +1,38 @@ + __('Hourly'), + 'value' => self::CRON_HOURLY + ]); + + return $result; + } +} diff --git a/LandedCost/Plugin/Cache/ProductIndexer.php b/Plugin/Cache/ProductIndexer.php similarity index 73% rename from LandedCost/Plugin/Cache/ProductIndexer.php rename to Plugin/Cache/ProductIndexer.php index 456744e..d0a434d 100644 --- a/LandedCost/Plugin/Cache/ProductIndexer.php +++ b/Plugin/Cache/ProductIndexer.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ declare(strict_types=1); diff --git a/LandedCost/Plugin/ExtensionAttributes/Cart.php b/Plugin/ExtensionAttributes/Cart.php similarity index 87% rename from LandedCost/Plugin/ExtensionAttributes/Cart.php rename to Plugin/ExtensionAttributes/Cart.php index e65d666..e4dfaec 100644 --- a/LandedCost/Plugin/ExtensionAttributes/Cart.php +++ b/Plugin/ExtensionAttributes/Cart.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Plugin\ExtensionAttributes; diff --git a/LandedCost/Plugin/ExtensionAttributes/CartItem.php b/Plugin/ExtensionAttributes/CartItem.php similarity index 86% rename from LandedCost/Plugin/ExtensionAttributes/CartItem.php rename to Plugin/ExtensionAttributes/CartItem.php index 421f15d..7e91319 100644 --- a/LandedCost/Plugin/ExtensionAttributes/CartItem.php +++ b/Plugin/ExtensionAttributes/CartItem.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Plugin\ExtensionAttributes; diff --git a/LandedCost/Plugin/ExtensionAttributes/CartItemRepository.php b/Plugin/ExtensionAttributes/CartItemRepository.php similarity index 91% rename from LandedCost/Plugin/ExtensionAttributes/CartItemRepository.php rename to Plugin/ExtensionAttributes/CartItemRepository.php index 904c10f..80c260e 100644 --- a/LandedCost/Plugin/ExtensionAttributes/CartItemRepository.php +++ b/Plugin/ExtensionAttributes/CartItemRepository.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ declare(strict_types=1); diff --git a/LandedCost/Plugin/ExtensionAttributes/CartRepository.php b/Plugin/ExtensionAttributes/CartRepository.php similarity index 92% rename from LandedCost/Plugin/ExtensionAttributes/CartRepository.php rename to Plugin/ExtensionAttributes/CartRepository.php index 0e8a6ce..6500668 100644 --- a/LandedCost/Plugin/ExtensionAttributes/CartRepository.php +++ b/Plugin/ExtensionAttributes/CartRepository.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ declare(strict_types=1); diff --git a/LandedCost/Plugin/ExtensionAttributes/Creditmemo.php b/Plugin/ExtensionAttributes/Creditmemo.php similarity index 87% rename from LandedCost/Plugin/ExtensionAttributes/Creditmemo.php rename to Plugin/ExtensionAttributes/Creditmemo.php index bd5e752..2957fee 100644 --- a/LandedCost/Plugin/ExtensionAttributes/Creditmemo.php +++ b/Plugin/ExtensionAttributes/Creditmemo.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Plugin\ExtensionAttributes; diff --git a/LandedCost/Plugin/ExtensionAttributes/CreditmemoItem.php b/Plugin/ExtensionAttributes/CreditmemoItem.php similarity index 86% rename from LandedCost/Plugin/ExtensionAttributes/CreditmemoItem.php rename to Plugin/ExtensionAttributes/CreditmemoItem.php index 16e661b..4cc465d 100644 --- a/LandedCost/Plugin/ExtensionAttributes/CreditmemoItem.php +++ b/Plugin/ExtensionAttributes/CreditmemoItem.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Plugin\ExtensionAttributes; diff --git a/LandedCost/Plugin/ExtensionAttributes/CreditmemoItemRepository.php b/Plugin/ExtensionAttributes/CreditmemoItemRepository.php similarity index 91% rename from LandedCost/Plugin/ExtensionAttributes/CreditmemoItemRepository.php rename to Plugin/ExtensionAttributes/CreditmemoItemRepository.php index 1a00021..2995ebf 100644 --- a/LandedCost/Plugin/ExtensionAttributes/CreditmemoItemRepository.php +++ b/Plugin/ExtensionAttributes/CreditmemoItemRepository.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ declare(strict_types=1); diff --git a/LandedCost/Plugin/ExtensionAttributes/CreditmemoRepository.php b/Plugin/ExtensionAttributes/CreditmemoRepository.php similarity index 92% rename from LandedCost/Plugin/ExtensionAttributes/CreditmemoRepository.php rename to Plugin/ExtensionAttributes/CreditmemoRepository.php index a2310a7..e13e2d6 100644 --- a/LandedCost/Plugin/ExtensionAttributes/CreditmemoRepository.php +++ b/Plugin/ExtensionAttributes/CreditmemoRepository.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ declare(strict_types=1); diff --git a/LandedCost/Plugin/ExtensionAttributes/Invoice.php b/Plugin/ExtensionAttributes/Invoice.php similarity index 87% rename from LandedCost/Plugin/ExtensionAttributes/Invoice.php rename to Plugin/ExtensionAttributes/Invoice.php index 0ac796c..c77e07a 100644 --- a/LandedCost/Plugin/ExtensionAttributes/Invoice.php +++ b/Plugin/ExtensionAttributes/Invoice.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Plugin\ExtensionAttributes; diff --git a/LandedCost/Plugin/ExtensionAttributes/InvoiceItem.php b/Plugin/ExtensionAttributes/InvoiceItem.php similarity index 86% rename from LandedCost/Plugin/ExtensionAttributes/InvoiceItem.php rename to Plugin/ExtensionAttributes/InvoiceItem.php index efd8e36..7c216e0 100644 --- a/LandedCost/Plugin/ExtensionAttributes/InvoiceItem.php +++ b/Plugin/ExtensionAttributes/InvoiceItem.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Plugin\ExtensionAttributes; diff --git a/LandedCost/Plugin/ExtensionAttributes/InvoiceItemRepository.php b/Plugin/ExtensionAttributes/InvoiceItemRepository.php similarity index 91% rename from LandedCost/Plugin/ExtensionAttributes/InvoiceItemRepository.php rename to Plugin/ExtensionAttributes/InvoiceItemRepository.php index 0a16657..192684f 100644 --- a/LandedCost/Plugin/ExtensionAttributes/InvoiceItemRepository.php +++ b/Plugin/ExtensionAttributes/InvoiceItemRepository.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ declare(strict_types=1); diff --git a/LandedCost/Plugin/ExtensionAttributes/InvoiceRepository.php b/Plugin/ExtensionAttributes/InvoiceRepository.php similarity index 91% rename from LandedCost/Plugin/ExtensionAttributes/InvoiceRepository.php rename to Plugin/ExtensionAttributes/InvoiceRepository.php index b75112d..bce0165 100644 --- a/LandedCost/Plugin/ExtensionAttributes/InvoiceRepository.php +++ b/Plugin/ExtensionAttributes/InvoiceRepository.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ declare(strict_types=1); diff --git a/LandedCost/Plugin/ExtensionAttributes/Order.php b/Plugin/ExtensionAttributes/Order.php similarity index 87% rename from LandedCost/Plugin/ExtensionAttributes/Order.php rename to Plugin/ExtensionAttributes/Order.php index 8637af4..48705ff 100644 --- a/LandedCost/Plugin/ExtensionAttributes/Order.php +++ b/Plugin/ExtensionAttributes/Order.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Plugin\ExtensionAttributes; diff --git a/LandedCost/Plugin/ExtensionAttributes/OrderItem.php b/Plugin/ExtensionAttributes/OrderItem.php similarity index 86% rename from LandedCost/Plugin/ExtensionAttributes/OrderItem.php rename to Plugin/ExtensionAttributes/OrderItem.php index 903bacb..bcaa43a 100644 --- a/LandedCost/Plugin/ExtensionAttributes/OrderItem.php +++ b/Plugin/ExtensionAttributes/OrderItem.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Plugin\ExtensionAttributes; diff --git a/LandedCost/Plugin/ExtensionAttributes/OrderItemRepository.php b/Plugin/ExtensionAttributes/OrderItemRepository.php similarity index 91% rename from LandedCost/Plugin/ExtensionAttributes/OrderItemRepository.php rename to Plugin/ExtensionAttributes/OrderItemRepository.php index e503fd4..e5e70ba 100644 --- a/LandedCost/Plugin/ExtensionAttributes/OrderItemRepository.php +++ b/Plugin/ExtensionAttributes/OrderItemRepository.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ declare(strict_types=1); diff --git a/LandedCost/Plugin/ExtensionAttributes/OrderRepository.php b/Plugin/ExtensionAttributes/OrderRepository.php similarity index 92% rename from LandedCost/Plugin/ExtensionAttributes/OrderRepository.php rename to Plugin/ExtensionAttributes/OrderRepository.php index 17bce06..0768d59 100644 --- a/LandedCost/Plugin/ExtensionAttributes/OrderRepository.php +++ b/Plugin/ExtensionAttributes/OrderRepository.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ declare(strict_types=1); diff --git a/LandedCost/Plugin/Order/Converter.php b/Plugin/Order/Converter.php similarity index 81% rename from LandedCost/Plugin/Order/Converter.php rename to Plugin/Order/Converter.php index 26b0fd5..5b7e1ee 100644 --- a/LandedCost/Plugin/Order/Converter.php +++ b/Plugin/Order/Converter.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Plugin\Order; diff --git a/LandedCost/Plugin/Quote/TaxesToOrderItem.php b/Plugin/Quote/TaxesToOrderItem.php similarity index 90% rename from LandedCost/Plugin/Quote/TaxesToOrderItem.php rename to Plugin/Quote/TaxesToOrderItem.php index 246096e..84f0006 100644 --- a/LandedCost/Plugin/Quote/TaxesToOrderItem.php +++ b/Plugin/Quote/TaxesToOrderItem.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Plugin\Quote; diff --git a/LandedCost/Plugin/Quote/Totals.php b/Plugin/Quote/Totals.php similarity index 72% rename from LandedCost/Plugin/Quote/Totals.php rename to Plugin/Quote/Totals.php index f5860a4..ec5564b 100644 --- a/LandedCost/Plugin/Quote/Totals.php +++ b/Plugin/Quote/Totals.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Plugin\Quote; diff --git a/LandedCost/Plugin/Sync/Product/ProductIndexer.php b/Plugin/Sync/Product/ProductIndexer.php similarity index 83% rename from LandedCost/Plugin/Sync/Product/ProductIndexer.php rename to Plugin/Sync/Product/ProductIndexer.php index 6970bf9..a881d2e 100644 --- a/LandedCost/Plugin/Sync/Product/ProductIndexer.php +++ b/Plugin/Sync/Product/ProductIndexer.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ declare(strict_types=1); diff --git a/LandedCost/Pricing/Adjustment.php b/Pricing/Adjustment.php similarity index 68% rename from LandedCost/Pricing/Adjustment.php rename to Pricing/Adjustment.php index 32662b0..4cd58f5 100644 --- a/LandedCost/Pricing/Adjustment.php +++ b/Pricing/Adjustment.php @@ -1,6 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ declare(strict_types=1); diff --git a/LandedCost/Service/GeoIpUpdater.php b/Service/GeoIpUpdater.php similarity index 92% rename from LandedCost/Service/GeoIpUpdater.php rename to Service/GeoIpUpdater.php index 29133da..de28b43 100644 --- a/LandedCost/Service/GeoIpUpdater.php +++ b/Service/GeoIpUpdater.php @@ -1,6 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Service; diff --git a/LandedCost/Service/ProductSync.php b/Service/ProductSync.php similarity index 97% rename from LandedCost/Service/ProductSync.php rename to Service/ProductSync.php index edd6260..ff27237 100644 --- a/LandedCost/Service/ProductSync.php +++ b/Service/ProductSync.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Service; diff --git a/LandedCost/Service/TaxesService.php b/Service/TaxesService.php similarity index 97% rename from LandedCost/Service/TaxesService.php rename to Service/TaxesService.php index 33ad5a4..796f8be 100644 --- a/LandedCost/Service/TaxesService.php +++ b/Service/TaxesService.php @@ -1,6 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Setup; diff --git a/LandedCost/Ui/Component/Listing/Column/Incoterm.php b/Ui/Component/Listing/Column/Incoterm.php similarity index 58% rename from LandedCost/Ui/Component/Listing/Column/Incoterm.php rename to Ui/Component/Listing/Column/Incoterm.php index 4ec42ef..8996f40 100644 --- a/LandedCost/Ui/Component/Listing/Column/Incoterm.php +++ b/Ui/Component/Listing/Column/Incoterm.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ namespace Transiteo\LandedCost\Ui\Component\Listing\Column; diff --git a/Ui/Component/Select/Source/Incoterm.php b/Ui/Component/Select/Source/Incoterm.php new file mode 100644 index 0000000..8930ef1 --- /dev/null +++ b/Ui/Component/Select/Source/Incoterm.php @@ -0,0 +1,36 @@ + 'ddu', + 'label' => __('No') + ], + [ + 'value' => 'ddp', + 'label' => __('Yes') + ] + ]; + } + +} diff --git a/LandedCost/ViewModel/ConfigDataProvider.php b/ViewModel/ConfigDataProvider.php similarity index 84% rename from LandedCost/ViewModel/ConfigDataProvider.php rename to ViewModel/ConfigDataProvider.php index 74c6073..5d5dc9d 100644 --- a/LandedCost/ViewModel/ConfigDataProvider.php +++ b/ViewModel/ConfigDataProvider.php @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ declare(strict_types=1); diff --git a/LandedCost/composer.json b/composer.json similarity index 100% rename from LandedCost/composer.json rename to composer.json diff --git a/LandedCost/etc/acl.xml b/etc/acl.xml similarity index 74% rename from LandedCost/etc/acl.xml rename to etc/acl.xml index 13a3d2a..aa9f409 100644 --- a/LandedCost/etc/acl.xml +++ b/etc/acl.xml @@ -1,8 +1,17 @@ diff --git a/LandedCost/etc/adminhtml/di.xml b/etc/adminhtml/di.xml similarity index 72% rename from LandedCost/etc/adminhtml/di.xml rename to etc/adminhtml/di.xml index f7f1ca8..731bb52 100644 --- a/LandedCost/etc/adminhtml/di.xml +++ b/etc/adminhtml/di.xml @@ -1,6 +1,17 @@ diff --git a/LandedCost/etc/adminhtml/menu.xml b/etc/adminhtml/menu.xml similarity index 65% rename from LandedCost/etc/adminhtml/menu.xml rename to etc/adminhtml/menu.xml index b628caa..9b6b686 100644 --- a/LandedCost/etc/adminhtml/menu.xml +++ b/etc/adminhtml/menu.xml @@ -1,8 +1,17 @@ diff --git a/etc/adminhtml/routes.xml b/etc/adminhtml/routes.xml new file mode 100644 index 0000000..da8b31d --- /dev/null +++ b/etc/adminhtml/routes.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + diff --git a/LandedCost/etc/adminhtml/system.xml b/etc/adminhtml/system.xml similarity index 96% rename from LandedCost/etc/adminhtml/system.xml rename to etc/adminhtml/system.xml index 0b20ad3..182993e 100644 --- a/LandedCost/etc/adminhtml/system.xml +++ b/etc/adminhtml/system.xml @@ -1,8 +1,17 @@ diff --git a/etc/cache.xml b/etc/cache.xml new file mode 100644 index 0000000..b984591 --- /dev/null +++ b/etc/cache.xml @@ -0,0 +1,22 @@ + + + + + + + Transiteo Taxes cache + + diff --git a/LandedCost/etc/communication.xml b/etc/communication.xml similarity index 55% rename from LandedCost/etc/communication.xml rename to etc/communication.xml index a1c5eec..bc0dbca 100644 --- a/LandedCost/etc/communication.xml +++ b/etc/communication.xml @@ -1,8 +1,17 @@ diff --git a/LandedCost/etc/config.xml b/etc/config.xml similarity index 91% rename from LandedCost/etc/config.xml rename to etc/config.xml index cc2ae14..37f9cd9 100644 --- a/LandedCost/etc/config.xml +++ b/etc/config.xml @@ -1,8 +1,17 @@ diff --git a/etc/crontab.xml b/etc/crontab.xml new file mode 100644 index 0000000..eea99bf --- /dev/null +++ b/etc/crontab.xml @@ -0,0 +1,24 @@ + + + + + + + transiteo_activation/geoip/cron + + + + diff --git a/LandedCost/etc/db_schema.xml b/etc/db_schema.xml similarity index 97% rename from LandedCost/etc/db_schema.xml rename to etc/db_schema.xml index c27bf36..898942e 100644 --- a/LandedCost/etc/db_schema.xml +++ b/etc/db_schema.xml @@ -1,6 +1,17 @@ diff --git a/LandedCost/etc/di.xml b/etc/di.xml similarity index 95% rename from LandedCost/etc/di.xml rename to etc/di.xml index 9992c5b..6797354 100644 --- a/LandedCost/etc/di.xml +++ b/etc/di.xml @@ -1,6 +1,17 @@ diff --git a/LandedCost/etc/events.xml b/etc/events.xml similarity index 71% rename from LandedCost/etc/events.xml rename to etc/events.xml index 7c375c0..00e3e41 100644 --- a/LandedCost/etc/events.xml +++ b/etc/events.xml @@ -1,8 +1,17 @@ diff --git a/LandedCost/etc/extension_attributes.xml b/etc/extension_attributes.xml similarity index 92% rename from LandedCost/etc/extension_attributes.xml rename to etc/extension_attributes.xml index 86da301..d5b41bb 100644 --- a/LandedCost/etc/extension_attributes.xml +++ b/etc/extension_attributes.xml @@ -1,7 +1,16 @@ diff --git a/LandedCost/etc/fieldset.xml b/etc/fieldset.xml similarity index 90% rename from LandedCost/etc/fieldset.xml rename to etc/fieldset.xml index d62e563..3d9d4f5 100644 --- a/LandedCost/etc/fieldset.xml +++ b/etc/fieldset.xml @@ -1,10 +1,18 @@ + ~ Transiteo LandedCost + ~ + ~ NOTICE OF LICENSE + ~ if you did not receive a copy of the license and are unable to + ~ obtain it through the world-wide-web, please send an email + ~ to contact@bird.eu so we can send you a copy immediately. + ~ @category Transiteo + ~ @package Transiteo_LandedCost + ~ @copyright Open Software License (OSL 3.0) + ~ @author Blackbird Team + ~ @license MIT + ~ @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ + --> diff --git a/LandedCost/etc/frontend/di.xml b/etc/frontend/di.xml similarity index 62% rename from LandedCost/etc/frontend/di.xml rename to etc/frontend/di.xml index 7791c81..9c7eadc 100644 --- a/LandedCost/etc/frontend/di.xml +++ b/etc/frontend/di.xml @@ -1,8 +1,17 @@ diff --git a/etc/frontend/routes.xml b/etc/frontend/routes.xml new file mode 100644 index 0000000..479cdbb --- /dev/null +++ b/etc/frontend/routes.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + diff --git a/etc/frontend/sections.xml b/etc/frontend/sections.xml new file mode 100644 index 0000000..f732dce --- /dev/null +++ b/etc/frontend/sections.xml @@ -0,0 +1,22 @@ + + + + + +
+ + diff --git a/etc/module.xml b/etc/module.xml new file mode 100644 index 0000000..6e6d79b --- /dev/null +++ b/etc/module.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + diff --git a/LandedCost/etc/pdf.xml b/etc/pdf.xml similarity index 77% rename from LandedCost/etc/pdf.xml rename to etc/pdf.xml index b25d759..3e140f0 100644 --- a/LandedCost/etc/pdf.xml +++ b/etc/pdf.xml @@ -1,10 +1,18 @@ + ~ Transiteo LandedCost + ~ + ~ NOTICE OF LICENSE + ~ if you did not receive a copy of the license and are unable to + ~ obtain it through the world-wide-web, please send an email + ~ to contact@bird.eu so we can send you a copy immediately. + ~ @category Transiteo + ~ @package Transiteo_LandedCost + ~ @copyright Open Software License (OSL 3.0) + ~ @author Blackbird Team + ~ @license MIT + ~ @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ + --> diff --git a/LandedCost/etc/queue_consumer.xml b/etc/queue_consumer.xml similarity index 54% rename from LandedCost/etc/queue_consumer.xml rename to etc/queue_consumer.xml index 8269afe..a0a62b2 100644 --- a/LandedCost/etc/queue_consumer.xml +++ b/etc/queue_consumer.xml @@ -1,8 +1,17 @@ diff --git a/etc/queue_publisher.xml b/etc/queue_publisher.xml new file mode 100644 index 0000000..85eab70 --- /dev/null +++ b/etc/queue_publisher.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + diff --git a/LandedCost/etc/queue_topology.xml b/etc/queue_topology.xml similarity index 59% rename from LandedCost/etc/queue_topology.xml rename to etc/queue_topology.xml index 7e4a50f..7399f45 100644 --- a/LandedCost/etc/queue_topology.xml +++ b/etc/queue_topology.xml @@ -1,8 +1,17 @@ diff --git a/LandedCost/etc/sales.xml b/etc/sales.xml similarity index 62% rename from LandedCost/etc/sales.xml rename to etc/sales.xml index b75befb..08990f1 100644 --- a/LandedCost/etc/sales.xml +++ b/etc/sales.xml @@ -1,8 +1,17 @@ diff --git a/LandedCost/fixtures/districts.csv b/fixtures/districts.csv similarity index 100% rename from LandedCost/fixtures/districts.csv rename to fixtures/districts.csv diff --git a/LandedCost/lib/internal/MaxMind-DB-Reader-php-master/CHANGELOG.md b/lib/internal/MaxMind-DB-Reader-php-master/CHANGELOG.md similarity index 100% rename from LandedCost/lib/internal/MaxMind-DB-Reader-php-master/CHANGELOG.md rename to lib/internal/MaxMind-DB-Reader-php-master/CHANGELOG.md diff --git a/LandedCost/lib/internal/MaxMind-DB-Reader-php-master/LICENSE b/lib/internal/MaxMind-DB-Reader-php-master/LICENSE similarity index 100% rename from LandedCost/lib/internal/MaxMind-DB-Reader-php-master/LICENSE rename to lib/internal/MaxMind-DB-Reader-php-master/LICENSE diff --git a/LandedCost/lib/internal/MaxMind-DB-Reader-php-master/README.md b/lib/internal/MaxMind-DB-Reader-php-master/README.md similarity index 100% rename from LandedCost/lib/internal/MaxMind-DB-Reader-php-master/README.md rename to lib/internal/MaxMind-DB-Reader-php-master/README.md diff --git a/LandedCost/lib/internal/MaxMind-DB-Reader-php-master/autoload.php b/lib/internal/MaxMind-DB-Reader-php-master/autoload.php similarity index 100% rename from LandedCost/lib/internal/MaxMind-DB-Reader-php-master/autoload.php rename to lib/internal/MaxMind-DB-Reader-php-master/autoload.php diff --git a/LandedCost/lib/internal/MaxMind-DB-Reader-php-master/composer.json b/lib/internal/MaxMind-DB-Reader-php-master/composer.json similarity index 100% rename from LandedCost/lib/internal/MaxMind-DB-Reader-php-master/composer.json rename to lib/internal/MaxMind-DB-Reader-php-master/composer.json diff --git a/LandedCost/lib/internal/MaxMind-DB-Reader-php-master/ext/config.m4 b/lib/internal/MaxMind-DB-Reader-php-master/ext/config.m4 similarity index 100% rename from LandedCost/lib/internal/MaxMind-DB-Reader-php-master/ext/config.m4 rename to lib/internal/MaxMind-DB-Reader-php-master/ext/config.m4 diff --git a/LandedCost/lib/internal/MaxMind-DB-Reader-php-master/ext/maxminddb.c b/lib/internal/MaxMind-DB-Reader-php-master/ext/maxminddb.c similarity index 100% rename from LandedCost/lib/internal/MaxMind-DB-Reader-php-master/ext/maxminddb.c rename to lib/internal/MaxMind-DB-Reader-php-master/ext/maxminddb.c diff --git a/LandedCost/lib/internal/MaxMind-DB-Reader-php-master/ext/php_maxminddb.h b/lib/internal/MaxMind-DB-Reader-php-master/ext/php_maxminddb.h similarity index 100% rename from LandedCost/lib/internal/MaxMind-DB-Reader-php-master/ext/php_maxminddb.h rename to lib/internal/MaxMind-DB-Reader-php-master/ext/php_maxminddb.h diff --git a/LandedCost/lib/internal/MaxMind-DB-Reader-php-master/ext/tests/001-load.phpt b/lib/internal/MaxMind-DB-Reader-php-master/ext/tests/001-load.phpt similarity index 100% rename from LandedCost/lib/internal/MaxMind-DB-Reader-php-master/ext/tests/001-load.phpt rename to lib/internal/MaxMind-DB-Reader-php-master/ext/tests/001-load.phpt diff --git a/LandedCost/lib/internal/MaxMind-DB-Reader-php-master/ext/tests/002-final.phpt b/lib/internal/MaxMind-DB-Reader-php-master/ext/tests/002-final.phpt similarity index 100% rename from LandedCost/lib/internal/MaxMind-DB-Reader-php-master/ext/tests/002-final.phpt rename to lib/internal/MaxMind-DB-Reader-php-master/ext/tests/002-final.phpt diff --git a/LandedCost/lib/internal/MaxMind-DB-Reader-php-master/ext/tests/003-open-basedir.phpt b/lib/internal/MaxMind-DB-Reader-php-master/ext/tests/003-open-basedir.phpt similarity index 100% rename from LandedCost/lib/internal/MaxMind-DB-Reader-php-master/ext/tests/003-open-basedir.phpt rename to lib/internal/MaxMind-DB-Reader-php-master/ext/tests/003-open-basedir.phpt diff --git a/LandedCost/lib/internal/MaxMind-DB-Reader-php-master/package.xml b/lib/internal/MaxMind-DB-Reader-php-master/package.xml similarity index 100% rename from LandedCost/lib/internal/MaxMind-DB-Reader-php-master/package.xml rename to lib/internal/MaxMind-DB-Reader-php-master/package.xml diff --git a/LandedCost/lib/internal/MaxMind-DB-Reader-php-master/src/MaxMind/Db/Reader.php b/lib/internal/MaxMind-DB-Reader-php-master/src/MaxMind/Db/Reader.php similarity index 100% rename from LandedCost/lib/internal/MaxMind-DB-Reader-php-master/src/MaxMind/Db/Reader.php rename to lib/internal/MaxMind-DB-Reader-php-master/src/MaxMind/Db/Reader.php diff --git a/LandedCost/lib/internal/MaxMind-DB-Reader-php-master/src/MaxMind/Db/Reader/Decoder.php b/lib/internal/MaxMind-DB-Reader-php-master/src/MaxMind/Db/Reader/Decoder.php similarity index 100% rename from LandedCost/lib/internal/MaxMind-DB-Reader-php-master/src/MaxMind/Db/Reader/Decoder.php rename to lib/internal/MaxMind-DB-Reader-php-master/src/MaxMind/Db/Reader/Decoder.php diff --git a/LandedCost/lib/internal/MaxMind-DB-Reader-php-master/src/MaxMind/Db/Reader/InvalidDatabaseException.php b/lib/internal/MaxMind-DB-Reader-php-master/src/MaxMind/Db/Reader/InvalidDatabaseException.php similarity index 100% rename from LandedCost/lib/internal/MaxMind-DB-Reader-php-master/src/MaxMind/Db/Reader/InvalidDatabaseException.php rename to lib/internal/MaxMind-DB-Reader-php-master/src/MaxMind/Db/Reader/InvalidDatabaseException.php diff --git a/LandedCost/lib/internal/MaxMind-DB-Reader-php-master/src/MaxMind/Db/Reader/Metadata.php b/lib/internal/MaxMind-DB-Reader-php-master/src/MaxMind/Db/Reader/Metadata.php similarity index 100% rename from LandedCost/lib/internal/MaxMind-DB-Reader-php-master/src/MaxMind/Db/Reader/Metadata.php rename to lib/internal/MaxMind-DB-Reader-php-master/src/MaxMind/Db/Reader/Metadata.php diff --git a/LandedCost/lib/internal/MaxMind-DB-Reader-php-master/src/MaxMind/Db/Reader/Util.php b/lib/internal/MaxMind-DB-Reader-php-master/src/MaxMind/Db/Reader/Util.php similarity index 100% rename from LandedCost/lib/internal/MaxMind-DB-Reader-php-master/src/MaxMind/Db/Reader/Util.php rename to lib/internal/MaxMind-DB-Reader-php-master/src/MaxMind/Db/Reader/Util.php diff --git a/registration.php b/registration.php new file mode 100644 index 0000000..9e8c171 --- /dev/null +++ b/registration.php @@ -0,0 +1,25 @@ + + + + + + + + + diff --git a/view/adminhtml/layout/sales_order_creditmemo.xml b/view/adminhtml/layout/sales_order_creditmemo.xml new file mode 100644 index 0000000..04e344b --- /dev/null +++ b/view/adminhtml/layout/sales_order_creditmemo.xml @@ -0,0 +1,22 @@ + + + + + + + + + diff --git a/view/adminhtml/layout/sales_order_creditmemo_new.xml b/view/adminhtml/layout/sales_order_creditmemo_new.xml new file mode 100644 index 0000000..38c975b --- /dev/null +++ b/view/adminhtml/layout/sales_order_creditmemo_new.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/view/adminhtml/layout/sales_order_creditmemo_updateqty.xml b/view/adminhtml/layout/sales_order_creditmemo_updateqty.xml new file mode 100644 index 0000000..38c975b --- /dev/null +++ b/view/adminhtml/layout/sales_order_creditmemo_updateqty.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/view/adminhtml/layout/sales_order_creditmemo_view.xml b/view/adminhtml/layout/sales_order_creditmemo_view.xml new file mode 100644 index 0000000..38c975b --- /dev/null +++ b/view/adminhtml/layout/sales_order_creditmemo_view.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/view/adminhtml/layout/sales_order_invoice.xml b/view/adminhtml/layout/sales_order_invoice.xml new file mode 100644 index 0000000..e712e6e --- /dev/null +++ b/view/adminhtml/layout/sales_order_invoice.xml @@ -0,0 +1,22 @@ + + + + + + + + + diff --git a/view/adminhtml/layout/sales_order_invoice_new.xml b/view/adminhtml/layout/sales_order_invoice_new.xml new file mode 100644 index 0000000..e2aa914 --- /dev/null +++ b/view/adminhtml/layout/sales_order_invoice_new.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/view/adminhtml/layout/sales_order_invoice_updateqty.xml b/view/adminhtml/layout/sales_order_invoice_updateqty.xml new file mode 100644 index 0000000..e2aa914 --- /dev/null +++ b/view/adminhtml/layout/sales_order_invoice_updateqty.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/view/adminhtml/layout/sales_order_invoice_view.xml b/view/adminhtml/layout/sales_order_invoice_view.xml new file mode 100644 index 0000000..e2aa914 --- /dev/null +++ b/view/adminhtml/layout/sales_order_invoice_view.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/view/adminhtml/layout/sales_order_item_price.xml b/view/adminhtml/layout/sales_order_item_price.xml new file mode 100644 index 0000000..10f546f --- /dev/null +++ b/view/adminhtml/layout/sales_order_item_price.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/LandedCost/view/adminhtml/layout/sales_order_view.xml b/view/adminhtml/layout/sales_order_view.xml similarity index 100% rename from LandedCost/view/adminhtml/layout/sales_order_view.xml rename to view/adminhtml/layout/sales_order_view.xml diff --git a/view/adminhtml/layout/transiteo_taxes_activation_index.xml b/view/adminhtml/layout/transiteo_taxes_activation_index.xml new file mode 100644 index 0000000..5a689ad --- /dev/null +++ b/view/adminhtml/layout/transiteo_taxes_activation_index.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + diff --git a/view/adminhtml/layout/transiteo_taxes_settings_index..xml b/view/adminhtml/layout/transiteo_taxes_settings_index..xml new file mode 100644 index 0000000..5a689ad --- /dev/null +++ b/view/adminhtml/layout/transiteo_taxes_settings_index..xml @@ -0,0 +1,24 @@ + + + + + + + + + + + diff --git a/LandedCost/view/adminhtml/templates/activation.phtml b/view/adminhtml/templates/activation.phtml similarity index 100% rename from LandedCost/view/adminhtml/templates/activation.phtml rename to view/adminhtml/templates/activation.phtml diff --git a/LandedCost/view/adminhtml/ui_component/sales_order_creditmemo_grid.xml b/view/adminhtml/ui_component/sales_order_creditmemo_grid.xml similarity index 80% rename from LandedCost/view/adminhtml/ui_component/sales_order_creditmemo_grid.xml rename to view/adminhtml/ui_component/sales_order_creditmemo_grid.xml index bd20cf0..9a66d4f 100644 --- a/LandedCost/view/adminhtml/ui_component/sales_order_creditmemo_grid.xml +++ b/view/adminhtml/ui_component/sales_order_creditmemo_grid.xml @@ -1,8 +1,17 @@ diff --git a/LandedCost/view/adminhtml/ui_component/sales_order_grid.xml b/view/adminhtml/ui_component/sales_order_grid.xml similarity index 80% rename from LandedCost/view/adminhtml/ui_component/sales_order_grid.xml rename to view/adminhtml/ui_component/sales_order_grid.xml index 2c186e3..298167f 100644 --- a/LandedCost/view/adminhtml/ui_component/sales_order_grid.xml +++ b/view/adminhtml/ui_component/sales_order_grid.xml @@ -1,8 +1,17 @@ diff --git a/LandedCost/view/adminhtml/ui_component/sales_order_invoice_grid.xml b/view/adminhtml/ui_component/sales_order_invoice_grid.xml similarity index 80% rename from LandedCost/view/adminhtml/ui_component/sales_order_invoice_grid.xml rename to view/adminhtml/ui_component/sales_order_invoice_grid.xml index e09b3aa..fbe3ec2 100644 --- a/LandedCost/view/adminhtml/ui_component/sales_order_invoice_grid.xml +++ b/view/adminhtml/ui_component/sales_order_invoice_grid.xml @@ -1,8 +1,17 @@ diff --git a/LandedCost/view/base/layout/catalog_product_prices.xml b/view/base/layout/catalog_product_prices.xml similarity index 83% rename from LandedCost/view/base/layout/catalog_product_prices.xml rename to view/base/layout/catalog_product_prices.xml index 2d3573a..ca51d72 100644 --- a/LandedCost/view/base/layout/catalog_product_prices.xml +++ b/view/base/layout/catalog_product_prices.xml @@ -1,10 +1,17 @@ - - - diff --git a/LandedCost/view/base/templates/pricing/adjustment.phtml b/view/base/templates/pricing/adjustment.phtml similarity index 100% rename from LandedCost/view/base/templates/pricing/adjustment.phtml rename to view/base/templates/pricing/adjustment.phtml diff --git a/view/base/templates/pricing/adjustment/bundle.phtml b/view/base/templates/pricing/adjustment/bundle.phtml new file mode 100644 index 0000000..5a4b6e2 --- /dev/null +++ b/view/base/templates/pricing/adjustment/bundle.phtml @@ -0,0 +1,15 @@ + - */ - -/** - * Copyright © Magento, Inc. All rights reserved. - * See COPYING.txt for license details. + * */ // @codingStandardsIgnoreFile diff --git a/view/base/templates/product/price/duties.phtml b/view/base/templates/product/price/duties.phtml new file mode 100644 index 0000000..3f92047 --- /dev/null +++ b/view/base/templates/product/price/duties.phtml @@ -0,0 +1,17 @@ + +I am the template to render the transiteo prices. diff --git a/LandedCost/view/frontend/layout/catalog_product_view.xml b/view/frontend/layout/catalog_product_view.xml similarity index 83% rename from LandedCost/view/frontend/layout/catalog_product_view.xml rename to view/frontend/layout/catalog_product_view.xml index 0711595..e42e3d3 100644 --- a/LandedCost/view/frontend/layout/catalog_product_view.xml +++ b/view/frontend/layout/catalog_product_view.xml @@ -1,8 +1,17 @@ diff --git a/LandedCost/view/frontend/layout/checkout_cart_index.xml b/view/frontend/layout/checkout_cart_index.xml similarity index 72% rename from LandedCost/view/frontend/layout/checkout_cart_index.xml rename to view/frontend/layout/checkout_cart_index.xml index d312019..b31591b 100644 --- a/LandedCost/view/frontend/layout/checkout_cart_index.xml +++ b/view/frontend/layout/checkout_cart_index.xml @@ -1,8 +1,17 @@ diff --git a/LandedCost/view/frontend/layout/checkout_index_index.xml b/view/frontend/layout/checkout_index_index.xml similarity index 81% rename from LandedCost/view/frontend/layout/checkout_index_index.xml rename to view/frontend/layout/checkout_index_index.xml index c733fd1..c1a742a 100644 --- a/LandedCost/view/frontend/layout/checkout_index_index.xml +++ b/view/frontend/layout/checkout_index_index.xml @@ -1,8 +1,17 @@ diff --git a/view/frontend/layout/checkout_item_price_renderers.xml b/view/frontend/layout/checkout_item_price_renderers.xml new file mode 100644 index 0000000..be9660d --- /dev/null +++ b/view/frontend/layout/checkout_item_price_renderers.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + diff --git a/LandedCost/view/frontend/layout/default.xml b/view/frontend/layout/default.xml similarity index 71% rename from LandedCost/view/frontend/layout/default.xml rename to view/frontend/layout/default.xml index 59f4feb..a65c979 100644 --- a/LandedCost/view/frontend/layout/default.xml +++ b/view/frontend/layout/default.xml @@ -1,8 +1,17 @@ + + + + + + + + + + + + + diff --git a/view/frontend/layout/sales_email_order_invoice_items.xml b/view/frontend/layout/sales_email_order_invoice_items.xml new file mode 100644 index 0000000..e2aa914 --- /dev/null +++ b/view/frontend/layout/sales_email_order_invoice_items.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/view/frontend/layout/sales_email_order_items.xml b/view/frontend/layout/sales_email_order_items.xml new file mode 100644 index 0000000..1ce80ce --- /dev/null +++ b/view/frontend/layout/sales_email_order_items.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/view/frontend/layout/sales_guest_creditmemo.xml b/view/frontend/layout/sales_guest_creditmemo.xml new file mode 100644 index 0000000..38c975b --- /dev/null +++ b/view/frontend/layout/sales_guest_creditmemo.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/view/frontend/layout/sales_guest_invoice.xml b/view/frontend/layout/sales_guest_invoice.xml new file mode 100644 index 0000000..e2aa914 --- /dev/null +++ b/view/frontend/layout/sales_guest_invoice.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/view/frontend/layout/sales_guest_print.xml b/view/frontend/layout/sales_guest_print.xml new file mode 100644 index 0000000..1ce80ce --- /dev/null +++ b/view/frontend/layout/sales_guest_print.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/view/frontend/layout/sales_guest_printcreditmemo.xml b/view/frontend/layout/sales_guest_printcreditmemo.xml new file mode 100644 index 0000000..38c975b --- /dev/null +++ b/view/frontend/layout/sales_guest_printcreditmemo.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/view/frontend/layout/sales_guest_printinvoice.xml b/view/frontend/layout/sales_guest_printinvoice.xml new file mode 100644 index 0000000..e2aa914 --- /dev/null +++ b/view/frontend/layout/sales_guest_printinvoice.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/view/frontend/layout/sales_guest_view.xml b/view/frontend/layout/sales_guest_view.xml new file mode 100644 index 0000000..1ce80ce --- /dev/null +++ b/view/frontend/layout/sales_guest_view.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/view/frontend/layout/sales_order_creditmemo.xml b/view/frontend/layout/sales_order_creditmemo.xml new file mode 100644 index 0000000..38c975b --- /dev/null +++ b/view/frontend/layout/sales_order_creditmemo.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/view/frontend/layout/sales_order_invoice.xml b/view/frontend/layout/sales_order_invoice.xml new file mode 100644 index 0000000..e2aa914 --- /dev/null +++ b/view/frontend/layout/sales_order_invoice.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/view/frontend/layout/sales_order_print.xml b/view/frontend/layout/sales_order_print.xml new file mode 100644 index 0000000..1ce80ce --- /dev/null +++ b/view/frontend/layout/sales_order_print.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/view/frontend/layout/sales_order_printcreditmemo.xml b/view/frontend/layout/sales_order_printcreditmemo.xml new file mode 100644 index 0000000..38c975b --- /dev/null +++ b/view/frontend/layout/sales_order_printcreditmemo.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/view/frontend/layout/sales_order_printinvoice.xml b/view/frontend/layout/sales_order_printinvoice.xml new file mode 100644 index 0000000..e2aa914 --- /dev/null +++ b/view/frontend/layout/sales_order_printinvoice.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/LandedCost/view/frontend/layout/sales_order_view.xml b/view/frontend/layout/sales_order_view.xml similarity index 100% rename from LandedCost/view/frontend/layout/sales_order_view.xml rename to view/frontend/layout/sales_order_view.xml diff --git a/LandedCost/view/frontend/layout/transiteo_taxes_page_index.xml b/view/frontend/layout/transiteo_taxes_page_index.xml similarity index 50% rename from LandedCost/view/frontend/layout/transiteo_taxes_page_index.xml rename to view/frontend/layout/transiteo_taxes_page_index.xml index 077ae71..b265791 100644 --- a/LandedCost/view/frontend/layout/transiteo_taxes_page_index.xml +++ b/view/frontend/layout/transiteo_taxes_page_index.xml @@ -1,8 +1,17 @@ diff --git a/LandedCost/view/frontend/layout/transiteo_taxes_page_view.xml b/view/frontend/layout/transiteo_taxes_page_view.xml similarity index 50% rename from LandedCost/view/frontend/layout/transiteo_taxes_page_view.xml rename to view/frontend/layout/transiteo_taxes_page_view.xml index aba3203..9e6c675 100644 --- a/LandedCost/view/frontend/layout/transiteo_taxes_page_view.xml +++ b/view/frontend/layout/transiteo_taxes_page_view.xml @@ -1,8 +1,17 @@ diff --git a/view/frontend/requirejs-config.js b/view/frontend/requirejs-config.js new file mode 100644 index 0000000..e271045 --- /dev/null +++ b/view/frontend/requirejs-config.js @@ -0,0 +1,32 @@ +/* + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ + */ + +var config = { + // paths: { + // 'transiteomodal': "Transiteo_LandedCost/js/modal" + // }, + // shim: { + // 'transiteomodal': { + // deps: ['jquery'] + // } + // }, + map: { + '*': { + transiteomodal: "Transiteo_LandedCost/js/modal", + transiteoduties: 'Transiteo_LandedCost/js/duties', + transiteoProductDutiesTaxes: 'Transiteo_LandedCost/js/product/view/product-duties-taxes' + } + } +} diff --git a/LandedCost/view/frontend/templates/button.phtml b/view/frontend/templates/button.phtml similarity index 100% rename from LandedCost/view/frontend/templates/button.phtml rename to view/frontend/templates/button.phtml diff --git a/LandedCost/view/frontend/templates/item/price/unit.phtml b/view/frontend/templates/item/price/unit.phtml similarity index 88% rename from LandedCost/view/frontend/templates/item/price/unit.phtml rename to view/frontend/templates/item/price/unit.phtml index b090f97..c173eca 100644 --- a/LandedCost/view/frontend/templates/item/price/unit.phtml +++ b/view/frontend/templates/item/price/unit.phtml @@ -1,10 +1,17 @@ - */ - -/** - * Copyright © Magento, Inc. All rights reserved. - * See COPYING.txt for license details. + * */ // @codingStandardsIgnoreFile diff --git a/LandedCost/view/frontend/templates/modal.phtml b/view/frontend/templates/modal.phtml similarity index 84% rename from LandedCost/view/frontend/templates/modal.phtml rename to view/frontend/templates/modal.phtml index 382de10..1d8ae52 100644 --- a/LandedCost/view/frontend/templates/modal.phtml +++ b/view/frontend/templates/modal.phtml @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ /** diff --git a/view/frontend/templates/modal/logo.phtml b/view/frontend/templates/modal/logo.phtml new file mode 100644 index 0000000..a022062 --- /dev/null +++ b/view/frontend/templates/modal/logo.phtml @@ -0,0 +1,27 @@ + +<?= $block->escapeHtmlAttr($block->getLogoAlt()) ?>getLogoWidth() ? 'width="' . $block->escapeHtmlAttr($block->getLogoWidth()) . '"' : '' ?> + getLogoHeight() ? 'height="' . $block->escapeHtmlAttr($block->getLogoHeight()) . '"' : '' ?> +/> + diff --git a/LandedCost/view/frontend/templates/product/view/duties-taxes.phtml b/view/frontend/templates/product/view/duties-taxes.phtml similarity index 64% rename from LandedCost/view/frontend/templates/product/view/duties-taxes.phtml rename to view/frontend/templates/product/view/duties-taxes.phtml index 574fc04..20eaedf 100644 --- a/LandedCost/view/frontend/templates/product/view/duties-taxes.phtml +++ b/view/frontend/templates/product/view/duties-taxes.phtml @@ -1,8 +1,17 @@ + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ /** @var \Transiteo\LandedCost\Block\Modal $block */ diff --git a/LandedCost/view/frontend/web/css/popup.css b/view/frontend/web/css/popup.css similarity index 78% rename from LandedCost/view/frontend/web/css/popup.css rename to view/frontend/web/css/popup.css index 90e772b..c87fcdb 100644 --- a/LandedCost/view/frontend/web/css/popup.css +++ b/view/frontend/web/css/popup.css @@ -1,7 +1,16 @@ /* - * @author Blackbird Agency - * @copyright Open Software License (OSL 3.0) - * @link + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ .d-flex { diff --git a/LandedCost/view/frontend/web/img/logo_transiteo.png b/view/frontend/web/img/logo_transiteo.png similarity index 100% rename from LandedCost/view/frontend/web/img/logo_transiteo.png rename to view/frontend/web/img/logo_transiteo.png diff --git a/LandedCost/view/frontend/web/js/duties.js b/view/frontend/web/js/duties.js similarity index 77% rename from LandedCost/view/frontend/web/js/duties.js rename to view/frontend/web/js/duties.js index 880647e..277b7bc 100644 --- a/LandedCost/view/frontend/web/js/duties.js +++ b/view/frontend/web/js/duties.js @@ -1,7 +1,16 @@ /* - * @author Blackbird Agency - * @copyright Open Software License (OSL 3.0) - * @link + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ define([ diff --git a/LandedCost/view/frontend/web/js/geoip_country.js b/view/frontend/web/js/geoip_country.js similarity index 56% rename from LandedCost/view/frontend/web/js/geoip_country.js rename to view/frontend/web/js/geoip_country.js index 3752a06..b6040f9 100644 --- a/LandedCost/view/frontend/web/js/geoip_country.js +++ b/view/frontend/web/js/geoip_country.js @@ -1,7 +1,16 @@ /* - * @author Blackbird Agency - * @copyright Open Software License (OSL 3.0) - * @link + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ define([ diff --git a/LandedCost/view/frontend/web/js/modal.js b/view/frontend/web/js/modal.js similarity index 100% rename from LandedCost/view/frontend/web/js/modal.js rename to view/frontend/web/js/modal.js diff --git a/LandedCost/view/frontend/web/js/product/view/product-duties-taxes.js b/view/frontend/web/js/product/view/product-duties-taxes.js similarity index 95% rename from LandedCost/view/frontend/web/js/product/view/product-duties-taxes.js rename to view/frontend/web/js/product/view/product-duties-taxes.js index 383113f..c6f8eb7 100644 --- a/LandedCost/view/frontend/web/js/product/view/product-duties-taxes.js +++ b/view/frontend/web/js/product/view/product-duties-taxes.js @@ -1,7 +1,16 @@ /* - * @author Blackbird Agency - * @copyright Open Software License (OSL 3.0) - * @link + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ define([ 'jquery', diff --git a/view/frontend/web/js/transiteo_duties.js b/view/frontend/web/js/transiteo_duties.js new file mode 100644 index 0000000..34b0a97 --- /dev/null +++ b/view/frontend/web/js/transiteo_duties.js @@ -0,0 +1,31 @@ +/* + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ + */ + +define([ + 'jquery', + 'uiComponent', + 'Magento_Customer/js/customer-data' +], function (Component, customerData) { + 'use strict'; + return Component.extend({ + initialize: function () { + this.vat = '10.00'; + this.duty = '5.00'; + this.special = '6.00'; + this._super(); + }, + }); + } +); diff --git a/LandedCost/view/frontend/web/js/view/cart/totals/surcharge_cart.js b/view/frontend/web/js/view/cart/totals/surcharge_cart.js similarity index 84% rename from LandedCost/view/frontend/web/js/view/cart/totals/surcharge_cart.js rename to view/frontend/web/js/view/cart/totals/surcharge_cart.js index fa3548e..e180500 100644 --- a/LandedCost/view/frontend/web/js/view/cart/totals/surcharge_cart.js +++ b/view/frontend/web/js/view/cart/totals/surcharge_cart.js @@ -1,7 +1,16 @@ /* - * @author Blackbird Agency - * @copyright Open Software License (OSL 3.0) - * @link + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ define([ diff --git a/LandedCost/view/frontend/web/js/view/cart/totals/surcharge_checkout_taxes.js b/view/frontend/web/js/view/cart/totals/surcharge_checkout_taxes.js similarity index 88% rename from LandedCost/view/frontend/web/js/view/cart/totals/surcharge_checkout_taxes.js rename to view/frontend/web/js/view/cart/totals/surcharge_checkout_taxes.js index f5e3753..c60f285 100644 --- a/LandedCost/view/frontend/web/js/view/cart/totals/surcharge_checkout_taxes.js +++ b/view/frontend/web/js/view/cart/totals/surcharge_checkout_taxes.js @@ -1,7 +1,16 @@ /* - * @author Blackbird Agency - * @copyright Open Software License (OSL 3.0) - * @link + * Transiteo LandedCost + * + * NOTICE OF LICENSE + * if you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to contact@bird.eu so we can send you a copy immediately. + * @category Transiteo + * @package Transiteo_LandedCost + * @copyright Open Software License (OSL 3.0) + * @author Blackbird Team + * @license MIT + * @support https://github.com/transiteo/Landed-Cost-Magento-2/issues/new/ */ define([ diff --git a/view/frontend/web/template/summary/surcharge_cart.html b/view/frontend/web/template/summary/surcharge_cart.html new file mode 100644 index 0000000..b70b526 --- /dev/null +++ b/view/frontend/web/template/summary/surcharge_cart.html @@ -0,0 +1,26 @@ + + + + + + +
+ + + + + + diff --git a/LandedCost/view/frontend/web/template/summary/surcharge_checkout_taxes.html b/view/frontend/web/template/summary/surcharge_checkout_taxes.html similarity index 75% rename from LandedCost/view/frontend/web/template/summary/surcharge_checkout_taxes.html rename to view/frontend/web/template/summary/surcharge_checkout_taxes.html index d6a1d68..d64e2a4 100644 --- a/LandedCost/view/frontend/web/template/summary/surcharge_checkout_taxes.html +++ b/view/frontend/web/template/summary/surcharge_checkout_taxes.html @@ -1,3 +1,18 @@ + +