🤖 Auto commit for release 'develop' on 2026-02-21

This commit is contained in:
JC5
2026-02-21 16:14:27 +01:00
parent 84f4f63104
commit c27e9873b2
5 changed files with 8 additions and 9 deletions

View File

@@ -184,11 +184,7 @@ class ReportController extends Controller
$currencyDecimalPlaces = (int) $journal['currency_decimal_places'];
$amount = (string) $journal['amount'];
if (
$this->convertToPrimary
&& null !== $this->primaryCurrency
&& $journal['currency_id'] !== $this->primaryCurrency->id
) {
if ($this->convertToPrimary && null !== $this->primaryCurrency && $journal['currency_id'] !== $this->primaryCurrency->id) {
$currencyId = $this->primaryCurrency->id;
$currencySymbol = $this->primaryCurrency->symbol;
$currencyCode = $this->primaryCurrency->code;