Skip to content

Commit d730a7d

Browse files
authored
[PT-1438] Added sort order to plugin configuration (#108)
1 parent 9d496f9 commit d730a7d

File tree

3 files changed

+32
-3
lines changed

3 files changed

+32
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "mondu_gmbh/magento2-payment",
33
"description": "Mondu payment method for magento 2",
44
"type": "magento2-module",
5-
"version": "2.3.6",
5+
"version": "2.3.7",
66
"license": [
77
"MIT"
88
],

etc/adminhtml/system.xml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,36 @@
115115
<source_model>Magento\Directory\Model\Config\Source\Country</source_model>
116116
<config_path>payment/mondu/specificcountry</config_path>
117117
</field>
118-
<field id="debug" translate="label" type="select" sortOrder="17" showInDefault="1" showInWebsite="1"
118+
119+
<field id="mondusortorder" translate="label" type="text" sortOrder="16" showInDefault="1" showInWebsite="1"
120+
showInStore="1">
121+
<label>Bank Transfer Sort Order</label>
122+
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
123+
<config_path>payment/mondu/sort_order</config_path>
124+
</field>
125+
126+
<field id="mondusepasortorder" translate="label" type="text" sortOrder="17" showInDefault="1" showInWebsite="1"
127+
showInStore="1">
128+
<label>SEPA Direct Debit Sort Order</label>
129+
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
130+
<config_path>payment/mondusepa/sort_order</config_path>
131+
</field>
132+
133+
<field id="monduinstallmentsortorder" translate="label" type="text" sortOrder="18" showInDefault="1" showInWebsite="1"
134+
showInStore="1">
135+
<label>Split Payments Sort Order</label>
136+
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
137+
<config_path>payment/monduinstallment/sort_order</config_path>
138+
</field>
139+
140+
<field id="monduinstallmentbyinvoicesortorder" translate="label" type="text" sortOrder="19" showInDefault="1" showInWebsite="1"
141+
showInStore="1">
142+
<label>Installments By Invoice Sort Order</label>
143+
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
144+
<config_path>payment/monduinstallmentbyinvoice/sort_order</config_path>
145+
</field>
146+
147+
<field id="debug" translate="label" type="select" sortOrder="20" showInDefault="1" showInWebsite="1"
119148
showInStore="1">
120149
<label>Enable Logs</label>
121150
<config_path>payment/mondu/debug</config_path>

etc/module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
22
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
3-
<module name="Mondu_Mondu" setup_version="2.3.6">
3+
<module name="Mondu_Mondu" setup_version="2.3.7">
44
<sequence>
55
<module name="Magento_Sales"/>
66
<module name="Magento_Payment"/>

0 commit comments

Comments
 (0)