File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Sales/view/adminhtml/templates/order/create/billing/method Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 25
25
type="radio" name="payment[method]"
26
26
title="<?= $ block ->escapeHtml ($ _method ->getTitle ()); ?> "
27
27
onclick="payment.switchMethod('<?= $ block ->escapeHtml ($ _code ); ?> ')"
28
- <?php if ($ block -> getSelectedMethodCode () == $ _code ) : ?>
28
+ <?php if ($ currentSelectedMethod == $ _code ) : ?>
29
29
checked="checked"
30
30
<?php endif ; ?>
31
31
<?php $ className = ($ _counter == $ _methodsCount ) ? ' validate-one-required-by-name ' : '' ; ?>
56
56
'Magento_Sales/order/create/form'
57
57
], function(mage) {
58
58
mage.apply();
59
- <?php if ($ _methodsCount != 1 ) : ?>
59
+ <?php if ($ _methodsCount !== 1 ) : ?>
60
60
order.setPaymentMethod('<?= $ block ->escapeHtml ($ currentSelectedMethod ); ?> ');
61
61
<?php else : ?>
62
62
payment.switchMethod('<?= $ block ->escapeHtml ($ currentSelectedMethod ); ?> ');
You can’t perform that action at this time.
0 commit comments