Files
crater/app/Http/Controllers/V1/Dashboard
Patrick Lucas 3cf70135f3 Only show non-draft invoices on dashboard
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.
2021-05-26 10:49:08 +02:00
..