Skip to content

Commit a3d1c8a

Browse files
committed
MC-17003: Update Totals button is missing from Credit Memo page
1 parent 4ebdd17 commit a3d1c8a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/code/Magento/Sales/view/adminhtml/templates/order/creditmemo/create/items.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ $_items = $block->getCreditmemo()->getAllItems();
104104
<span class="title"><?= $block->escapeHtml(__('Refund Totals')) ?></span>
105105
</div>
106106
<?= $block->getChildHtml('creditmemo_totals') ?>
107-
<div class="totals-actions"><?= $viewModel->getUpdateTotalsButton() ?></div>
107+
<div class="totals-actions"><?= /* @noEscape */ $viewModel->getUpdateTotalsButton() ?></div>
108108
<div class="order-totals-actions">
109109
<div class="field choice admin__field admin__field-option field-append-comments">
110110
<input id="notify_customer"

dev/tests/functional/tests/app/Magento/Sales/Test/TestStep/CreateCreditMemoStep.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ public function run()
100100
if ($hasChangeTotals) {
101101
$this->orderCreditMemoNew->getTotalsBlock()->clickUpdateTotals();
102102
}
103+
$this->orderCreditMemoNew->getFormBlock()->submit();
103104
}
104105

105106
return [

0 commit comments

Comments
 (0)