This commit is contained in:
Luc Vandenbroucke 2025-04-30 14:53:44 +02:00
parent d8e0b2f6bd
commit 310b755d22
8 changed files with 118 additions and 5 deletions

View file

@ -1,3 +1,5 @@
Telerik.Web.UI.RadGrid, Telerik.Web.UI, Version=2024.4.1114.462, Culture=neutral, PublicKeyToken=121fae78165ba3d4
Telerik.Web.UI.RadFormDecorator, Telerik.Web.UI, Version=2024.4.1114.462, Culture=neutral, PublicKeyToken=121fae78165ba3d4
Telerik.Web.UI.RadCheckBox, Telerik.Web.UI, Version=2024.4.1114.462, Culture=neutral, PublicKeyToken=121fae78165ba3d4
Telerik.Web.UI.RadComboBox, Telerik.Web.UI, Version=2022.3.913.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4
Telerik.Web.UI.RadGrid, Telerik.Web.UI, Version=2022.2.622.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4

35
eDos/Reports/EPDLast.aspx Normal file
View file

@ -0,0 +1,35 @@
<%@ Page Title="EPD LAst" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="EPDLast.aspx.cs" Inherits="eDos.Reports.EPDLast" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<telerik:RadFormDecorator runat="server" DecoratedControls="All" />
<telerik:RadGrid runat="server" ID="rg" DataSourceID="dsEPDLast" CellSpacing="-1" GridLines="Both" AutoGenerateColumns="False" AllowFilteringByColumn="True" AllowSorting="True">
<GroupingSettings CollapseAllTooltip="Collapse all groups"></GroupingSettings>
<MasterTableView DataSourceID="dsEPDLast">
<RowIndicatorColumn ShowNoSortIcon="False"></RowIndicatorColumn>
<ExpandCollapseColumn ShowNoSortIcon="False"></ExpandCollapseColumn>
<Columns>
<telerik:GridBoundColumn DataField="epdID" DataType="System.Int32" HeaderText="EPD ID" ShowNoSortIcon="False" SortExpression="epdID" UniqueName="epdID" />
<telerik:GridBoundColumn DataField="Station" HeaderText="Station" ShowNoSortIcon="False" SortExpression="Station" UniqueName="Station" />
<telerik:GridBoundColumn DataField="Station_Return" HeaderText="Station Return" ShowNoSortIcon="False" SortExpression="Station_Return" UniqueName="Station_Return" />
<telerik:GridBoundColumn DataField="EntryTime" DataType="System.DateTime" HeaderText="EntryTime" ShowNoSortIcon="False" SortExpression="EntryTime" UniqueName="EntryTime" DataFormatString="{0:yyyy-MM-dd HH:mm}" />
<telerik:GridBoundColumn DataField="ReturnTime" DataType="System.DateTime" HeaderText="ReturnTime" ShowNoSortIcon="False" SortExpression="ReturnTime" UniqueName="ReturnTime" DataFormatString="{0:yyyy-MM-dd HH:mm}" />
</Columns>
<EditFormSettings>
<EditColumn ShowNoSortIcon="False"></EditColumn>
</EditFormSettings>
</MasterTableView>
</telerik:RadGrid>
<asp:SqlDataSource ID="dsEPDLast" runat="server" ConnectionString="<%$ ConnectionStrings:eDosConnectionString %>"
SelectCommand="EpdLastStation" SelectCommandType="StoredProcedure">
</asp:SqlDataSource>
</asp:Content>

View file

@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace eDos.Reports
{
public partial class EPDLast : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
Literal titelControl = Master.FindControl("PageTitle") as Literal;
titelControl.Text = "EPD Last action";
//fromDate.DbSelectedDate = new DateTime(DateTime.Now.Year, 1, 1);
//tillDate.DbSelectedDate = DateTime.Now;
}
}
}
}

35
eDos/Reports/EPDLast.aspx.designer.cs generated Normal file
View file

@ -0,0 +1,35 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace eDos.Reports
{
public partial class EPDLast
{
/// <summary>
/// rg control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::Telerik.Web.UI.RadGrid rg;
/// <summary>
/// dsEPDLast control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.SqlDataSource dsEPDLast;
}
}

View file

@ -86,8 +86,16 @@
</Items>
</telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" Text="EPD" NavigateUrl="~/EPD.aspx">
<telerik:RadMenuItem runat="server" Text="EPD rapporten">
<Items>
<telerik:RadMenuItem runat="server" Text="EPD" NavigateUrl="~/EPD.aspx">
</telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" Text="EPD Laatste actie" NavigateUrl="~/Reports/EPDLast.aspx">
</telerik:RadMenuItem>
</Items>
</telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" Text="Comment (to send)">
<Items>
<telerik:RadMenuItem runat="server" NavigateUrl="~/CommentToPerson.aspx" Text="Comment to Person">

View file

@ -154,6 +154,13 @@
<Compile Include="Rems\RemsUnitTaskPersonVisits.aspx.designer.cs">
<DependentUpon>RemsUnitTaskPersonVisits.aspx</DependentUpon>
</Compile>
<Compile Include="Reports\EPDLast.aspx.cs">
<DependentUpon>EPDLast.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Reports\EPDLast.aspx.designer.cs">
<DependentUpon>EPDLast.aspx</DependentUpon>
</Compile>
<Compile Include="Reports\RemsByTaskPeriod.aspx.cs">
<DependentUpon>RemsByTaskPeriod.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@ -278,6 +285,7 @@
<Content Include="Rems\BR2Cycli.aspx" />
<Content Include="Rems\RemsNeutron.aspx" />
<Content Include="Rems\RemsUnitTaskPersonVisits.aspx" />
<Content Include="Reports\EPDLast.aspx" />
<Content Include="Reports\RemsByTaskPeriod.aspx" />
<Content Include="ReserveBadges.aspx" />
<Content Include="TaskBG.aspx" />
@ -364,7 +372,7 @@
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
</WebProjectProperties>
</FlavorProperties>
<UserProperties UseAjaxifiedTemplates="False" UseJQuerySupport="False" />
<UserProperties UseJQuerySupport="False" UseAjaxifiedTemplates="False" />
</VisualStudio>
</ProjectExtensions>
<Import Project="..\packages\Microsoft.VisualStudio.SlowCheetah.3.2.26\build\Microsoft.VisualStudio.SlowCheetah.targets" Condition="Exists('..\packages\Microsoft.VisualStudio.SlowCheetah.3.2.26\build\Microsoft.VisualStudio.SlowCheetah.targets')" />

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
<UseIISExpress>true</UseIISExpress>
<Use64BitIISExpress />
<IISExpressSSLPort />
@ -15,7 +15,7 @@
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<StartPageUrl>Worker.aspx</StartPageUrl>
<StartPageUrl>Reports/EPDLast.aspx</StartPageUrl>
<StartAction>SpecificPage</StartAction>
<AspNetDebugging>True</AspNetDebugging>
<SilverlightDebugging>False</SilverlightDebugging>

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<connectionStrings>
<add name="eDosConnectionString" connectionString="Data Source=hphdb;Initial Catalog=eDos;Integrated Security=True" providerName="System.Data.SqlClient"/>
<add name="eDosConnectionString" connectionString="Data Source=HPHDB;Initial Catalog=eDos;Integrated Security=True" providerName="System.Data.SqlClient"/>
<add name="RemsConnectionString" connectionString="Data Source=REMSDB;Initial Catalog=Rems;Integrated Security=True" providerName="System.Data.SqlClient"/>
<add name="idpbwConnectionString" connectionString="Data Source=idpbwdb;Initial Catalog=idpbw;Integrated Security=True"
providerName="System.Data.SqlClient"/>