From 6f1e8f05f678677d64b3581a701df8e815c960fb Mon Sep 17 00:00:00 2001 From: Yinyin Liu Date: Fri, 29 May 2026 15:57:50 +0200 Subject: [PATCH] remove step 9 --- .../App/Backend/DataTypes/OnSiteChecklistStepDefinitions.cs | 6 ------ csharp/App/Backend/Database/Db.cs | 4 ++++ .../src/interfaces/OnSiteChecklistTypes.tsx | 5 ----- typescript/frontend-marios2/src/lang/de.json | 5 +---- typescript/frontend-marios2/src/lang/en.json | 5 +---- typescript/frontend-marios2/src/lang/fr.json | 5 +---- typescript/frontend-marios2/src/lang/it.json | 5 +---- 7 files changed, 8 insertions(+), 27 deletions(-) diff --git a/csharp/App/Backend/DataTypes/OnSiteChecklistStepDefinitions.cs b/csharp/App/Backend/DataTypes/OnSiteChecklistStepDefinitions.cs index e28d3b3ae..39214d1b3 100644 --- a/csharp/App/Backend/DataTypes/OnSiteChecklistStepDefinitions.cs +++ b/csharp/App/Backend/DataTypes/OnSiteChecklistStepDefinitions.cs @@ -94,11 +94,5 @@ public static class OnSiteChecklistStepDefinitions {"text":"onSiteStep8Sub11","checked":false} ] """), - new(9, "abschluss", - """ - [ - {"text":"onSiteStep9Sub1","checked":false} - ] - """), }; } diff --git a/csharp/App/Backend/Database/Db.cs b/csharp/App/Backend/Database/Db.cs index e57dbed00..21f06bedb 100644 --- a/csharp/App/Backend/Database/Db.cs +++ b/csharp/App/Backend/Database/Db.cs @@ -168,6 +168,10 @@ public static partial class Db // raw-string JSON form preserving each row's existing checked state. BackfillStep10Sub3(); + // One-time cleanup: step 9 (Abschluss) was removed from the on-site checklist — + // the e-signature block now handles sign-off. Drop any rows seeded before removal. + Connection.Execute("DELETE FROM OnSiteChecklistItem WHERE StepNumber = 9"); + //UpdateKeys(); CleanupSessions().SupressAwaitWarning(); DeleteSnapshots().SupressAwaitWarning(); diff --git a/typescript/frontend-marios2/src/interfaces/OnSiteChecklistTypes.tsx b/typescript/frontend-marios2/src/interfaces/OnSiteChecklistTypes.tsx index 274070c2c..af65b3eb0 100644 --- a/typescript/frontend-marios2/src/interfaces/OnSiteChecklistTypes.tsx +++ b/typescript/frontend-marios2/src/interfaces/OnSiteChecklistTypes.tsx @@ -103,11 +103,6 @@ export const ON_SITE_STEP_META: ReadonlyArray = [ number: 8, titleKey: 'onSiteStep8Title', images: ['step8-batterie-breaker.jpg'] - }, - { - number: 9, - titleKey: 'onSiteStep9Title', - images: [] } ]; diff --git a/typescript/frontend-marios2/src/lang/de.json b/typescript/frontend-marios2/src/lang/de.json index 302aca733..b0f6557b8 100644 --- a/typescript/frontend-marios2/src/lang/de.json +++ b/typescript/frontend-marios2/src/lang/de.json @@ -898,8 +898,5 @@ "onSiteStep8Sub8": "Prüfen, ob alle Geräte angezeigt werden (WR, Batterie, inesco Gateway)", "onSiteStep8Sub9": "Anlage via ESS Link App eröffnen", "onSiteStep8Sub10": "Konfigurieren für den Kunden via ESS Link App", - "onSiteStep8Sub11": "EVU-Zähler vergleichen (gleiche kW-Werte wie im Portal)", - - "onSiteStep9Title": "Abschluss", - "onSiteStep9Sub1": "Checkliste unterschreiben und an inesco energy versenden (kontakt@inesco.energy)" + "onSiteStep8Sub11": "EVU-Zähler vergleichen (gleiche kW-Werte wie im Portal)" } \ No newline at end of file diff --git a/typescript/frontend-marios2/src/lang/en.json b/typescript/frontend-marios2/src/lang/en.json index 95e5d09a0..59de5d1a9 100644 --- a/typescript/frontend-marios2/src/lang/en.json +++ b/typescript/frontend-marios2/src/lang/en.json @@ -646,8 +646,5 @@ "onSiteStep8Sub8": "Check that all devices are shown (inverter, battery, inesco Gateway)", "onSiteStep8Sub9": "Open the system via the ESS Link app", "onSiteStep8Sub10": "Configure for the customer via the ESS Link app", - "onSiteStep8Sub11": "Compare utility meter (same kW values as on the portal)", - - "onSiteStep9Title": "Completion", - "onSiteStep9Sub1": "Sign the checklist and send it to inesco energy (kontakt@inesco.energy)" + "onSiteStep8Sub11": "Compare utility meter (same kW values as on the portal)" } diff --git a/typescript/frontend-marios2/src/lang/fr.json b/typescript/frontend-marios2/src/lang/fr.json index 4047ff254..739956dee 100644 --- a/typescript/frontend-marios2/src/lang/fr.json +++ b/typescript/frontend-marios2/src/lang/fr.json @@ -898,8 +898,5 @@ "onSiteStep8Sub8": "Vérifier que tous les appareils sont affichés (onduleur, batterie, inesco Gateway)", "onSiteStep8Sub9": "Ouvrir l'installation via l'application ESS Link", "onSiteStep8Sub10": "Configurer pour le client via l'application ESS Link", - "onSiteStep8Sub11": "Comparer le compteur de l'utilité (mêmes valeurs kW que sur le portail)", - - "onSiteStep9Title": "Finalisation", - "onSiteStep9Sub1": "Signer la check-list et l'envoyer à inesco energy (kontakt@inesco.energy)" + "onSiteStep8Sub11": "Comparer le compteur de l'utilité (mêmes valeurs kW que sur le portail)" } \ No newline at end of file diff --git a/typescript/frontend-marios2/src/lang/it.json b/typescript/frontend-marios2/src/lang/it.json index 1e25ec6fb..451b831a3 100644 --- a/typescript/frontend-marios2/src/lang/it.json +++ b/typescript/frontend-marios2/src/lang/it.json @@ -898,8 +898,5 @@ "onSiteStep8Sub8": "Verificare che tutti i dispositivi siano visualizzati (inverter, batteria, inesco Gateway)", "onSiteStep8Sub9": "Aprire l'impianto tramite l'app ESS Link", "onSiteStep8Sub10": "Configurare per il cliente tramite l'app ESS Link", - "onSiteStep8Sub11": "Confrontare il contatore del distributore (stessi valori in kW del portale)", - - "onSiteStep9Title": "Completamento", - "onSiteStep9Sub1": "Firmare la checklist e inviarla a inesco energy (kontakt@inesco.energy)" + "onSiteStep8Sub11": "Confrontare il contatore del distributore (stessi valori in kW del portale)" }