* Web.csproj:
* Web.config: * Global.asax: * Global.asax.cs: * packages.config: * Web.config: * NightFlashServer.csproj: * ITContentProvider.csproj: * Index.aspx: * NpgsqlContentProvider.cs: Edit estimates with no client specified
This commit is contained in:
@ -36,6 +36,10 @@
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
<Reference Include="System.Web.Mvc" />
|
||||
<Reference Include="System.Web.Http" />
|
||||
<Reference Include="System.Web.Http.WebHost" />
|
||||
<Reference Include="System.Web" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
@ -56,5 +60,10 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Model\" />
|
||||
<Folder Include="Views\" />
|
||||
<Folder Include="Views\Modules\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Views\Modules\IT\Index.aspx" />
|
||||
</ItemGroup>
|
||||
</Project>
|
5
ITContentProvider/Views/Modules/IT/Index.aspx
Normal file
5
ITContentProvider/Views/Modules/IT/Index.aspx
Normal file
@ -0,0 +1,5 @@
|
||||
<%@ Page Title="Front office" Language="C#" MasterPageFile="~/Models/App.master" Inherits="System.Web.Mvc.ViewPage" %>
|
||||
<asp:Content ID="MainContentContent" ContentPlaceHolderID="MainContent" runat="server">
|
||||
|
||||
|
||||
</asp:Content>
|
@ -361,10 +361,12 @@ namespace Yavsc
|
||||
est = new Estimate ();
|
||||
est.Title = rdr.GetString(
|
||||
rdr.GetOrdinal("title"));
|
||||
|
||||
est.Responsible = rdr.GetString(
|
||||
rdr.GetOrdinal("username"));
|
||||
est.Client = rdr.GetString (
|
||||
rdr.GetOrdinal ("client"));
|
||||
int clientidx = rdr.GetOrdinal ("client");
|
||||
if (!rdr.IsDBNull (clientidx))
|
||||
est.Client = rdr.GetString (clientidx);
|
||||
int index = rdr.GetOrdinal ("description");
|
||||
if (!rdr.IsDBNull (index))
|
||||
est.Description = rdr.GetString (index);
|
||||
@ -566,8 +568,6 @@ namespace Yavsc
|
||||
cnxstr = ConfigurationManager.ConnectionStrings [config ["connectionStringName"]].ConnectionString;
|
||||
applicationName = config["applicationName"] ?? "/";
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -121,6 +121,7 @@
|
||||
<Folder Include="xmldoc\" />
|
||||
<Folder Include="Views\PayPal\" />
|
||||
<Folder Include="ApiControllers\" />
|
||||
<Folder Include="Views\Modules\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Controllers\HomeController.cs" />
|
||||
|
Reference in New Issue
Block a user