SUM Max; Edit column en Name agent/HPH

This commit is contained in:
Isabelle 2019-09-10 13:34:58 +02:00
parent e3ba1fcf72
commit 6dedfa36fc
11 changed files with 28 additions and 20 deletions

View file

@ -3,7 +3,7 @@
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowSorting="True" CellSpacing="-1" GridLines="Both" AllowAutomaticDeletes="True" AllowCustomPaging="True" AllowFilteringByColumn="True" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="sqlDSV_AddLimitAgent" AutoGenerateEditColumn="True" AutoGenerateDeleteColumn="True">
<telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowSorting="True" CellSpacing="-1" GridLines="Both" AllowAutomaticDeletes="True" AllowCustomPaging="True" AllowFilteringByColumn="True" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="sqlDSV_AddLimitAgent">
<GroupingSettings CollapseAllTooltip="Collapse all groups" CaseSensitive="false"/>
<ExportSettings>
<Pdf PageWidth="">
@ -49,8 +49,9 @@
<asp:Label ID="Label3" runat="server" CssClass="rdfLabel rdfBlock" Text="Select the Person: "></asp:Label>
</td>
<td>
<asp:RequiredFieldValidator runat="server" ControlToValidate="RadComboBoxSelectPerson" ErrorMessage="!You need to select a name for the person!" ForeColor="Red" SetFocusOnError="true" />
<telerik:RadComboBox ID="RadComboBoxSelectPerson" runat="server" AppendDataBoundItems="true" DataSourceID="SqlDSSelectPerson" DataTextField="displayName" DataValueField="PersID" Width="95%" SelectedValue ='<%# Bind("PersID") %>' >
<Items>
<Items>
<telerik:RadComboBoxItem Text="-" Value="0" />
</Items>
</telerik:RadComboBox>
@ -107,7 +108,8 @@
<asp:Label ID="Label7" runat="server" CssClass="rdfLabel rdfBlock" Text="Register by (Agent SC of HPH): "></asp:Label>
</td>
<td>
<telerik:RadComboBox ID="RadComboBoxSelectAgentSC" runat="server" DataSourceID="SqlDSSelectAgentSC" DataTextField="displayName" DataValueField="PersID" Width="95%" SelectedValue='<%# Bind("PersID_Resp") %>'>
<asp:RequiredFieldValidator runat="server" ControlToValidate="RadComboBoxSelectAgentSC" ErrorMessage="!You need to select a name for the agent SC!" ForeColor="Red" SetFocusOnError="true" />
<telerik:RadComboBox ID="RadComboBoxSelectAgentSC" runat="server" DataSourceID="SqlDSSelectAgentSC" DataTextField="displayName" DataValueField="PersID_Resp" Width="95%" SelectedValue='<%# Bind("PersID_Resp") %>'>
<Items>
<telerik:RadComboBoxItem Text="-" Value="0" />
</Items>
@ -164,7 +166,7 @@
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDSSelectPerson" runat="server" ConnectionString="<%$ ConnectionStrings:HPH_REMS_newConnectionString %>" SelectCommand="PersonList" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDSSelectAgentSC" runat="server" ConnectionString="<%$ ConnectionStrings:HPH_REMS_newConnectionString %>" SelectCommand="SELECT [PersID], displayName=[LastName]+' '+[FirstName] FROM [V_SelectAgent SC]"></asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDSSelectAgentSC" runat="server" ConnectionString="<%$ ConnectionStrings:HPH_REMS_newConnectionString %>" SelectCommand="SELECT [PersID_Resp], displayName=[LastName]+' '+[FirstName] FROM [V_SelectAgent SC]"></asp:SqlDataSource>

View file

@ -3,7 +3,7 @@
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowSorting="True" CellSpacing="-1" GridLines="Both" AllowAutomaticDeletes="True" AllowCustomPaging="True" AllowFilteringByColumn="True" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="sqlDSV_AddLimitHPH" AutoGenerateEditColumn="True" AutoGenerateDeleteColumn="True">
<telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowSorting="True" CellSpacing="-1" GridLines="Both" AllowAutomaticDeletes="True" AllowCustomPaging="True" AllowFilteringByColumn="True" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="sqlDSV_AddLimitHPH">
<GroupingSettings CollapseAllTooltip="Collapse all groups" CaseSensitive="false"/>
<ExportSettings>
<Pdf PageWidth="">
@ -51,9 +51,11 @@
<asp:Label ID="Label3" runat="server" CssClass="rdfLabel rdfBlock" Text="Select the Person: "></asp:Label>
</td>
<td>
<asp:RequiredFieldValidator runat="server" ControlToValidate="RadComboBoxSelectPerson" ErrorMessage="!You need to select a name for the person!" ForeColor="Red" SetFocusOnError="true" />
<telerik:RadComboBox ID="RadComboBoxSelectPerson" runat="server" AppendDataBoundItems="true" DataSourceID="SqlDSSelectPerson" DataTextField="displayName" DataValueField="PersID" Width="95%" SelectedValue ='<%# Bind("PersID") %>' >
<Items>
<telerik:RadComboBoxItem Text="-" Value="0" />
<telerik:RadComboBoxItem Text="" Value="0" />
</Items>
</telerik:RadComboBox>
@ -64,7 +66,7 @@
<asp:Label ID="Label6" runat="server" CssClass="rdfLabel rdfBlock" Text="Added µSv for the Year Limit :" AssociatedControlID="IncreaseYearToDateLimit"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox1" runat="server" CssClass="rdfFieldValue" Text='<%# Bind("IncreaseYearToDateLimit") %>' />
<asp:TextBox ID="IncreaseYearToDateLimit" runat="server" CssClass="rdfFieldValue" Text='<%# Bind("IncreaseYearToDateLimit") %>' />
</td>
</tr>
<tr>
@ -107,6 +109,7 @@
<asp:Label ID="Label5" runat="server" CssClass="rdfLabel rdfBlock" Text="Date when it stops applying:"></asp:Label>
</td>
<td>
<telerik:RadDatePicker ID="DateEnd" runat="server" DbSelectedDate='<%# Bind("DateEnd") %>' />
</td>
</tr>
@ -117,7 +120,9 @@
<asp:Label ID="Label7" runat="server" CssClass="rdfLabel rdfBlock" Text="Register by (Agent SC of HPH): "></asp:Label>
</td>
<td>
<telerik:RadComboBox ID="RadComboBoxSelectHPHResp" runat="server" DataSourceID="SqlDSSelectHPHResp" DataTextField="displayName" DataValueField="PersID" Width="95%" SelectedValue='<%# Bind("PersID_Resp") %>'>
<asp:RequiredFieldValidator runat="server" ControlToValidate="RadComboBoxSelectHPHResp" ErrorMessage="!You need to select a name for the agent SC of HPH!" ForeColor="Red" SetFocusOnError="true" />
<telerik:RadComboBox ID="RadComboBoxSelectHPHResp" runat="server" DataSourceID="SqlDSSelectHPHResp" DataTextField="displayName" DataValueField="PersID_Resp" Width="95%" SelectedValue='<%# Bind("PersID_Resp") %>'>
<Items>
<telerik:RadComboBoxItem Text="-" Value="0" />
</Items>
@ -175,7 +180,7 @@
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDSSelectPerson" runat="server" ConnectionString="<%$ ConnectionStrings:HPH_REMS_newConnectionString %>" SelectCommand="PersonList" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDSSelectHPHResp" runat="server" ConnectionString="<%$ ConnectionStrings:HPH_REMS_newConnectionString %>" SelectCommand="SELECT [PersID], displayName=[LastName]+' '+[FirstName] FROM [V_SelectHPHResp]"></asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDSSelectHPHResp" runat="server" ConnectionString="<%$ ConnectionStrings:HPH_REMS_newConnectionString %>" SelectCommand="SELECT [PersID_Resp], displayName=[LastName]+' '+[FirstName] FROM [V_SelectHPHResp]"></asp:SqlDataSource>

View file

@ -3,7 +3,7 @@
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowSorting="True" CellSpacing="-1" GridLines="Both" AllowAutomaticDeletes="True" AllowCustomPaging="True" AllowFilteringByColumn="True" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="sqlDSCommentToInstallation" AutoGenerateEditColumn="True">
<telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowSorting="True" CellSpacing="-1" GridLines="Both" AllowAutomaticDeletes="True" AllowCustomPaging="True" AllowFilteringByColumn="True" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="sqlDSCommentToInstallation">
<GroupingSettings CollapseAllTooltip="Collapse all groups"></GroupingSettings>
<ExportSettings>
<Pdf PageWidth="">

View file

@ -3,7 +3,7 @@
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowSorting="True" CellSpacing="-1" GridLines="Both" AllowAutomaticDeletes="True" AllowCustomPaging="True" AllowFilteringByColumn="True" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="sqlDSV_CommentToPerson" AutoGenerateEditColumn="True" AutoGenerateDeleteColumn="True">
<telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowSorting="True" CellSpacing="-1" GridLines="Both" AllowAutomaticDeletes="True" AllowCustomPaging="True" AllowFilteringByColumn="True" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="sqlDSV_CommentToPerson">
<GroupingSettings CollapseAllTooltip="Collapse all groups" CaseSensitive="false"/>
<ExportSettings>
<Pdf PageWidth="">

View file

@ -3,7 +3,7 @@
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticUpdates="True" AllowSorting="True" CellSpacing="-1" GridLines="Both" AllowCustomPaging="True" AllowFilteringByColumn="True" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="SqlDSManualReturn" AutoGenerateEditColumn="True">
<telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticUpdates="True" AllowSorting="True" CellSpacing="-1" GridLines="Both" AllowCustomPaging="True" AllowFilteringByColumn="True" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="SqlDSManualReturn">
<GroupingSettings CollapseAllTooltip="Collapse all groups" CaseSensitive="false" />
<SortingSettings SortedDescToolTip="ID_Visit" />
<ExportSettings>

View file

@ -64,8 +64,6 @@
</telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" NavigateUrl="~/ClearVisitAlarm.aspx" Text="Clear Visit Alarm">
</telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" Text="Child RadMenuItem 3">
</telerik:RadMenuItem>
</Items>
</telerik:RadMenuItem>

View file

@ -2,7 +2,7 @@
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowSorting="True" CellSpacing="-1" GridLines="Both" AllowAutomaticDeletes="True" AllowCustomPaging="False" AllowFilteringByColumn="True" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="sqlDSV_Task" OnItemDataBound="RadGrid1_ItemDataBound" PagerStyle-Mode="Slider" AutoGenerateEditColumn="true" >
<telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowSorting="True" CellSpacing="-1" GridLines="Both" AllowAutomaticDeletes="True" AllowFilteringByColumn="True" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="sqlDSV_Task" OnItemDataBound="RadGrid1_ItemDataBound" PagerStyle-Mode="Slider" >
<GroupingSettings CollapseAllTooltip="Collapse all groups" CaseSensitive="false">
</GroupingSettings>
<ExportSettings>

View file

@ -237,13 +237,13 @@
<asp:Label ID="Label24" runat="server" CssClass="rdfLabel rdfBlock" Text="Added Limits (µSv)"></asp:Label>
</td>
<td style="color: red">
<asp:Label ID="Label25" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("SUMAddLimY") %>' />
<asp:Label ID="Label25" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("MaxAddLimY") %>' />
</td>
<td style="color: red">
<asp:Label ID="Label26" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("SUMAddLimQ") %>' />
<asp:Label ID="Label26" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("MaxAddLimQ") %>' />
</td>
<td style="color: red">
<asp:Label ID="Label27" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("SUMAddLimM") %>' />
<asp:Label ID="Label27" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("MaxAddLimM") %>' />
</td>
</tr>
<tr>
@ -343,7 +343,10 @@
<asp:SqlDataSource ID="getPersonLimit" runat="server"
ConnectionString="<%$ ConnectionStrings:HPH_REMS_newConnectionString %>"
SelectCommand="SELECT * FROM [V_SumDosePersonLimit_2deci]">
SelectCommand="SELECT PersID, YearToDateLimit, ConCode, MonthlyLimit, QuarterLimit, AccessAllow, SUMHp10Dose_Y_2deci, SUMHp07Dose_Y_2deci, SUMHpNDose_Y_2deci, SUMHp10Dose_Q_2deci, SUMHp07Dose_Q_2deci, SUMHpNDose_Q_2deci, SUMHp10Dose_M_2deci, SUMHp07Dose_M_2deci, SUMHpNDose_M_2deci, MarginHP10_M_2deci, MarginHP10_Y_2deci, MarginHP10_Q_2deci, MaxAddLimY, MaxAddLimQ, MaxAddLimM FROM V_SumDosePersonLimit_2deci where PersID=@PersID">
<SelectParameters>
<asp:ControlParameter ControlID="cmbPerson" Name="PersID" PropertyName="SelectedValue" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="sqlDsView" runat="server" ConnectionString="<%$ ConnectionStrings:HPH_REMS_newConnectionString %>"

Binary file not shown.

Binary file not shown.

View file

@ -15,7 +15,7 @@
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<StartPageUrl>Task.aspx</StartPageUrl>
<StartPageUrl>AddLimitHPH.aspx</StartPageUrl>
<StartAction>SpecificPage</StartAction>
<AspNetDebugging>True</AspNetDebugging>
<SilverlightDebugging>False</SilverlightDebugging>