05/27 Sync with iPad app
This commit is contained in:
@@ -70,6 +70,13 @@ def _issue_payload(issue):
|
|||||||
'photo_path': issue.photo_path or None,
|
'photo_path': issue.photo_path or None,
|
||||||
'mobile_photo_paths': issue.mobile_photo_paths or [],
|
'mobile_photo_paths': issue.mobile_photo_paths or [],
|
||||||
'result_photos': issue.result_photos or [],
|
'result_photos': issue.result_photos or [],
|
||||||
|
# Resolution details — set by web staff after fixing the issue.
|
||||||
|
'result_notes': issue.result_notes or None,
|
||||||
|
# Verification fields — set after a director/admin confirms fix.
|
||||||
|
'verified_at': issue.verified_at.isoformat() if issue.verified_at else None,
|
||||||
|
'verification_note': issue.verification_note or None,
|
||||||
|
# Reporter display name — shows who filed the issue.
|
||||||
|
'reported_by_name': issue.reporter.display_name if issue.reporter else None,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user