mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 23:57:33 -05:00 
			
		
		
		
	Log Reminders
This commit is contained in:
		
							parent
							
								
									4c8a486461
								
							
						
					
					
						commit
						cd82ce0764
					
				@ -53,6 +53,8 @@ class ReminderJob implements ShouldQueue
 | 
			
		||||
 | 
			
		||||
    private function processReminders()
 | 
			
		||||
    {
 | 
			
		||||
        nlog("Sending invoice reminders " . now()->format('Y-m-d h:i:s'));
 | 
			
		||||
 | 
			
		||||
        Invoice::whereDate('next_send_date', '<=', now())
 | 
			
		||||
                 ->where('is_deleted', 0)
 | 
			
		||||
                 ->whereIn('status_id', [Invoice::STATUS_SENT, Invoice::STATUS_PARTIAL])
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user