Skip to content

Commit ee4373a

Browse files
committed
Fixed naming of config field
1 parent be2bb6d commit ee4373a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cron/OrderStatusConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
class OrderStatusConfig
1111
{
1212
public const CANCEL_ORDERS_OLDER_THAN_PATH = 'elgentos_auto_cancel_orders/order/days',
13-
CANCEL_ORDER_STATUS_PATH = 'elgentos_auto_cancel_orders/order/orderstate',
13+
CANCEL_ORDER_STATUS_PATH = 'elgentos_auto_cancel_orders/order/order_statuses',
1414
AUTO_ORDER_CANCEL_IS_ACTIVE_PATH = 'elgentos_auto_cancel_orders/order/active';
1515

1616
/**

etc/adminhtml/system.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
<label>Cancel orders older than</label>
2020
<comment>Days</comment>
2121
</field>
22-
<field id="orderstate" showInDefault="1" showInStore="1" showInWebsite="1" sortOrder="30" translate="label" type="multiselect">
23-
<label>With Order State</label>
22+
<field id="order_statuses" showInDefault="1" showInStore="1" showInWebsite="1" sortOrder="30" translate="label" type="multiselect">
23+
<label>With Order Status</label>
2424
<source_model>Magento\Sales\Model\ResourceModel\Order\Status\Collection</source_model>
2525
<comment/>
2626
</field>

0 commit comments

Comments
 (0)