File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
app/code/Magento/Sales/view/frontend/templates/order Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 42
42
<a href="<?= $ block ->escapeUrl ($ block ->getViewUrl ($ _order )) ?> " class="action view">
43
43
<span><?= $ block ->escapeHtml (__ ('View Order ' )) ?> </span>
44
44
</a>
45
- <?php if ($ this ->helper (' Magento\Sales\Helper\Reorder ' )->canReorder ($ _order ->getEntityId ())) : ?>
45
+ <?php if ($ this ->helper (\ Magento \Sales \Helper \Reorder::class )->canReorder ($ _order ->getEntityId ())) : ?>
46
46
<a href="#" data-post='<?= /* @noEscape */
47
47
$ this ->helper (\Magento \Framework \Data \Helper \PostHelper::class)
48
48
->getPostData ($ block ->getReorderUrl ($ _order ))
59
59
<?php if ($ block ->getPagerHtml ()) : ?>
60
60
<div class="order-products-toolbar toolbar bottom"><?= $ block ->getPagerHtml () ?> </div>
61
61
<?php endif ?>
62
- <?php else : ?>
62
+ <?php else : ?>
63
63
<div class="message info empty"><span><?= $ block ->escapeHtml (__ ('You have placed no orders. ' )) ?> </span></div>
64
64
<?php endif ?>
Original file line number Diff line number Diff line change 34
34
</tr>
35
35
</thead>
36
36
<?php $ _items = $ _invoice ->getAllItems (); ?>
37
- <?php foreach ($ _items as $ _item ): ?>
37
+ <?php foreach ($ _items as $ _item ) : ?>
38
38
<?php if (!$ _item ->getOrderItem ()->getParentItem ()) : ?>
39
39
<tbody>
40
40
<?= $ block ->getItemHtml ($ _item ) ?>
Original file line number Diff line number Diff line change 8
8
<?php $ _creditmemo = $ block ->getCreditmemo () ?>
9
9
<?php if ($ _creditmemo ) : ?>
10
10
<?php $ _creditmemos = [$ _creditmemo ]; ?>
11
- <?php else : ?>
11
+ <?php else : ?>
12
12
<?php $ _creditmemos = $ _order ->getCreditmemosCollection () ?>
13
13
<?php endif ; ?>
14
14
<?php foreach ($ _creditmemos as $ _creditmemo ) : ?>
You can’t perform that action at this time.
0 commit comments