Merge pull request #788 from joshuadwire/attached-documents
Fix invoicing of expenses
This commit is contained in:
commit
13cec052b9
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ class Expense extends EntityModel
|
|||
{
|
||||
$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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue