yavsc/src/Yavsc.Org/Views/Shared/Components/Bill/Bill_pdf.cshtml

21 lines
443 B
Text
Raw Normal View History

2017-06-08 00:26:29 +02:00
@using System.Reflection
@using System.IO
@using Microsoft.Extensions.WebEncoders
@using System.Diagnostics
@using System.Text
@using Yavsc.Helpers
@model Yavsc.ViewModels.Gen.PdfGenerationViewModel
2026-09-17 22:22:18 +01:00
@{
ViewBag.Settings.GenerateEstimatePdf(Model);
2017-06-08 00:26:29 +02:00
}
@if (Model.Generated) {
<div>
@(Model.BaseFileName).pdf was generated
</div>
} else {
<div class="error">
@Model.GenerationErrorMessage
<p>Something went wrong ...</p>
</div>
2023-03-19 17:57:55 +00:00
}