mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-02 22:57:33 -05:00 
			
		
		
		
	Add invoice filename to tranformer
This commit is contained in:
		
							parent
							
								
									671f2c0fc9
								
							
						
					
					
						commit
						7459d516cf
					
				@ -132,6 +132,7 @@ class InvoiceTransformer extends EntityTransformer
 | 
			
		||||
            'custom_text_value2' => $invoice->custom_text_value2,
 | 
			
		||||
            'is_quote' => (bool) $invoice->isType(INVOICE_TYPE_QUOTE), // Temp to support mobile app
 | 
			
		||||
            'is_public' => (bool) $invoice->is_public,
 | 
			
		||||
            'filename' => $invoice->getFileName(),
 | 
			
		||||
        ]);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user