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.
This commit is contained in:
@@ -40,13 +40,6 @@
|
||||
{
|
||||
<strong>⚠ Kein ZUGFeRD-XML gefunden.</strong>
|
||||
}
|
||||
@if (!string.IsNullOrEmpty(Model.ResultFilePath))
|
||||
{
|
||||
<div class="alert alert-success mt-2">
|
||||
📦 <strong>Result-PDF erstellt:</strong>
|
||||
<small class="text-muted">@Model.ResultFilePath</small>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
||||
@* PDF/A-Konformitätsstufe anzeigen *@
|
||||
@@ -104,6 +97,13 @@
|
||||
<tr><th>Importiert am</th><td>@Model.ImportedInvoice.ImportedAt.ToString("dd.MM.yyyy HH:mm")</td></tr>
|
||||
</table>
|
||||
<div class="alert alert-success mt-2">✔ Rechnung wurde in der Datenbank gespeichert (ID: @Model.ImportedInvoice.Id)</div>
|
||||
@if (!string.IsNullOrEmpty(Model.ResultFilePath))
|
||||
{
|
||||
<div class="alert alert-success mt-2">
|
||||
📦 <strong>Result-PDF erstellt:</strong>
|
||||
<small class="text-muted">@Model.ResultFilePath</small>
|
||||
</div>
|
||||
}
|
||||
@if (Model.IsDuplicate)
|
||||
{
|
||||
<div class="alert alert-warning mt-2">
|
||||
|
||||
Reference in New Issue
Block a user