Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 5621eee

Browse files
author
Stanislav Idolov
authored
🔃 [EngCom] Public Pull Requests - 2.3-develop
Accepted Public Pull Requests: - magento/graphql-ce#114: Mutations Prototype (POC) #74 (by @paliarush) - magento/magento2#16699: Declare module namespace before template path in Magento_Theme, Magento_Newsletter and Magento_Tax (by @mageprince) - magento/magento2#16701: Declare module namespace before template path in all other modules (by @mageprince) - magento/magento2#16698: Declare module namespace before template path in Magento_Sales and Magento_Paypal (by @mageprince) - magento/magento2#16687: [Forwardport] Corrected function comment (by @sanganinamrata) - magento/magento2#16663: [Forwardport] Fixed Issue #11354 Merged CSS file name generation (by @mageprince) - magento/magento2#16588: [Forwardport] Fix of invalid price for integer currencies when amount less than group size (by @vkublytskyi) - magento/magento2#16562: [Forwardport] Coupon API not working for guest user (by @gelanivishal) - magento/magento2#16630: [Forwardport] Small refactoring to better code readability (by @ronak2ram) - magento/magento2#16613: Update Israeli ZIP code mask, 7 digits instead of 5 ,according to the� (by @gelanivishal) - magento/magento2#16569: Make it possible to disable cross-sell on cart page (by @arnoudhgz) - magento/magento2#16487: [Forwardport] Prevent layout cache corruption in edge case (by @gelanivishal) Fixed GitHub Issues: - magento/magento2#11354: Merged CSS file name generation (reported by @pmoreno1980) has been fixed in magento/magento2#16663 by @mageprince in 2.3-develop branch Related commits: 1. 2816764 2. 2d31c1d 3. e7677e8 4. ca3c79c 5. 311f8ca 6. 1782c54 7. 94e0e25 8. 831e58c 9. 742ad8c - magento/magento2#11717: Wrong price amount on product page (reported by @HirokazuNishi) has been fixed in magento/magento2#16588 by @vkublytskyi in 2.3-develop branch Related commits: 1. e2c4aca - magento/magento2#14056: Coupon API not working for guest user (reported by @gnanasekaranl) has been fixed in magento/magento2#16562 by @gelanivishal in 2.3-develop branch Related commits: 1. 1acd06f 2. 2651be3
2 parents 6b7a9b3 + bfaac1f commit 5621eee

File tree

94 files changed

+212
-91
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+212
-91
lines changed

app/code/Magento/AdvancedSearch/Block/SearchData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ abstract class SearchData extends Template implements SearchDataInterface
3030
/**
3131
* @var string
3232
*/
33-
protected $_template = 'search_data.phtml';
33+
protected $_template = 'Magento_AdvancedSearch::search_data.phtml';
3434

3535
/**
3636
* @param Template\Context $context

app/code/Magento/Backend/Block/Widget/Form/Element/Dependence.php

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,18 @@ protected function _toHtml()
124124
if (!$this->_depends) {
125125
return '';
126126
}
127-
return '<script>
128-
require(["mage/adminhtml/form"], function(){
129-
new FormElementDependenceController(' .
130-
$this->_getDependsJson() .
131-
($this->_configOptions ? ', ' .
132-
$this->_jsonEncoder->encode(
133-
$this->_configOptions
134-
) : '') . '); });</script>';
127+
128+
$params = $this->_getDependsJson();
129+
130+
if ($this->_configOptions) {
131+
$params .= ', ' . $this->_jsonEncoder->encode($this->_configOptions);
132+
}
133+
134+
return "<script>
135+
require(['mage/adminhtml/form'], function(){
136+
new FormElementDependenceController({$params});
137+
});
138+
</script>";
135139
}
136140

137141
/**

app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main/Tree/Attribute.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ class Attribute extends \Magento\Backend\Block\Template
1414
/**
1515
* @var string
1616
*/
17-
protected $_template = 'catalog/product/attribute/set/main/tree/attribute.phtml';
17+
protected $_template = 'Magento_Catalog::catalog/product/attribute/set/main/tree/attribute.phtml';
1818
}

app/code/Magento/Checkout/etc/adminhtml/system.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@
4141
<field id="number_items_to_display_pager" translate="label" type="text" sortOrder="2" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
4242
<label>Number of Items to Display Pager</label>
4343
</field>
44+
<field id="crosssell_enabled" translate="label" type="select" sortOrder="3" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
45+
<label>Show Cross-sell Items in the Shopping Cart</label>
46+
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
47+
</field>
4448
</group>
4549
<group id="cart_link" translate="label" sortOrder="3" showInDefault="1" showInWebsite="1" showInStore="0">
4650
<label>My Cart Link</label>

app/code/Magento/Checkout/etc/config.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<delete_quote_after>30</delete_quote_after>
1818
<redirect_to_cart>0</redirect_to_cart>
1919
<number_items_to_display_pager>20</number_items_to_display_pager>
20+
<crosssell_enabled>1</crosssell_enabled>
2021
</cart>
2122
<cart_link>
2223
<use_qty>1</use_qty>

app/code/Magento/Checkout/i18n/en_US.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,3 +181,4 @@ Payment,Payment
181181
"Item in Cart","Item in Cart"
182182
"Items in Cart","Items in Cart"
183183
"Close","Close"
184+
"Show Cross-sell Items in the Shopping Cart","Show Cross-sell Items in the Shopping Cart"

app/code/Magento/Checkout/view/frontend/layout/checkout_cart_index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
</block>
187187
<container name="checkout.cart.widget" as="checkout_cart_widget" label="Shopping Cart Items After"/>
188188
</container>
189-
<block class="Magento\Checkout\Block\Cart\Crosssell" name="checkout.cart.crosssell" template="Magento_Catalog::product/list/items.phtml" after="-">
189+
<block class="Magento\Checkout\Block\Cart\Crosssell" name="checkout.cart.crosssell" template="Magento_Catalog::product/list/items.phtml" after="-" ifconfig="checkout/cart/crosssell_enabled">
190190
<arguments>
191191
<argument name="type" xsi:type="string">crosssell</argument>
192192
</arguments>

app/code/Magento/ConfigurableProduct/etc/adminhtml/system.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<system>
1010
<section id="checkout">
1111
<group id="cart">
12-
<field id="configurable_product_image" translate="label" type="select" sortOrder="4" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
12+
<field id="configurable_product_image" translate="label" type="select" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
1313
<label>Configurable Product Image</label>
1414
<source_model>Magento\Catalog\Model\Config\Source\Product\Thumbnail</source_model>
1515
</field>

app/code/Magento/Directory/etc/zip_codes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@
196196
</zip>
197197
<zip countryCode="IL">
198198
<codes>
199-
<code id="pattern_1" active="true" example="12345">^[0-9]{5}$</code>
199+
<code id="pattern_1" active="true" example="6687865">^[0-9]{7}$</code>
200200
</codes>
201201
</zip>
202202
<zip countryCode="IT">

app/code/Magento/Eav/Block/Adminhtml/Attribute/Edit/Js.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Js extends \Magento\Backend\Block\Template
1818
* @var string
1919
*/
2020

21-
protected $_template = 'attribute/edit/js.phtml';
21+
protected $_template = 'Magento_Eav::attribute/edit/js.phtml';
2222

2323
/**
2424
* @var \Magento\Eav\Model\Adminhtml\System\Config\Source\Inputtype

app/code/Magento/GraphQl/etc/schema.graphqls

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
type Query {
55
}
66

7+
type Mutation {
8+
placeholderMutation: String @doc(description: "Mutation type cannot be declared without fields. The placeholder will be removed when at least one mutation field is declared.")
9+
}
10+
711
input FilterTypeInput @doc(description: "FilterTypeInput specifies which action will be performed in a query ") {
812
eq: String @doc(description: "Equals")
913
finset: [String] @doc(description: "Find in set. The value can contain a set of comma-separated values")
@@ -30,4 +34,4 @@ type SearchResultPageInfo @doc(description: "SearchResultPageInfo provides navig
3034
enum SortEnum @doc(description: "This enumeration indicates whether to return results in ascending or descending order") {
3135
ASC
3236
DESC
33-
}
37+
}

app/code/Magento/GroupedProduct/etc/adminhtml/system.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<system>
1010
<section id="checkout" translate="label" type="text" sortOrder="305" showInDefault="1" showInWebsite="1" showInStore="1">
1111
<group id="cart" translate="label" sortOrder="2" showInDefault="1" showInWebsite="1" showInStore="1">
12-
<field id="grouped_product_image" translate="label" type="select" sortOrder="3" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
12+
<field id="grouped_product_image" translate="label" type="select" sortOrder="4" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
1313
<label>Grouped Product Image</label>
1414
<source_model>Magento\Catalog\Model\Config\Source\Product\Thumbnail</source_model>
1515
</field>

app/code/Magento/Newsletter/Block/Adminhtml/Problem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Problem extends \Magento\Backend\Block\Template
1919
/**
2020
* @var string
2121
*/
22-
protected $_template = 'problem/list.phtml';
22+
protected $_template = 'Magento_Newsletter::problem/list.phtml';
2323

2424
/**
2525
* @var \Magento\Newsletter\Model\ResourceModel\Problem\Collection

app/code/Magento/Newsletter/Block/Adminhtml/Queue/Edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Edit extends \Magento\Backend\Block\Template
1919
/**
2020
* @var string
2121
*/
22-
protected $_template = 'queue/edit.phtml';
22+
protected $_template = 'Magento_Newsletter::queue/edit.phtml';
2323

2424
/**
2525
* Core registry

app/code/Magento/Newsletter/Block/Adminhtml/Subscriber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Subscriber extends \Magento\Backend\Block\Template
2929
/**
3030
* @var string
3131
*/
32-
protected $_template = 'subscriber/list.phtml';
32+
protected $_template = 'Magento_Newsletter::subscriber/list.phtml';
3333

3434
/**
3535
* @var \Magento\Newsletter\Model\ResourceModel\Queue\CollectionFactory

app/code/Magento/Newsletter/Block/Adminhtml/Template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Template extends \Magento\Backend\Block\Template
1616
/**
1717
* @var string
1818
*/
19-
protected $_template = 'template/list.phtml';
19+
protected $_template = 'Magento_Newsletter::template/list.phtml';
2020

2121
/**
2222
* @return $this

app/code/Magento/OfflinePayments/Block/Form/Banktransfer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ class Banktransfer extends \Magento\OfflinePayments\Block\Form\AbstractInstructi
1515
*
1616
* @var string
1717
*/
18-
protected $_template = 'form/banktransfer.phtml';
18+
protected $_template = 'Magento_OfflinePayments::form/banktransfer.phtml';
1919
}

app/code/Magento/OfflinePayments/Block/Form/Cashondelivery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ class Cashondelivery extends \Magento\OfflinePayments\Block\Form\AbstractInstruc
1515
*
1616
* @var string
1717
*/
18-
protected $_template = 'form/cashondelivery.phtml';
18+
protected $_template = 'Magento_OfflinePayments::form/cashondelivery.phtml';
1919
}

app/code/Magento/Payment/Block/Info/Instructions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Instructions extends \Magento\Payment\Block\Info
2323
/**
2424
* @var string
2525
*/
26-
protected $_template = 'info/instructions.phtml';
26+
protected $_template = 'Magento_Payment::info/instructions.phtml';
2727

2828
/**
2929
* Get instructions text from order payment

app/code/Magento/Paypal/Block/Adminhtml/Billing/Agreement/View/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ class Form extends \Magento\Backend\Block\Template
1313
/**
1414
* @var string
1515
*/
16-
protected $_template = 'billing/agreement/view/form.phtml';
16+
protected $_template = 'Magento_Paypal::billing/agreement/view/form.phtml';
1717
}

app/code/Magento/Paypal/Block/Adminhtml/Billing/Agreement/View/Tab/Info.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Info extends \Magento\Backend\Block\Template implements \Magento\Backend\B
1515
/**
1616
* @var string
1717
*/
18-
protected $_template = 'billing/agreement/view/tab/info.phtml';
18+
protected $_template = 'Magento_Paypal::billing/agreement/view/tab/info.phtml';
1919

2020
/**
2121
* Core registry

app/code/Magento/Paypal/Block/Adminhtml/System/Config/Payflowlink/Advanced.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ class Advanced extends \Magento\Paypal\Block\Adminhtml\System\Config\Payflowlink
1616
*
1717
* @var string
1818
*/
19-
protected $_template = 'system/config/payflowlink/advanced.phtml';
19+
protected $_template = 'Magento_Paypal::system/config/payflowlink/advanced.phtml';
2020
}

app/code/Magento/Paypal/Block/Adminhtml/System/Config/Payflowlink/Info.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Info extends \Magento\Config\Block\System\Config\Form\Field
1616
*
1717
* @var string
1818
*/
19-
protected $_template = 'system/config/payflowlink/info.phtml';
19+
protected $_template = 'Magento_Paypal::system/config/payflowlink/info.phtml';
2020

2121
/**
2222
* Render fieldset html

app/code/Magento/Paypal/Block/Hosted/Pro/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ class Form extends \Magento\Payment\Block\Form
1515
/**
1616
* @var string
1717
*/
18-
protected $_template = 'hss/info.phtml';
18+
protected $_template = 'Magento_Paypal::hss/info.phtml';
1919
}

app/code/Magento/Paypal/Block/Iframe.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class Iframe extends \Magento\Payment\Block\Form
4444
/**
4545
* @var string
4646
*/
47-
protected $_template = 'hss/js.phtml';
47+
protected $_template = 'Magento_Paypal::hss/js.phtml';
4848

4949
/**
5050
* @var \Magento\Sales\Model\OrderFactory

app/code/Magento/Paypal/Block/Payflow/Advanced/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Form extends \Magento\Paypal\Block\Payflow\Link\Form
1515
/**
1616
* @var string
1717
*/
18-
protected $_template = 'payflowadvanced/info.phtml';
18+
protected $_template = 'Magento_Paypal::payflowadvanced/info.phtml';
1919

2020
/**
2121
* Get frame action URL

app/code/Magento/Paypal/Block/Payflow/Link/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Form extends \Magento\Payment\Block\Form
1515
/**
1616
* @var string
1717
*/
18-
protected $_template = 'payflowlink/info.phtml';
18+
protected $_template = 'Magento_Paypal::payflowlink/info.phtml';
1919

2020
/**
2121
* Get frame action URL

app/code/Magento/ProductAlert/Block/Email/Price.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Price extends \Magento\ProductAlert\Block\Email\AbstractEmail
1515
/**
1616
* @var string
1717
*/
18-
protected $_template = 'email/price.phtml';
18+
protected $_template = 'Magento_ProductAlert::email/price.phtml';
1919

2020
/**
2121
* Retrieve unsubscribe url for product

app/code/Magento/ProductAlert/Block/Email/Stock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Stock extends \Magento\ProductAlert\Block\Email\AbstractEmail
1515
/**
1616
* @var string
1717
*/
18-
protected $_template = 'email/stock.phtml';
18+
protected $_template = 'Magento_ProductAlert::email/stock.phtml';
1919

2020
/**
2121
* Retrieve unsubscribe url for product

app/code/Magento/Quote/Model/CouponManagement.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ public function set($cartId, $couponCode)
5555
if (!$quote->getItemsCount()) {
5656
throw new NoSuchEntityException(__('The "%1" Cart doesn\'t contain products.', $cartId));
5757
}
58+
if (!$quote->getStoreId()) {
59+
throw new NoSuchEntityException(__('Cart isn\'t assigned to correct store'));
60+
}
5861
$quote->getShippingAddress()->setCollectShippingRates(true);
5962

6063
try {

app/code/Magento/Quote/Test/Unit/Model/CouponManagementTest.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ protected function setUp()
4747
'save',
4848
'getShippingAddress',
4949
'getCouponCode',
50+
'getStoreId',
5051
'__wakeup'
5152
]);
5253
$this->quoteAddressMock = $this->createPartialMock(\Magento\Quote\Model\Quote\Address::class, [
@@ -98,6 +99,9 @@ public function testSetWhenCouldNotApplyCoupon()
9899
$cartId = 33;
99100
$couponCode = '153a-ABC';
100101

102+
$this->storeMock->expects($this->any())->method('getId')->will($this->returnValue(1));
103+
$this->quoteMock->expects($this->once())->method('getStoreId')->willReturn($this->returnValue(1));
104+
101105
$this->quoteRepositoryMock->expects($this->once())
102106
->method('getActive')->with($cartId)->will($this->returnValue($this->quoteMock));
103107
$this->quoteMock->expects($this->once())->method('getItemsCount')->will($this->returnValue(12));
@@ -125,6 +129,9 @@ public function testSetWhenCouponCodeIsInvalid()
125129
$cartId = 33;
126130
$couponCode = '153a-ABC';
127131

132+
$this->storeMock->expects($this->any())->method('getId')->will($this->returnValue(1));
133+
$this->quoteMock->expects($this->once())->method('getStoreId')->willReturn($this->returnValue(1));
134+
128135
$this->quoteRepositoryMock->expects($this->once())
129136
->method('getActive')->with($cartId)->will($this->returnValue($this->quoteMock));
130137
$this->quoteMock->expects($this->once())->method('getItemsCount')->will($this->returnValue(12));
@@ -144,6 +151,9 @@ public function testSet()
144151
$cartId = 33;
145152
$couponCode = '153a-ABC';
146153

154+
$this->storeMock->expects($this->any())->method('getId')->will($this->returnValue(1));
155+
$this->quoteMock->expects($this->once())->method('getStoreId')->willReturn($this->returnValue(1));
156+
147157
$this->quoteRepositoryMock->expects($this->once())
148158
->method('getActive')->with($cartId)->will($this->returnValue($this->quoteMock));
149159
$this->quoteMock->expects($this->once())->method('getItemsCount')->will($this->returnValue(12));

app/code/Magento/Reports/Block/Adminhtml/Product/Viewed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Viewed extends \Magento\Backend\Block\Widget\Grid\Container
1717
/**
1818
* @var string
1919
*/
20-
protected $_template = 'report/grid/container.phtml';
20+
protected $_template = 'Magento_Reports::report/grid/container.phtml';
2121

2222
/**
2323
* @return void

app/code/Magento/Reports/Block/Adminhtml/Sales/Bestsellers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Bestsellers extends \Magento\Backend\Block\Widget\Grid\Container
1919
*
2020
* @var string
2121
*/
22-
protected $_template = 'report/grid/container.phtml';
22+
protected $_template = 'Magento_Reports::report/grid/container.phtml';
2323

2424
/**
2525
* {@inheritdoc}

app/code/Magento/Reports/Block/Adminhtml/Sales/Coupons.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Coupons extends \Magento\Backend\Block\Widget\Grid\Container
1919
*
2020
* @var string
2121
*/
22-
protected $_template = 'report/grid/container.phtml';
22+
protected $_template = 'Magento_Reports::report/grid/container.phtml';
2323

2424
/**
2525
* {@inheritdoc}

app/code/Magento/Reports/Block/Adminhtml/Sales/Invoiced.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Invoiced extends \Magento\Backend\Block\Widget\Grid\Container
1919
*
2020
* @var string
2121
*/
22-
protected $_template = 'report/grid/container.phtml';
22+
protected $_template = 'Magento_Reports::report/grid/container.phtml';
2323

2424
/**
2525
* {@inheritdoc}

app/code/Magento/Reports/Block/Adminhtml/Sales/Refunded.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Refunded extends \Magento\Backend\Block\Widget\Grid\Container
1919
*
2020
* @var string
2121
*/
22-
protected $_template = 'report/grid/container.phtml';
22+
protected $_template = 'Magento_Reports::report/grid/container.phtml';
2323

2424
/**
2525
* {@inheritdoc}

app/code/Magento/Reports/Block/Adminhtml/Sales/Sales.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Sales extends \Magento\Backend\Block\Widget\Grid\Container
1919
*
2020
* @var string
2121
*/
22-
protected $_template = 'report/grid/container.phtml';
22+
protected $_template = 'Magento_Reports::report/grid/container.phtml';
2323

2424
/**
2525
* {@inheritdoc}

app/code/Magento/Reports/Block/Adminhtml/Sales/Shipping.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Shipping extends \Magento\Backend\Block\Widget\Grid\Container
1919
*
2020
* @var string
2121
*/
22-
protected $_template = 'report/grid/container.phtml';
22+
protected $_template = 'Magento_Reports::report/grid/container.phtml';
2323

2424
/**
2525
* {@inheritdoc}

app/code/Magento/Reports/Block/Adminhtml/Sales/Tax.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Tax extends \Magento\Backend\Block\Widget\Grid\Container
1919
*
2020
* @var string
2121
*/
22-
protected $_template = 'report/grid/container.phtml';
22+
protected $_template = 'Magento_Reports::report/grid/container.phtml';
2323

2424
/**
2525
* {@inheritdoc}

0 commit comments

Comments
 (0)