<%@ Page Title="Devis" Language="C#" Inherits="System.Web.Mvc.ViewPage" MasterPageFile="~/Models/App.master" %> <%= Html.ValidationSummary("Devis") %> <% using (Html.BeginForm("Estimate","FrontOffice")) { %> <%= Html.LabelFor(model => model.Title) %>:<%= Html.TextBox( "Title" ) %> <%= Html.ValidationMessage("Title", "*") %> <% if (Model.Id > 0) { %>
<%= Html.LabelFor(model => model.Owner) %>:<%=Model.Owner%> <%= Html.ValidationMessage("Owner", "*") %>
<%= Html.LabelFor(model => model.Ciffer) %>:<%=Model.Ciffer%>
<%= Html.LabelFor(model => model.Id) %>:<%=Model.Id%> <%= Html.Hidden( "Id" ) %>
<% if (Model.Id==0) { %> <% } else { %> <% } %> <% int lc=0; if (Model.Lines!=null) foreach (Writting wr in Model.Lines) { lc++; %> row" id="wr<%=wr.Id%>"> <% } %>
Description Product Reference Count Unitary Cost
<%=wr.Description%> <%=wr.ProductReference%> <%=wr.Count%> <%=wr.UnitaryCost%>
<% } %> <% } %>