This commit is contained in:
James Cole
2019-08-27 06:55:12 +02:00
parent 9e4f6abf5d
commit d050c0269a
2 changed files with 2 additions and 1 deletions

View File

@@ -58,7 +58,7 @@ class NewFinTSJobHandler implements FinTSConfigurationInterface
$config['fints_bank_code'] = (string)($data['fints_bank_code'] ?? ''); $config['fints_bank_code'] = (string)($data['fints_bank_code'] ?? '');
$config['fints_username'] = (string)($data['fints_username'] ?? ''); $config['fints_username'] = (string)($data['fints_username'] ?? '');
$config['fints_password'] = (string)(Crypt::encrypt($data['fints_password']) ?? ''); // verified $config['fints_password'] = (string)(Crypt::encrypt($data['fints_password']) ?? ''); // verified
$config['apply-rules'] = 1 === (int)$data['apply_rules']; $config['apply-rules'] = 1 === (int)($data['apply_rules'] ?? 0);
// sanitize FinTS URL. // sanitize FinTS URL.
$config['fints_url'] = $this->validURI($config['fints_url']) ? $config['fints_url'] : ''; $config['fints_url'] = $this->validURI($config['fints_url']) ? $config['fints_url'] : '';

View File

@@ -163,6 +163,7 @@ class StageImportDataHandler
'transactions' => [ 'transactions' => [
// single transaction: // single transaction:
[ [
'type' => $type,
'description' => null, 'description' => null,
'amount' => $amount, 'amount' => $amount,
'currency_id' => null, 'currency_id' => null,