b374k
m1n1 1.01
Apache/2.4.41 (Ubuntu)
Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64
uid=33(www-data) gid=33(www-data) groups=33(www-data)
server ip : 62.171.164.128 | your ip : 127.0.0.1
safemode OFF
 >  / home / a / home / dev2.destoffenstraat.com / app / code / TIG / PostNL / etc / adminhtml / system /
Filename/home/a/home/dev2.destoffenstraat.com/app/code/TIG/PostNL/etc/adminhtml/system/general.xml
Size11.82 kb
Permissionrwxrwxrwx
Ownerroot : root
Create time21-Aug-2025 12:26
Last modified20-Dec-2022 13:13
Last accessed22-Aug-2025 21:40
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
<?xml version="1.0" encoding="UTF-8"?>
<!--
*
*
* ..::..
* ..::::::::::::..
* ::'''''':''::'''''::
* ::.. ..: : ....::
* :::: ::: : : ::
* :::: ::: : ''' ::
* ::::..:::..::.....::
* ''::::::::::::''
* ''::''
*
*
* NOTICE OF LICENSE
*
* This source file is subject to the Creative Commons License.
* It is available through the world-wide-web at this URL:
* http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
* If you are unable to obtain it through the world-wide-web, please send an email
* to servicedesk@tig.nl so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to newer
* versions in the future. If you wish to customize this module for your
* needs please contact servicedesk@tig.nl for more information.
*
* @copyright Copyright (c) Total Internet Group B.V. https://tig.nl/copyright
* @license http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
*
-->
<include xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_include.xsd">
<!--General configuration section-->
<group id="generalconfiguration" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
<label>General configuration and account information</label>
<frontend_model>TIG\PostNL\Block\Adminhtml\Config\Form\Field\Fieldset</frontend_model>
<fieldset_css>tig_postnl-section tig_postnl-general-section</fieldset_css>
<group id="extension_use" translate="label" type="text" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1">
<attribute type="expanded">1</attribute>
<frontend_model>\TIG\PostNL\Block\Adminhtml\Config\General\AccountSettings</frontend_model>
</group>
<group id="extension_status" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Account settings</label>
<fieldset_css>tig_postnl-sub-section</fieldset_css>
<field id="modus" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Modus</label>
<source_model>TIG\PostNL\Config\Source\General\Modus</source_model>
<config_path>tig_postnl/generalconfiguration_extension_status/modus</config_path>
</field>
<!--Live Fields-->
<field id="customer_number" translate="label comment" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Customer number live mode</label>
<comment><![CDATA[Enter you PostNL customer number.]]></comment>
<config_path>tig_postnl/generalconfiguration_extension_status/customer_number</config_path>
<depends>
<field id="modus">1</field>
</depends>
</field>
<field id="customer_code" translate="label comment" type="text" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Customer code live mode</label>
<comment><![CDATA[Enter your PostNL customer code. It must contain between 3 and 4 letters.]]></comment>
<config_path>tig_postnl/generalconfiguration_extension_status/customer_code</config_path>
<depends>
<field id="modus">1</field>
</depends>
</field>
<field id="api_key" translate="label comment" type="obscure" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Api Key live mode</label>
<tooltip><![CDATA[This API key is used to send parcels with PostNL and to supplement and validate addresses. Keep this API key secret to prevent other parties from taking PostNL services on your account.]]></tooltip>
<comment><![CDATA[Enter your PostNL API key. If you haven't got an API key, please contact PostNL support.]]></comment>
<backend_model>Magento\Config\Model\Config\Backend\Encrypted</backend_model>
<config_path>tig_postnl/generalconfiguration_extension_status/api_key</config_path>
<depends>
<field id="modus">1</field>
</depends>
</field>
<field id="bls_code" translate="label comment" type="text" sortOrder="50" showInDefault="1" showInWebsite="1" showInStore="1">
<label>BLS location code live mode</label>
<comment><![CDATA[Enter your PostNL BLS location code.]]></comment>
<config_path>tig_postnl/generalconfiguration_extension_status/bls_code</config_path>
<depends>
<field id="modus">1</field>
</depends>
</field>
<field id="validate_api_credentials" translate="label comment" type="button" sortOrder="60" showInDefault="1" showInWebsite="1" showInStore="1">
<comment><![CDATA[Please save your configuration before validating your API Credentials.]]></comment>
<frontend_model>TIG\PostNL\Block\Adminhtml\Config\Validate\ApiCredentials</frontend_model>
</field>
<!--Test Fields-->
<field id="customer_number_test" translate="label comment" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Customer number test mode</label>
<comment><![CDATA[You can use the test account credentials found <a href="https://confluence.tig.nl/display/SDPOSTNL/PostNL+Magento+2+testgegevens" target="_blank" title="PostNL test account">here</a>.]]></comment>
<config_path>tig_postnl/generalconfiguration_extension_status/customer_number_test</config_path>
<depends>
<field id="modus">2</field>
</depends>
</field>
<field id="customer_code_test" translate="label comment" type="text" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Customer code test mode</label>
<comment><![CDATA[You can use the test account credentials found <a href="https://confluence.tig.nl/display/SDPOSTNL/PostNL+Magento+2+testgegevens" target="_blank" title="PostNL test account">here</a>.]]></comment>
<config_path>tig_postnl/generalconfiguration_extension_status/customer_code_test</config_path>
<depends>
<field id="modus">2</field>
</depends>
</field>
<field id="api_key_test" translate="label comment" type="obscure" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Api Key test mode</label>
<comment><![CDATA[You can use the test account credentials found <a href="https://confluence.tig.nl/display/SDPOSTNL/PostNL+Magento+2+testgegevens" target="_blank" title="PostNL test account">here</a>.]]></comment>
<tooltip><![CDATA[This API key is used to send parcels with PostNL and to supplement and validate addresses. Keep this API key secret to prevent other parties from taking PostNL services on your account.]]></tooltip>
<backend_model>Magento\Config\Model\Config\Backend\Encrypted</backend_model>
<config_path>tig_postnl/generalconfiguration_extension_status/api_key_test</config_path>
<depends>
<field id="modus">2</field>
</depends>
</field>
<field id="bls_code_test" translate="label comment" type="text" sortOrder="50" showInDefault="1" showInWebsite="1" showInStore="1">
<label>BLS location code test mode</label>
<comment><![CDATA[You can use the test account credentials found <a href="https://confluence.tig.nl/display/SDPOSTNL/PostNL+Magento+2+testgegevens" target="_blank" title="PostNL test account">here</a>.]]></comment>
<config_path>tig_postnl/generalconfiguration_extension_status/bls_code_test</config_path>
<depends>
<field id="modus">2</field>
</depends>
</field>
</group>
<group id="shipping_address" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Senders address</label>
<fieldset_css>tig_postnl-sub-section</fieldset_css>
<field id="firstname" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>First name</label>
<config_path>tig_postnl/generalconfiguration_shipping_address/firstname</config_path>
</field>
<field id="lastname" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Last name</label>
<config_path>tig_postnl/generalconfiguration_shipping_address/lastname</config_path>
</field>
<field id="company" translate="label" type="text" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Company</label>
<validate>required-entry</validate>
<config_path>tig_postnl/generalconfiguration_shipping_address/company</config_path>
</field>
<field id="department" translate="label" type="text" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Department</label>
<config_path>tig_postnl/generalconfiguration_shipping_address/department</config_path>
</field>
<field id="streetname" translate="label" type="text" sortOrder="50" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Street name</label>
<validate>required-entry</validate>
<config_path>tig_postnl/generalconfiguration_shipping_address/streetname</config_path>
</field>
<field id="housenumber" translate="label" type="text" sortOrder="60" showInDefault="1" showInWebsite="1" showInStore="1">
<label>House number</label>
<validate>required-entry</validate>
<config_path>tig_postnl/generalconfiguration_shipping_address/housenumber</config_path>
</field>
<field id="housenumber_addition" translate="label" type="text" sortOrder="70" showInDefault="1" showInWebsite="1" showInStore="1">
<label>House number addition</label>
<config_path>tig_postnl/generalconfiguration_shipping_address/housenumber_addition</config_path>
</field>
<field id="postcode" translate="label" type="text" sortOrder="80" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Postcode</label>
<validate>required-entry</validate>
<config_path>tig_postnl/generalconfiguration_shipping_address/postcode</config_path>
</field>
<field id="city" translate="label" type="text" sortOrder="90" showInDefault="1" showInWebsite="1" showInStore="1">
<label>City</label>
<validate>required-entry</validate>
<config_path>tig_postnl/generalconfiguration_shipping_address/city</config_path>
</field>
<field id="country" translate="label" type="select" sortOrder="100" showInDefault="1" showInWebsite="0" showInStore="0">
<label>Country</label>
<validate>required-entry</validate>
<source_model>TIG\PostNL\Config\Source\General\Country</source_model>
<config_path>tig_postnl/generalconfiguration_shipping_address/country</config_path>
</field>
</group>

</group>
</include>