Add date to compare hash.

This commit is contained in:
James Cole
2025-06-25 19:43:03 +02:00
parent e0c76695ee
commit ff222795cf
2 changed files with 4 additions and 2 deletions

View File

@@ -440,6 +440,7 @@ class TransactionGroupRepository implements TransactionGroupRepositoryInterface,
/** @var TransactionJournal $journal */
foreach ($group->transactionJournals as $journal) {
$names = sprintf('%s%s', $names, $journal->date->format('Y-m-d-H:i:s'));
/** @var Transaction $transaction */
foreach ($journal->transactions as $transaction) {
if (-1 === bccomp('0', (string)$transaction->amount)) {