mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 22:47:32 -05: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();
 | 
			
		||||
        
 | 
			
		||||
        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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user