Skip to content

Commit eabcda2

Browse files
committed
Issue-27474 Code style fix
1 parent 424474b commit eabcda2

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
<?php $_order = $_creditMemo->getOrder() ?>
1717

1818
<?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+
);
2727
?>
2828

2929
<div class="admin__page-section creditmemo-view-information">

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@
1515
<?php $_invoice = $block->getInvoice() ?>
1616
<?php $_order = $_invoice->getOrder() ?>
1717

18-
<?php $invoiceAdminDate = $block->formatDate(
18+
<?php
19+
$invoiceAdminDate = $block->formatDate(
1920
$block->getCreatedAtAdminDate($_invoice->getCreatedAt()),
2021
\IntlDateFormatter::MEDIUM,
2122
true
22-
);
23+
);
2324
?>
2425

2526
<section class="admin__page-section invoice-view-information">

app/code/Magento/Shipping/view/adminhtml/templates/view/form.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ $order = $shipment->getOrder();
2121
?>
2222

2323
<?php
24-
$shipmentAdminDate = $block->formatDate(
24+
$shipmentAdminDate = $block->formatDate(
2525
$block->getCreatedAtAdminDate($shipment->getCreatedAt()),
2626
\IntlDateFormatter::MEDIUM,
2727
true
28-
);
28+
);
2929
?>
3030

3131
<div class="admin__page-section shipment-view-information">

0 commit comments

Comments
 (0)