File tree Expand file tree Collapse file tree 5 files changed +10
-5
lines changed
OfflinePayments/view/adminhtml/templates/info
Payment/view/adminhtml/templates/info Expand file tree Collapse file tree 5 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 7
7
/**
8
8
* @var $block \Magento\OfflinePayments\Block\Info\Checkmo
9
9
*/
10
+ $ paymentTitle = $ block ->getMethod ()->getConfigData ('title ' , $ block ->getInfo ()->getOrder ()->getStoreId ());
10
11
?>
11
- <?= $ block ->escapeHtml ($ block -> getMethod ()-> getTitle () ) ?>
12
+ <?= $ block ->escapeHtml ($ paymentTitle ) ?>
12
13
<?php if ($ block ->getInfo ()->getAdditionalInformation ()) : ?>
13
14
<?php if ($ block ->getPayableTo ()) : ?>
14
15
<br /><?= $ block ->escapeHtml (__ ('Make Check payable to: %1 ' , $ block ->getPayableTo ())) ?>
Original file line number Diff line number Diff line change 7
7
/**
8
8
* @var $block \Magento\OfflinePayments\Block\Info\Checkmo
9
9
*/
10
+ $ paymentTitle = $ block ->getMethod ()->getConfigData ('title ' , $ block ->getInfo ()->getOrder ()->getStoreId ());
10
11
?>
11
- <?= $ block ->escapeHtml ($ block -> getMethod ()-> getTitle () ) ?>
12
+ <?= $ block ->escapeHtml ($ paymentTitle ) ?>
12
13
{{pdf_row_separator}}
13
14
<?php if ($ block ->getInfo ()->getAdditionalInformation ()) : ?>
14
15
{{pdf_row_separator}}
Original file line number Diff line number Diff line change 6
6
/**
7
7
* @var $block \Magento\OfflinePayments\Block\Info\Purchaseorder
8
8
*/
9
+ $ paymentTitle = $ block ->getMethod ()->getConfigData ('title ' , $ block ->getInfo ()->getOrder ()->getStoreId ());
9
10
?>
10
- <div class="order-payment-method-name"><?= $ block ->escapeHtml ($ block -> getMethod ()-> getTitle () ) ?> </div>
11
+ <div class="order-payment-method-name"><?= $ block ->escapeHtml ($ paymentTitle ) ?> </div>
11
12
<table class="data-table admin__table-secondary">
12
13
<tr>
13
14
<th><?= $ block ->escapeHtml (__ ('Purchase Order Number ' )) ?> :</th>
Original file line number Diff line number Diff line change 9
9
* @see \Magento\Payment\Block\Info
10
10
*/
11
11
$ specificInfo = $ block ->getSpecificInformation ();
12
+ $ paymentTitle = $ block ->getMethod ()->getConfigData ('title ' , $ block ->getInfo ()->getOrder ()->getStoreId ());
12
13
?>
13
- <?= $ block ->escapeHtml ($ block -> getMethod ()-> getTitle () ) ?>
14
+ <?= $ block ->escapeHtml ($ paymentTitle ) ?>
14
15
15
16
<?php if ($ specificInfo ) : ?>
16
17
<table class="data-table admin__table-secondary">
Original file line number Diff line number Diff line change 8
8
* @see \Magento\Payment\Block\Info
9
9
* @var \Magento\Payment\Block\Info $block
10
10
*/
11
+ $ paymentTitle = $ block ->getMethod ()->getConfigData ('title ' , $ block ->getInfo ()->getOrder ()->getStoreId ());
11
12
?>
12
- <?= $ block ->escapeHtml ($ block -> getMethod ()-> getTitle () ) ?> {{pdf_row_separator}}
13
+ <?= $ block ->escapeHtml ($ paymentTitle ) ?> {{pdf_row_separator}}
13
14
14
15
<?php if ($ specificInfo = $ block ->getSpecificInformation ()) : ?>
15
16
<?php foreach ($ specificInfo as $ label => $ value ) : ?>
You can’t perform that action at this time.
0 commit comments