yavsc/src/Yavsc.Api/Controllers/Business
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Paul Schneider 35d784fdf1
Fix lualatex stdin PDF gen + unit test for signed estimate PDF
GenerateEstimatePdf passed /dev/stdin as the input filename so lualatex
treats stdin as a regular input file instead of the terminal — without
it, lualatex emergency-stops after the first line of a multi-line
document (the real root cause of the production "Emergency stop", not
bera/luaotfload which were separate host-package gaps already fixed).

EstimatePdf endpoint calls GenerateEstimatePdf directly and streams the
returned FileInfo, guarding on fo.Exists. QueryAcceptanceRequest is
extracted into its own file under ViewModels/FrontOffice.

Add EstimatePdfGenerationTests: unit tests for SignatureToTikz (vector
draws of both signatures) and GenerateEstimatePdf on a devis signed by
both parties — asserts the PDF exists at the expected DestDir path, is
non-empty, and that only the PDF persists (aux/log cleaned). Skips
cleanly when lualatex is absent.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-22 18:33:47 +01:00
..
ActivityApiController.cs fix(api): harden billing/blog validation and update rc14 changelog 2026-09-06 19:16:41 +01:00
BillingController.cs Estimate validation polish + PDF/TeX generation in Yavsc.Api 2026-09-22 03:22:01 +01:00
DictionnaireMetierController.cs implements a dico 2026-09-11 12:45:13 +01:00
EstimateApiController.cs Estimate validation polish + PDF/TeX generation in Yavsc.Api 2026-09-22 03:22:01 +01:00
EstimateTemplatesApiController.cs An activity interface 2026-08-30 23:55:09 +01:00
FrontOfficeApiController.cs Fix lualatex stdin PDF gen + unit test for signed estimate PDF 2026-09-22 18:33:47 +01:00
HairCutQueryApiController.cs fix(api): harden billing/blog validation and update rc14 changelog 2026-09-06 19:16:41 +01:00
HairMultiCutQueryApiController.cs fix(api): harden billing/blog validation and update rc14 changelog 2026-09-06 19:16:41 +01:00
HyperLinkController.cs refactoring for integration 2026-06-06 21:10:48 +01:00
PaymentApiController.cs An activity interface 2026-08-30 23:55:09 +01:00
PerformersApiController.cs An activity interface 2026-08-30 23:55:09 +01:00
ProductApiController.cs An activity interface 2026-08-30 23:55:09 +01:00
RdvQueryApiController.cs got saved a RdvQuery 2026-09-13 03:09:12 +01:00