Merge pull request #985 from turbo124/develop

Fix typo
This commit is contained in:
David Bomba 2016-07-16 07:52:58 +10:00 committed by GitHub
commit 20c9d661ac
2 changed files with 3 additions and 2 deletions

View File

@ -17,7 +17,7 @@ class InvoiceItemTransformer extends EntityTransformer
'qty' => (float) $item->qty,
'tax_name1' => $item->tax_name1 ? $item->tax_name1 : '',
'tax_rate1' => (float) $item->tax_rate1,
'tax_name2' => $item->tax_name2 ? $item->tax_name1 : '',
'tax_name2' => $item->tax_name2 ? $item->tax_name2 : '',
'tax_rate2' => (float) $item->tax_rate2,
]);
}

View File

@ -32,6 +32,7 @@ class UserAccountTransformer extends EntityTransformer
'token' => $user->account->getToken($user->id, $this->tokenName),
'default_url' => SITE_URL,
'logo' => $user->account->logo,
'logo_url' => $user->account->getLogoURL(),
];
}
}