mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-14 17:33:43 -06:00
Add debug info to currency screen.
This commit is contained in:
parent
e29e6c147c
commit
ec072cee23
@ -108,6 +108,7 @@ class TransactionFactory
|
|||||||
{
|
{
|
||||||
Log::debug('Start of TransactionFactory::createPair()', $data);
|
Log::debug('Start of TransactionFactory::createPair()', $data);
|
||||||
// all this data is the same for both transactions:
|
// all this data is the same for both transactions:
|
||||||
|
Log::debug('Searching for currency info.');
|
||||||
$currency = $this->findCurrency($data['currency_id'], $data['currency_code']);
|
$currency = $this->findCurrency($data['currency_id'], $data['currency_code']);
|
||||||
$description = $journal->description === $data['description'] ? null : $data['description'];
|
$description = $journal->description === $data['description'] ? null : $data['description'];
|
||||||
|
|
||||||
@ -164,6 +165,7 @@ class TransactionFactory
|
|||||||
}
|
}
|
||||||
|
|
||||||
// set foreign currency
|
// set foreign currency
|
||||||
|
Log::debug('Trying to find foreign currency information.');
|
||||||
$foreign = $this->findCurrency($data['foreign_currency_id'], $data['foreign_currency_code']);
|
$foreign = $this->findCurrency($data['foreign_currency_id'], $data['foreign_currency_code']);
|
||||||
$this->setForeignCurrency($source, $foreign);
|
$this->setForeignCurrency($source, $foreign);
|
||||||
$this->setForeignCurrency($dest, $foreign);
|
$this->setForeignCurrency($dest, $foreign);
|
||||||
|
Loading…
Reference in New Issue
Block a user