mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 22:07:33 -05:00 
			
		
		
		
	Add invoice_id to credit transformer
This commit is contained in:
		
							parent
							
								
									34b33bc917
								
							
						
					
					
						commit
						f25f905108
					
				@ -131,6 +131,7 @@ class CreditTransformer extends EntityTransformer
 | 
			
		||||
            'exchange_rate' => (float) $credit->exchange_rate,
 | 
			
		||||
            'paid_to_date' => (float) $credit->paid_to_date,
 | 
			
		||||
            'subscription_id' => $this->encodePrimaryKey($credit->subscription_id),
 | 
			
		||||
            'invoice_id' => $credit->invoice_id ? $this->encodePrimaryKey($credit->invoice_id) : '',
 | 
			
		||||
        ];
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user