Add some debug entries.

This commit is contained in:
James Cole
2018-07-09 20:42:16 +02:00
parent f670d930f3
commit c99e233026
4 changed files with 16 additions and 6 deletions

View File

@@ -139,8 +139,10 @@ class ImportTransaction
);
// @codeCoverageIgnoreEnd
case 'account-id':
$mappedValue = $this->getMappedValue($columnValue);
// could be the result of a mapping?
$this->accountId = $this->getMappedValue($columnValue);
$this->accountId = $mappedValue;
Log::debug(sprintf('Going to set the account-id. Original value is "%s", mapped value is "%s".', $columnValue->getValue(), $mappedValue));
break;
case 'account-iban':
$this->accountIban = $columnValue->getValue();
@@ -233,7 +235,9 @@ class ImportTransaction
$this->note = trim($this->note . ' ' . $columnValue->getValue());
break;
case 'opposing-id':
$this->opposingId = $this->getMappedValue($columnValue);
$mappedValue = $this->getMappedValue($columnValue);
$this->opposingId = $mappedValue;
Log::debug(sprintf('Going to set the OPPOSING-id. Original value is "%s", mapped value is "%s".', $columnValue->getValue(), $mappedValue));
break;
case 'opposing-iban':
$this->opposingIban = $columnValue->getValue();