From 8e329c2b50496af2feb712843f13107d8f73cd6a Mon Sep 17 00:00:00 2001 From: OlgunR Date: Thu, 28 May 2026 11:41:00 +0200 Subject: [PATCH] Relocate "Result-PDF" success message in Upload.cshtml The code block displaying the "Result-PDF" success message was removed from its original location and reintroduced in a different section of the `Upload.cshtml` file. The new placement is after the success message confirming that the invoice was saved in the database. The functionality and alert structure remain unchanged, displaying the file path of the generated PDF if `Model.ResultFilePath` is not empty. --- .../Pages/Invoices/Upload.cshtml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/DXApp.TemplateKitProject/Pages/Invoices/Upload.cshtml b/DXApp.TemplateKitProject/Pages/Invoices/Upload.cshtml index e4b825e..7856026 100644 --- a/DXApp.TemplateKitProject/Pages/Invoices/Upload.cshtml +++ b/DXApp.TemplateKitProject/Pages/Invoices/Upload.cshtml @@ -40,13 +40,6 @@ { ⚠ Kein ZUGFeRD-XML gefunden. } - @if (!string.IsNullOrEmpty(Model.ResultFilePath)) - { -
- 📦 Result-PDF erstellt: - @Model.ResultFilePath -
- } @* PDF/A-Konformitätsstufe anzeigen *@ @@ -104,6 +97,13 @@ Importiert am@Model.ImportedInvoice.ImportedAt.ToString("dd.MM.yyyy HH:mm")
✔ Rechnung wurde in der Datenbank gespeichert (ID: @Model.ImportedInvoice.Id)
+ @if (!string.IsNullOrEmpty(Model.ResultFilePath)) + { +
+ 📦 Result-PDF erstellt: + @Model.ResultFilePath +
+ } @if (Model.IsDuplicate) {