WIP Estimate to pdf

vnext
Paul Schneider 8 years ago
parent c88a8bef79
commit d7da7445aa
5 changed files with 20 additions and 10 deletions

@ -12,7 +12,7 @@
ViewBag.Pdf = "";
ViewBag.TeX = "";
var writer = new System.IO.StringWriter();
var content = await Html.PartialAsync("TestTex", Model );
var content = await Html.PartialAsync("Estimate.tex", Model );
content.WriteTo(writer, new TexEncoder());
var contentStr = writer.ToString();
string name = $"tmpestimtex-{Model.Id}";

@ -1,3 +1,4 @@
@model Estimate
@{
Layout = null;
}

@ -0,0 +1,11 @@
@model Yavsc.Model.societe.com.CompanyInfo
Les informations recueillies dans ce formulaire font l'objet
d'un traitement informatique destiné à l'usage exclusif de @Model.name.
Conformément à l'article 34 de la loi Informatique et Liberté du 6 janvier 1978,
vous disposez d'un droit d'accès, de modification, de rectification et de
suppression des données vous concernant.
Pour l'exercer, veuillez vous adresser par écrit à : @Model.street @Model.postal_code @Model.country_code.

@ -10,12 +10,19 @@ Da road to the hell
✔ Notifications commande @done (September 15th 2016, 15:00)
☐ Proposition de devis sur BookQuery
☐ Signature de contrat
☐ Chat privé
✔ Salon public @done (September 28th 2016, 17:58)
☐ Accès mobile au salon public
☐ Accès Web au chat privé
## Jalon 2
☐ Quota fs utilisateur
☐ Paiement client d'un approvisionnement pour une demande de prestation définie
☐ Login Twitter
☐ Notifications et Twits de blogs, d'entées d'artiste, de success stories
☐ Restrictions d'accès au chat privé
☐ Monétarisations
## Jalon 3
@ -31,12 +38,3 @@ Da road to the hell
## Jalon 5
☐ Conciliation
---------------------------
Hotkeys
Alt-Enter: add a new todo item below the current
Alt-Shift-Enter: add a new todo item above the current
Alt-D: toggle completion for current task
Alt-A: cancel current task
Alt-C: convert current task

Loading…