Skip to content

Commit e20cbb9

Browse files
authored
Adjustments values were not loaded after the ajax refresh triggered by the "Update Qty's" button
Adjustments values were not loaded after the ajax refresh triggered by the "Update Qty's" button. The function named getBaseAdjustmentFeePositive() should be $_source->getBaseAdjustmentPositive() without the Fee in order to work.
1 parent 927a6e2 commit e20cbb9

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Sales/view/adminhtml/templates/order/creditmemo/create/totals

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<td>
2525
<input type="text"
2626
name="creditmemo[adjustment_positive]"
27-
value="<?= /* @escapeNotVerified */ $_source->getBaseAdjustmentFeePositive()*1 ?>"
27+
value="<?= /* @escapeNotVerified */ $_source->getBaseAdjustmentPositive()*1 ?>"
2828
class="input-text admin__control-text not-negative-amount"
2929
id="adjustment_positive" />
3030
</td>
@@ -34,7 +34,7 @@
3434
<td>
3535
<input type="text"
3636
name="creditmemo[adjustment_negative]"
37-
value="<?= /* @escapeNotVerified */ $_source->getBaseAdjustmentFeeNegative()*1 ?>"
37+
value="<?= /* @escapeNotVerified */ $_source->getBaseAdjustmentNegative()*1 ?>"
3838
class="input-text admin__control-text not-negative-amount"
3939
id="adjustment_negative"/>
4040
<script>

0 commit comments

Comments
 (0)