Add reporting table logic for non repeating reports
Before, reports that were not repeating were not counting as submitted because the submitted status depended on the report being timely. In other words, if the report due date had passed, and you had submitted, then while you had submitted that report, you hadn't submitted the next due one, and it wasn't even started.
This fixes it by adding logic to the query to check if it's a non repeating report, noting that you have submitted the only report that was ever due.
Fixes ots/clients/ardc/hypha-tracker#330: Staff can't see all submitted reports when filtering by a status of 'Submitted' on the Reporting page