mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 21:44:51 +00: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.