File tree 10 files changed +7
-16
lines changed
Bundle/view/frontend/templates/sales/order
Sales/view/frontend/templates/order
Shipping/view/frontend/templates
10 files changed +7
-16
lines changed Original file line number Diff line number Diff line change 12
12
13
13
<?php $ items = $ block ->getChildren ($ parentItem ) ?>
14
14
<?php $ _order = $ block ->getItem ()->getOrderItem ()->getOrder () ?>
15
- <?php $ _count = count ($ items ) ?>
16
15
<?php $ _index = 0 ?>
17
16
18
17
<?php $ _prevOptionId = '' ?>
Original file line number Diff line number Diff line change 12
12
<?php $ _order = $ block ->getItem ()->getOrderItem ()->getOrder () ?>
13
13
14
14
<?php $ items = $ block ->getChildren ($ parentItem ) ?>
15
- <?php $ _count = count ($ items ) ?>
16
15
<?php $ _index = 0 ?>
17
16
18
17
<?php $ _prevOptionId = '' ?>
Original file line number Diff line number Diff line change 10
10
?>
11
11
<?php $ parentItem = $ block ->getItem () ?>
12
12
<?php $ items = array_merge ([$ parentItem ], $ parentItem ->getChildrenItems ()); ?>
13
- <?php $ _count = count ($ items ) ?>
14
13
<?php $ _index = 0 ?>
15
14
16
15
<?php $ _prevOptionId = '' ?>
Original file line number Diff line number Diff line change 12
12
<?php $ parentItem = $ block ->getItem () ?>
13
13
<?php $ items = array_merge ([$ parentItem ->getOrderItem ()], $ parentItem ->getOrderItem ()->getChildrenItems ()) ?>
14
14
<?php $ shipItems = $ block ->getChildren ($ parentItem ) ?>
15
- <?php $ _count = count ($ items ) ?>
16
15
<?php $ _index = 0 ?>
17
16
18
17
<?php $ _prevOptionId = '' ?>
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ public function getText()
71
71
return __ (
72
72
'One or more <a href="%1">indexers are invalid</a>. Make sure your <a href="%2" target="_blank">Magento cron job</a> is running. ' ,
73
73
$ url ,
74
- 'http://devdocs.magento.com/guides/v2.0 /config-guide/cli/config-cli-subcommands-cron.html#config-cli-cron-bkg '
74
+ 'http://devdocs.magento.com/guides/v2.2 /config-guide/cli/config-cli-subcommands-cron.html#create-or-remove-the-magento-crontab '
75
75
);
76
76
//@codingStandardsIgnoreEnd
77
77
}
Original file line number Diff line number Diff line change 40
40
</tr>
41
41
</thead>
42
42
<?php $ _items = $ _creditmemo ->getAllItems (); ?>
43
- <?php $ _count = count ($ _items ) ?>
44
43
<?php foreach ($ _items as $ _item ): ?>
45
44
<?php if ($ _item ->getOrderItem ()->getParentItem ()) {
46
45
continue ;
Original file line number Diff line number Diff line change 37
37
</tr>
38
38
</thead>
39
39
<?php $ _items = $ _invoice ->getAllItems (); ?>
40
- <?php $ _count = count ($ _items ) ?>
41
40
<?php foreach ($ _items as $ _item ): ?>
42
41
<?php if ($ _item ->getOrderItem ()->getParentItem ()) {
43
42
continue ;
Original file line number Diff line number Diff line change 34
34
</tr>
35
35
</thead>
36
36
<?php $ _items = $ _creditmemo ->getAllItems (); ?>
37
- <?php $ _count = count ($ _items ); ?>
38
37
<?php foreach ($ _items as $ _item ): ?>
39
- <?php if ($ _item ->getOrderItem ()->getParentItem ()) {
40
- continue ;
41
- } ?>
38
+ <?php if ($ _item ->getOrderItem ()->getParentItem ()): ?>
39
+ continue;
40
+ <?php endif ; ?>
42
41
<tbody>
43
42
<?= $ block ->getItemHtml ($ _item ) ?>
44
43
</tbody>
Original file line number Diff line number Diff line change 32
32
</tr>
33
33
</thead>
34
34
<?php $ _items = $ _invoice ->getItemsCollection (); ?>
35
- <?php $ _count = $ _items ->count (); ?>
36
35
<?php foreach ($ _items as $ _item ): ?>
37
- <?php if ($ _item ->getOrderItem ()->getParentItem ()) {
38
- continue ;
39
- } ?>
36
+ <?php if ($ _item ->getOrderItem ()->getParentItem ()): ?>
37
+ continue;
38
+ <?php endif ; ?>
40
39
<tbody>
41
40
<?= $ block ->getItemHtml ($ _item ) ?>
42
41
</tbody>
Original file line number Diff line number Diff line change 66
66
</tr>
67
67
</thead>
68
68
<?php $ _items = $ _shipment ->getAllItems (); ?>
69
- <?php $ _count = count ($ _items ) ?>
70
69
<?php foreach ($ _items as $ _item ): ?>
71
70
<?php if ($ _item ->getOrderItem ()->getParentItem ()) {
72
71
continue ;
You can’t perform that action at this time.
0 commit comments