mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 10:53:35 -05:00 
			
		
		
		
	Fixes for refresh route - firstload/mini_loader
This commit is contained in:
		
							parent
							
								
									f7a4588371
								
							
						
					
					
						commit
						69b496f8b4
					
				@ -238,6 +238,8 @@ class SubscriptionService
 | 
			
		||||
     */
 | 
			
		||||
    private function calculateProRataRefund($invoice) :float
 | 
			
		||||
    {
 | 
			
		||||
        if(!$this->invoice->date)
 | 
			
		||||
            return 0;
 | 
			
		||||
        
 | 
			
		||||
        $start_date = Carbon::parse($invoice->date);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user