Can now import and handle external ID field.

This commit is contained in:
James Cole
2018-04-29 10:13:33 +02:00
parent 71b63bd33b
commit 49138eb03a
5 changed files with 90 additions and 70 deletions

View File

@@ -91,7 +91,7 @@ class TransactionJournalFactory
// store date meta fields (if present):
$fields = ['sepa-cc', 'sepa-ct-op', 'sepa-ct-id', 'sepa-db', 'sepa-country', 'sepa-ep', 'sepa-ci', 'interest_date', 'book_date', 'process_date',
'due_date', 'payment_date', 'invoice_date', 'internal_reference', 'bunq_payment_id','importHash'];
'due_date', 'payment_date', 'invoice_date', 'internal_reference', 'bunq_payment_id', 'importHash', 'external_id'];
foreach ($fields as $field) {
$this->storeMeta($journal, $data, $field);