Export data in API.

This commit is contained in:
James Cole
2021-03-04 06:28:16 +01:00
parent fcf578784f
commit 711999f589
8 changed files with 412 additions and 47 deletions

View File

@@ -135,7 +135,7 @@ class AccountController extends Controller
'name' => $accountNames[$accountId],
'difference' => bcmul($diff, '-1'),
'difference_float' => ((float)$diff) * -1,
'currency_id' => $currencyId,
'currency_id' => (string) $currencyId,
'currency_code' => $currencies[$currencyId]->code,
];
}