Expand API with v2 summary endpoint.

This commit is contained in:
James Cole
2023-08-06 07:04:09 +02:00
parent 46412bdc66
commit ffd8aef35f
14 changed files with 1073 additions and 7 deletions

View File

@@ -91,6 +91,7 @@ class OperationsRepository implements OperationsRepositoryInterface
$journalId = (int)$journal['transaction_journal_id'];
$final = [
'amount' => app('steam')->negative($journal['amount']),
'currency_id' => $journal['currency_id'],
'foreign_amount' => null,
'foreign_currency_id' => null,
'foreign_currency_code' => null,