File tree Expand file tree Collapse file tree 8 files changed +26
-9
lines changed
OfflinePayments/view/adminhtml/templates/info
Payment/view/adminhtml/templates/info
Sales/view/adminhtml/templates/order
design/adminhtml/Magento/backend/Magento_Sales/web/css/source/module/order Expand file tree Collapse file tree 8 files changed +26
-9
lines changed Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
?>
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>
Original file line number Diff line number Diff line change 15
15
<?php echo $ block ->escapeHtml ($ block ->getMethod ()->getTitle ()) ?>
16
16
17
17
<?php if ($ _specificInfo = $ block ->getSpecificInformation ()):?>
18
- <table class="data-table">
18
+ <table class="data-table admin__table-secondary ">
19
19
<?php foreach ($ _specificInfo as $ _label => $ _value ):?>
20
20
<tr>
21
21
<th><?php echo $ block ->escapeHtml ($ _label )?> :</th>
Original file line number Diff line number Diff line change 25
25
<span class="title"><?php echo __ ('Payment Information ' ) ?> </span>
26
26
</div>
27
27
<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>
29
29
<div class="order-payment-currency"><?php echo __ ('The order was placed using %1. ' , $ _order ->getOrderCurrencyCode ()) ?> </div>
30
30
<div class="order-payment-additional"><?php echo $ block ->getChildHtml ('order_payment_additional ' ); ?> </div>
31
31
</div>
Original file line number Diff line number Diff line change 22
22
<span class="title"><?php echo __ ('Payment Information ' ) ?> </span>
23
23
</div>
24
24
<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>
26
26
<div class="order-payment-currency"><?php echo __ ('The order was placed using %1. ' , $ _order ->getOrderCurrencyCode ()) ?> </div>
27
27
<div class="order-payment-additional"><?php echo $ block ->getChildHtml ('order_payment_additional ' ); ?> </div>
28
28
</div>
Original file line number Diff line number Diff line change 22
22
<span class="title"><?php echo __ ('Payment Information ' ) ?> </span>
23
23
</div>
24
24
<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>
26
26
<div class="order-payment-currency">
27
27
<?php echo __ ('The order was placed using %1. ' , $ _order ->getOrderCurrencyCode ()) ?>
28
28
</div>
Original file line number Diff line number Diff line change 28
28
<span class="title"><?php echo __ ('Payment Information ' ) ?> </span>
29
29
</div>
30
30
<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>
32
32
<div class="order-payment-currency"><?php echo __ ('The order was placed using %1. ' , $ _order ->getOrderCurrencyCode ()) ?> </div>
33
33
<div class="order-payment-additional"><?php echo $ block ->getChildHtml ('order_payment_additional ' ); ?> </div>
34
34
</div>
Original file line number Diff line number Diff line change 35
35
.data-grid {
36
36
.action-configure {
37
37
float : right ;
38
+ & .disabled {
39
+ display : none ;
40
+ }
38
41
}
39
42
.col-id ,
40
43
.col-price ,
Original file line number Diff line number Diff line change 10
10
.admin__payment-method-wapper {
11
11
margin : 0 ;
12
12
.admin__field {
13
- margin-left : -4 rem ;
13
+ margin-left : 0 ;
14
14
& :first-child {
15
15
margin-top : 1.5rem ;
16
16
}
81
81
}
82
82
}
83
83
84
- .order-payment-method-title ,
85
84
.shipping-description-title {
86
85
font-weight : @font-weight__bold ;
87
86
}
88
87
89
88
.action-create-label {
90
89
margin : @indent__s 0 ;
91
90
}
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
+ }
You can’t perform that action at this time.
0 commit comments