File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -1968,8 +1968,6 @@ protected function isDutiable($origCountryId, $destCountryId)
1968
1968
{
1969
1969
$ this ->_checkDomesticStatus ($ origCountryId , $ destCountryId );
1970
1970
1971
- return
1972
- self ::DHL_CONTENT_TYPE_NON_DOC == $ this ->getConfigData ('content_type ' )
1973
- || !$ this ->_isDomestic ;
1971
+ return !$ this ->_isDomestic ;
1974
1972
}
1975
1973
}
Original file line number Diff line number Diff line change 32
32
<label >Account Number</label >
33
33
</field >
34
34
<field id =" content_type" translate =" label" type =" select" sortOrder =" 90" showInDefault =" 1" showInWebsite =" 1" showInStore =" 0" canRestore =" 1" >
35
- <label >Content Type</label >
35
+ <label >Content Type (Non Domestic)</label >
36
+ <comment >Whether to use Documents or NonDocuments service for non domestic shipments. (Shipments within the EU are classed as domestic)</comment >
36
37
<source_model >Magento\Dhl\Model\Source\Contenttype</source_model >
37
38
</field >
38
39
<field id =" handling_type" translate =" label" type =" select" sortOrder =" 100" showInDefault =" 1" showInWebsite =" 1" showInStore =" 0" canRestore =" 1" >
81
82
</depends >
82
83
</field >
83
84
<field id =" doc_methods" translate =" label" type =" multiselect" sortOrder =" 170" showInDefault =" 1" showInWebsite =" 1" showInStore =" 0" canRestore =" 1" >
84
- <label >Allowed Methods</label >
85
+ <label >Documents Allowed Methods</label >
85
86
<source_model >Magento\Dhl\Model\Source\Method\Doc</source_model >
86
- <depends >
87
- <field id =" content_type" >D</field >
88
- </depends >
89
87
</field >
90
88
<field id =" nondoc_methods" translate =" label" type =" multiselect" sortOrder =" 170" showInDefault =" 1" showInWebsite =" 1" showInStore =" 0" canRestore =" 1" >
91
- <label >Allowed Methods</label >
89
+ <label >Non Documents Allowed Methods</label >
92
90
<source_model >Magento\Dhl\Model\Source\Method\Nondoc</source_model >
93
- <depends >
94
- <field id =" content_type" >N</field >
95
- </depends >
96
91
</field >
97
92
<field id =" ready_time" translate =" label comment" type =" text" sortOrder =" 180" showInDefault =" 1" showInWebsite =" 1" showInStore =" 0" canRestore =" 1" >
98
93
<label >Ready time</label >
You can’t perform that action at this time.
0 commit comments