mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-27 11:20:39 -06:00
Include IBAN
This commit is contained in:
parent
f1b6b3386a
commit
1542d5e386
@ -105,12 +105,14 @@ class Entry
|
||||
$sourceAccount = $journal->source_account;
|
||||
$entry->setFromAccountId($sourceAccount->id);
|
||||
$entry->setFromAccountName($sourceAccount->name);
|
||||
$entry->setFromAccountIban($sourceAccount->iban);
|
||||
$entry->setFromAccountType($sourceAccount->accountType->type);
|
||||
|
||||
/** @var Account $destination */
|
||||
$destination = $journal->destination_account;
|
||||
$entry->setToAccountId($destination->id);
|
||||
$entry->setToAccountName($destination->name);
|
||||
$entry->setToAccountIban($destination->iban);
|
||||
$entry->setToAccountType($destination->accountType->type);
|
||||
|
||||
return $entry;
|
||||
|
Loading…
Reference in New Issue
Block a user