Merge pull request #2300 from alphagov/submit-returned-letters

Add a platform admin page to submit returned letter references
This commit is contained in:
Alexey Bezhan
2018-09-07 15:06:24 +01:00
committed by GitHub
11 changed files with 124 additions and 8 deletions

View File

@@ -39,7 +39,7 @@ from orderedset._orderedset import OrderedSet
from werkzeug.datastructures import MultiDict
SENDING_STATUSES = ['created', 'pending', 'sending', 'pending-virus-check']
DELIVERED_STATUSES = ['delivered', 'sent']
DELIVERED_STATUSES = ['delivered', 'sent', 'returned-letter']
FAILURE_STATUSES = ['failed', 'temporary-failure', 'permanent-failure', 'technical-failure', 'virus-scan-failed']
REQUESTED_STATUSES = SENDING_STATUSES + DELIVERED_STATUSES + FAILURE_STATUSES