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:
commit
13cec052b9
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user