Skip to content

Commit c43eac4

Browse files
committed
Move creditmemo locale revert to below insertTotal
1 parent d610ae7 commit c43eac4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/code/Magento/Sales/Model/Order/Pdf/Creditmemo.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@ public function getPdf($creditmemos = [])
184184
}
185185
/* Add totals */
186186
$this->insertTotals($page, $creditmemo);
187+
if ($creditmemo->getStoreId()) {
188+
$this->_localeResolver->revert();
189+
}
187190
}
188191
$this->_afterGetPdf();
189192
return $pdf;

0 commit comments

Comments
 (0)