-Config.Temp
All checks were successful
Dotnet build and test / build (pull_request) Successful in 12m53s

This commit is contained in:
Paul Schneider 2026-09-18 11:13:44 +01:00
commit eebd46176d
Signed by: notazof
GPG key ID: 1DD5D838E5343B06
6 changed files with 38 additions and 356 deletions

View file

@ -32,9 +32,9 @@ namespace Yavsc.ViewComponents
public async Task<IViewComponentResult> InvokeAsync(
string code,
IBillable billable,
OutputFormat format,
bool asBill,
IBillable billable,
OutputFormat format,
bool asBill,
SiteSettings settings
)
{
@ -87,9 +87,9 @@ namespace Yavsc.ViewComponents
var pdfGenerationViewModel = new PdfGenerationViewModel
{
Temp = Config.Temp,
Temp = siteSettings.TempDir,
TeXSource = tex,
DestDir = settings.Blog,
DestDir = siteSettings.Bills,
BaseFileName = billable.GetFileBaseName(billing)
};
if (settings.GenerateEstimatePdf(pdfGenerationViewModel)) {