File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
app/code/Magento/OrderCancellationUi/view/frontend/templates Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 4
4
* All Rights Reserved.
5
5
*/
6
6
?>
7
+ <?php
8
+ /** @var $escaper Magento\Framework\Escaper */
9
+ ?>
7
10
<div id="cancel-order-modal-<?= /* @noEscape */ $ block ->getOrder ()->getId () ?> ">
8
11
<div class="modal-body-content">
9
- <h3><?= $ block ->escapeHtml (__ ('Cancel order ' )) ?>
12
+ <h3><?= $ escaper ->escapeHtml (__ ('Cancel order ' )) ?>
10
13
<span class="cancel-order-id"><?= /* @noEscape */ $ block ->getOrder ()->getRealOrderId () ?> </span>
11
14
</h3>
12
- <p><?= $ block ->escapeHtml (__ ('Provide a cancellation reason: ' )) ?> </p>
15
+ <p><?= $ escaper ->escapeHtml (__ ('Provide a cancellation reason: ' )) ?> </p>
13
16
<form>
14
17
<select id="cancel-order-reason-<?= /* @noEscape */ $ block ->getOrder ()->getId () ?> "
15
18
class="cancel-order-reason" name="reason">
16
19
<?php foreach ($ block ->getReasons () as $ key => $ description ): ?>
17
- <option value="<?= $ block ->escapeHtml (__ ($ description )) ?> ">
18
- <?= $ block ->escapeHtml (__ ($ description )) ?>
20
+ <option value="<?= $ escaper ->escapeHtml (__ ($ description )) ?> ">
21
+ <?= $ escaper ->escapeHtml (__ ($ description )) ?>
19
22
</option>
20
23
<?php endforeach ; ?>
21
24
</select>
You can’t perform that action at this time.
0 commit comments