yavsc/src/Yavsc.Org/Views/Shared
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Paul Schneider 97d0584292
Estimate validation polish + PDF/TeX generation in Yavsc.Api
- List removal: GetOngoingEstimatesAsProvider filters on
  ProviderValidationDate so a provider's signed estimate leaves their
  list; PostIt refreshes the list on navigation pop-back.
- Title renames: "Devis en attente de signature fournisseur/client"
  on both the provider and client sides (HomePage, VM, tests).
- Move the estimate/bill TeX+PDF generation flow from Yavsc.Org into
  Yavsc.Api (TeXHelpers, PdfGenerationViewModel, BillViewComponent,
  Bill/Estimate templates, _ViewImports). Program.cs wires
  AddControllersWithViews + SiteSettings; FrontOfficeApiController
  injects IRazorViewEngine (cast to IViewEngine) with optional deps
  and exposes estimate.tex/estimate.pdf endpoints keyed by query id.
- PDF generation drives through the Estimate_pdf view (side-effect
  render) and compiles via the system lualatex, fed TeX on stdin (no
  intermediate .tex), PDF to the bills dir, aux artifacts cleaned so
  only the .pdf persists. Resolve the bills dir to an absolute path so
  lualatex's -output-directory and working directory agree regardless
  of the host cwd (fixes "I can't write on file estimate-1.log").
- PostIt: DownloadAsync on the client + GetEstimateTex/PdfAsync;
  Télécharger PDF/TeX buttons on the validation and command-detail
  pages via a StorageProvider save helper.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-22 03:22:01 +01:00
..
Components Estimate validation polish + PDF/TeX generation in Yavsc.Api 2026-09-22 03:22:01 +01:00
DisplayTemplates ensure the avatar path 2026-09-04 15:08:35 +01:00
EditorTemplates refact and login 2026-03-09 02:07:42 +00:00
_DropFiles.cshtml WIP : Js and css cleanup 2026-06-14 15:47:28 +01:00
_FSScriptsPartial.cshtml reorg 2026-02-28 21:17:54 +00:00
_Layout.cshtml Blog Post Id 2026-09-19 21:08:10 +01:00
_Layout.cshtml.css reorg 2026-02-28 21:17:54 +00:00
_LoginPartial.cshtml refacto API prefix + nav.back 2026-08-20 20:50:52 +01:00
_MapScriptsPartial.cshtml fices the UI 2026-06-15 02:55:22 +01:00
_Nav.cshtml refacto site settings 2026-09-17 23:54:36 +01:00
_PostFilesPartial.cshtml reorg 2026-02-28 21:17:54 +00:00
_ScopeListItem.cshtml reorg 2026-02-28 21:17:54 +00:00
_ValidationScriptsPartial.cshtml fices the UI 2026-06-15 02:55:22 +01:00
_ValidationSummary.cshtml reorg 2026-02-28 21:17:54 +00:00
BillingLine.cshtml reorg 2026-02-28 21:17:54 +00:00
ColorEditor.cshtml reorg 2026-02-28 21:17:54 +00:00
Error.cshtml org: show full error details in development 2026-07-12 16:07:28 +01:00
Forbidden.cshtml reorg 2026-02-28 21:17:54 +00:00
HairTaint.cshtml reorg 2026-02-28 21:17:54 +00:00
HourFromMinutes.cshtml reorg 2026-02-28 21:17:54 +00:00
Logout.cshtml reorg 2026-02-28 21:17:54 +00:00
OidcError.cshtml reorg 2026-02-28 21:17:54 +00:00
Profiles.cshtml pitit refact 2026-06-04 12:13:37 +01:00
Redirect.cshtml Localisation 2026-07-12 15:18:07 +01:00
Status.cshtml reorg 2026-02-28 21:17:54 +00:00