* Web.csproj:

* TexToPdfFormatter.cs: Pdf formatter from Tex string

* FrontOfficeApiController.cs: html response in case of no document to
  produce at billing


* Estimate.aspx: renamed the Http methods returning tex and pdf
  estimates


* LocalizedText.Designer.cs: these files are generated from the .resx
  file

* LocalizedText.resx:
* LocalizedText.fr.resx: html response in case of no document to
  produce at billing
This commit is contained in:
Paul Schneider 2015-01-30 12:08:40 +01:00
commit 206e16686b
7 changed files with 161 additions and 20 deletions

View file

@ -54,6 +54,11 @@
</table>
<% } %>
<% } %>
<aside>
<a class="actionlink" href="<%=ViewData["WebApiBase"]%>/FrontOffice/EstimateToTex?estimid=<%=Model.Id%>"><%= LocalizedText.Tex_version %></a>
<a class="actionlink" href="<%=ViewData["WebApiBase"]%>/FrontOffice/EstimateToPdf?estimid=<%=Model.Id%>"><%= LocalizedText.Pdf_version %></a>
</aside>
</asp:Content>
<asp:Content ContentPlaceHolderID="MASContent" ID="MASContent1" runat="server">
@ -241,10 +246,6 @@ function addRow(){
</script>
<div>
<a class="actionlink" href="<%=ViewData["WebApiBase"]%>/FrontOffice/GetEstimTex?estimid=<%=Model.Id%>"><%= LocalizedText.Tex_version %></a>
<a class="actionlink" href="<%=ViewData["WebApiBase"]%>/FrontOffice/GetEstimPdf?estimid=<%=Model.Id%>"><%= LocalizedText.Pdf_version %></a>
</div>
</asp:Content>