Update AccountTransformer.php

Missing attribute
This commit is contained in:
David Bomba 2017-01-17 08:07:25 +11:00 committed by GitHub
parent 5c8d4cf324
commit 75247248e4

View File

@ -117,6 +117,7 @@ class AccountTransformer extends EntityTransformer
return [ return [
'account_key' => $account->account_key, 'account_key' => $account->account_key,
'name' => $account->present()->name, 'name' => $account->present()->name,
'id_number' => $account->id_number,
'currency_id' => (int) $account->currency_id, 'currency_id' => (int) $account->currency_id,
'timezone_id' => (int) $account->timezone_id, 'timezone_id' => (int) $account->timezone_id,
'date_format_id' => (int) $account->date_format_id, 'date_format_id' => (int) $account->date_format_id,