mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 04:01:10 -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.