File tree Expand file tree Collapse file tree 3 files changed +13
-12
lines changed
Sales/view/adminhtml/templates/order
Shipping/view/adminhtml/templates/view Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 16
16
<?php $ _order = $ _creditMemo ->getOrder () ?>
17
17
18
18
<?php
19
- $ creditMemoStatus = isset ($ _creditMemo ->getStates ()[$ _creditMemo ->getState ()])
20
- ? $ _creditMemo ->getStates ()[$ _creditMemo ->getState ()]
21
- : null ;
22
- $ memoAdminDate = $ block ->formatDate (
23
- $ block ->getCreatedAtAdminDate ($ _creditMemo ->getCreatedAt ()),
24
- \ IntlDateFormatter::MEDIUM ,
25
- true
26
- );
19
+ $ creditMemoStatus = isset ($ _creditMemo ->getStates ()[$ _creditMemo ->getState ()])
20
+ ? $ _creditMemo ->getStates ()[$ _creditMemo ->getState ()]
21
+ : null ;
22
+ $ memoAdminDate = $ block ->formatDate (
23
+ $ block ->getCreatedAtAdminDate ($ _creditMemo ->getCreatedAt ()),
24
+ IntlDateFormatter::MEDIUM ,
25
+ true
26
+ );
27
27
?>
28
28
29
29
<div class="admin__page-section creditmemo-view-information">
Original file line number Diff line number Diff line change 15
15
<?php $ _invoice = $ block ->getInvoice () ?>
16
16
<?php $ _order = $ _invoice ->getOrder () ?>
17
17
18
- <?php $ invoiceAdminDate = $ block ->formatDate (
18
+ <?php
19
+ $ invoiceAdminDate = $ block ->formatDate (
19
20
$ block ->getCreatedAtAdminDate ($ _invoice ->getCreatedAt ()),
20
21
\IntlDateFormatter::MEDIUM ,
21
22
true
22
- );
23
+ );
23
24
?>
24
25
25
26
<section class="admin__page-section invoice-view-information">
Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ $order = $shipment->getOrder();
21
21
?>
22
22
23
23
<?php
24
- $ shipmentAdminDate = $ block ->formatDate (
24
+ $ shipmentAdminDate = $ block ->formatDate (
25
25
$ block ->getCreatedAtAdminDate ($ shipment ->getCreatedAt ()),
26
26
\IntlDateFormatter::MEDIUM ,
27
27
true
28
- );
28
+ );
29
29
?>
30
30
31
31
<div class="admin__page-section shipment-view-information">
You can’t perform that action at this time.
0 commit comments