Skip to content

Commit 1adc37f

Browse files
author
Dmytro Voskoboinikov
committed
Merge branch 'MAGETWO-88668' into 2.1.15-bugfixes-210618
2 parents 895b984 + 0553cef commit 1adc37f

File tree

2 files changed

+24
-6
lines changed

2 files changed

+24
-6
lines changed

app/code/Magento/Sales/view/frontend/layout/sales_guest_print.xml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,20 @@
1212
<body>
1313
<attribute name="class" value="sales-guest-view"/>
1414
<referenceContainer name="page.main.title">
15-
<block class="Magento\Sales\Block\Order\PrintShipment" name="order.status" template="order/order_status.phtml" />
16-
<block class="Magento\Sales\Block\Order\PrintShipment" name="order.date" template="order/order_date.phtml" />
15+
<block class="Magento\Sales\Block\Order\PrintShipment"
16+
name="order.status"
17+
template="order/order_status.phtml"
18+
cacheable="false" />
19+
<block class="Magento\Sales\Block\Order\PrintShipment"
20+
name="order.date"
21+
template="order/order_date.phtml"
22+
cacheable="false" />
1723
</referenceContainer>
1824
<referenceContainer name="content">
19-
<block class="Magento\Sales\Block\Order\PrintShipment" name="sales.order.print" template="order/view.phtml">
25+
<block class="Magento\Sales\Block\Order\PrintShipment"
26+
name="sales.order.print"
27+
template="order/view.phtml"
28+
cacheable="false">
2029
<block class="Magento\Sales\Block\Order\PrintShipment" name="order_items" template="order/items.phtml">
2130
<block class="Magento\Framework\View\Element\RendererList" name="sales.order.print.renderers" as="renderer.list" />
2231
<block class="Magento\Sales\Block\Order\Totals" name="order_totals" template="order/totals.phtml">

app/code/Magento/Sales/view/frontend/layout/sales_order_print.xml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,20 @@
1212
<body>
1313
<attribute name="class" value="account"/>
1414
<referenceContainer name="page.main.title">
15-
<block class="Magento\Sales\Block\Order\PrintShipment" name="order.status" template="order/order_status.phtml" />
16-
<block class="Magento\Sales\Block\Order\PrintShipment" name="order.date" template="order/order_date.phtml" />
15+
<block class="Magento\Sales\Block\Order\PrintShipment"
16+
name="order.status"
17+
template="order/order_status.phtml"
18+
cacheable="false" />
19+
<block class="Magento\Sales\Block\Order\PrintShipment"
20+
name="order.date"
21+
template="order/order_date.phtml"
22+
cacheable="false" />
1723
</referenceContainer>
1824
<referenceContainer name="content">
19-
<block class="Magento\Sales\Block\Order\PrintShipment" name="sales.order.print" template="order/view.phtml">
25+
<block class="Magento\Sales\Block\Order\PrintShipment"
26+
name="sales.order.print"
27+
template="order/view.phtml"
28+
cacheable="false">
2029
<block class="Magento\Sales\Block\Order\Items" name="order_items" template="order/items.phtml">
2130
<block class="Magento\Framework\View\Element\RendererList" name="sales.order.print.renderers" as="renderer.list" />
2231
<block class="Magento\Sales\Block\Order\Totals" name="order_totals" template="order/totals.phtml">

0 commit comments

Comments
 (0)