Add currency controls to API

This commit is contained in:
James Cole
2018-04-13 17:28:11 +02:00
parent 90cf7a3bf5
commit 67fa4a0fc7
8 changed files with 422 additions and 4 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'];
'due_date', 'payment_date', 'invoice_date', 'internal_reference', 'bunq_payment_id','importHash'];
foreach ($fields as $field) {
$this->storeMeta($journal, $data, $field);