1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Merge pull request #788 from joshuadwire/attached-documents

Fix invoicing of expenses
This commit is contained in:
Hillel Coren 2016-03-27 21:09:56 +03:00
commit 13cec052b9

View File

@ -95,7 +95,7 @@ class Expense extends EntityModel
{ {
$array = parent::toArray(); $array = parent::toArray();
if(empty($this->visible) || in_array('converted_amount', $this->visible))$array['previewconverted_amount_url'] = $this->convertedAmount(); if(empty($this->visible) || in_array('converted_amount', $this->visible))$array['converted_amount'] = $this->convertedAmount();
return $array; return $array;
} }