Skip to content

Commit 7f50fc0

Browse files
author
Natalia Momotenko
committed
Merge remote-tracking branch 'origin/MAGETWO-37630-PR' into PR
2 parents 44f27f0 + 336ab80 commit 7f50fc0

File tree

8 files changed

+26
-9
lines changed

8 files changed

+26
-9
lines changed

app/code/Magento/OfflinePayments/view/adminhtml/templates/info/purchaseorder.phtml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,10 @@
44
* See COPYING.txt for license details.
55
*/
66
?>
7-
<p><?php echo $block->escapeHtml($block->getMethod()->getTitle()) ?></p>
8-
<p><?php echo __('Purchase Order Number: %1', $block->escapeHtml($block->getInfo()->getPoNumber())) ?></p>
7+
<div class="order-payment-method-name"><?php echo $block->escapeHtml($block->getMethod()->getTitle()); ?></div>
8+
<table class="data-table admin__table-secondary">
9+
<tr>
10+
<th><?php echo $block->escapeHtml(__('Purchase Order Number')); ?>:</th>
11+
<td><?php echo $block->escapeHtml($block->getInfo()->getPoNumber()); ?></td>
12+
</tr>
13+
</table>

app/code/Magento/Payment/view/adminhtml/templates/info/default.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<?php echo $block->escapeHtml($block->getMethod()->getTitle()) ?>
1616

1717
<?php if ($_specificInfo = $block->getSpecificInformation()):?>
18-
<table class="data-table">
18+
<table class="data-table admin__table-secondary">
1919
<?php foreach ($_specificInfo as $_label => $_value):?>
2020
<tr>
2121
<th><?php echo $block->escapeHtml($_label)?>:</th>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<span class="title"><?php echo __('Payment Information') ?></span>
2626
</div>
2727
<div class="admin__page-section-item-content">
28-
<div><?php echo $block->getChildHtml('order_payment') ?></div>
28+
<div class="order-payment-method-title"><?php echo $block->getChildHtml('order_payment') ?></div>
2929
<div class="order-payment-currency"><?php echo __('The order was placed using %1.', $_order->getOrderCurrencyCode()) ?></div>
3030
<div class="order-payment-additional"><?php echo $block->getChildHtml('order_payment_additional'); ?></div>
3131
</div>

app/code/Magento/Sales/view/adminhtml/templates/order/invoice/create/form.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<span class="title"><?php echo __('Payment Information') ?></span>
2323
</div>
2424
<div class="admin__page-section-item-content">
25-
<div><?php echo $block->getChildHtml('order_payment') ?></div>
25+
<div class="order-payment-method-title"><?php echo $block->getChildHtml('order_payment') ?></div>
2626
<div class="order-payment-currency"><?php echo __('The order was placed using %1.', $_order->getOrderCurrencyCode()) ?></div>
2727
<div class="order-payment-additional"><?php echo $block->getChildHtml('order_payment_additional'); ?></div>
2828
</div>

app/code/Magento/Sales/view/adminhtml/templates/order/invoice/view/form.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<span class="title"><?php echo __('Payment Information') ?></span>
2323
</div>
2424
<div class="admin__page-section-item-content">
25-
<div><?php echo $block->getChildHtml('order_payment') ?></div>
25+
<div class="order-payment-method-title"><?php echo $block->getChildHtml('order_payment') ?></div>
2626
<div class="order-payment-currency">
2727
<?php echo __('The order was placed using %1.', $_order->getOrderCurrencyCode()) ?>
2828
</div>

app/code/Magento/Sales/view/adminhtml/templates/order/view/tab/info.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<span class="title"><?php echo __('Payment Information') ?></span>
2929
</div>
3030
<div class="admin__page-section-item-content">
31-
<div><?php echo $block->getPaymentHtml() ?></div>
31+
<div class="order-payment-method-title"><?php echo $block->getPaymentHtml() ?></div>
3232
<div class="order-payment-currency"><?php echo __('The order was placed using %1.', $_order->getOrderCurrencyCode()) ?></div>
3333
<div class="order-payment-additional"><?php echo $block->getChildHtml('order_payment_additional'); ?></div>
3434
</div>

app/design/adminhtml/Magento/backend/Magento_Sales/web/css/source/module/order/_items.less

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
.data-grid {
3636
.action-configure {
3737
float: right;
38+
&.disabled {
39+
display: none;
40+
}
3841
}
3942
.col-id,
4043
.col-price,

app/design/adminhtml/Magento/backend/Magento_Sales/web/css/source/module/order/_payment-shipping.less

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
.admin__payment-method-wapper {
1111
margin: 0;
1212
.admin__field {
13-
margin-left: -4rem;
13+
margin-left: 0;
1414
&:first-child {
1515
margin-top: 1.5rem;
1616
}
@@ -81,11 +81,20 @@
8181
}
8282
}
8383

84-
.order-payment-method-title,
8584
.shipping-description-title {
8685
font-weight: @font-weight__bold;
8786
}
8887

8988
.action-create-label {
9089
margin: @indent__s 0;
9190
}
91+
92+
.order-payment-method-title {
93+
+ .order-payment-currency {
94+
margin-top: @indent__s;
95+
}
96+
.admin__table-secondary {
97+
margin-top: @indent__s;
98+
&:extend(.abs-admin__table-secondary-edit-order all);
99+
}
100+
}

0 commit comments

Comments
 (0)