mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-31 13:41:09 -04:00 
			
		
		
		
	An invoice cannot be considered due if it has not been sent (and thus still a 'DRAFT'). This change adds a `WHERE status != 'DRAFT'` to each invoice query in the dashboard controller. Additionally, this change replaces `->get()->count()` calls to just `->count()`, which should be equivalent and more efficient.