Make sure each source of transactions stores where it's from.

This commit is contained in:
James Cole
2018-09-05 19:45:59 +02:00
parent 2afbef63aa
commit b1cc17d96e
10 changed files with 16 additions and 4 deletions

View File

@@ -73,6 +73,7 @@ class TransactionRequest extends Request
'invoice_date' => $this->date('invoice_date'),
'internal_reference' => $this->string('internal_reference'),
'notes' => $this->string('notes'),
'original-source' => sprintf('api-v%s', config('firefly.api_version')),
'transactions' => $this->getTransactionData(),
];