From 1abd4b6472b9cf1ec99d6a4b21bfdc41637c8742 Mon Sep 17 00:00:00 2001
From: Niek Otten
Date: Mon, 20 Jul 2026 12:15:49 +0200
Subject: [PATCH] feat(portal): real diploma file upload on the self-service
page (refs #103)
Replaces the S-10a stub button with a labelled file input (accept application/pdf);
the component base64-encodes the chosen file client-side and posts it (with its name
and type) keyed by the reference, confirming on success and surfacing a retryable
failure. The upload button stays disabled until a file is chosen.
Co-Authored-By: Claude Opus 4.8 (1M context)
---
.../app/registration/registration-page.html | 11 +++-
.../src/app/registration/registration-page.ts | 57 ++++++++++++++-----
2 files changed, 54 insertions(+), 14 deletions(-)
diff --git a/apps/self-service/src/app/registration/registration-page.html b/apps/self-service/src/app/registration/registration-page.html
index 6910880..255dba4 100644
--- a/apps/self-service/src/app/registration/registration-page.html
+++ b/apps/self-service/src/app/registration/registration-page.html
@@ -19,11 +19,20 @@
Het aanleveren van uw documenten is niet gelukt. Probeer het opnieuw.