Bozza gestione tags
This commit is contained in:
@@ -649,6 +649,7 @@
|
||||
<Content Include="WebUserControls\cmp_menuTop.ascx" />
|
||||
<Content Include="WebUserControls\cmp_periodoAnalisi.ascx" />
|
||||
<Content Include="WebUserControls\cmp_righePag.ascx" />
|
||||
<Content Include="WebUserControls\cmp_tagUserPeriodo.ascx" />
|
||||
<Content Include="WebUserControls\cmp_ticketFreeActiv.ascx" />
|
||||
<Content Include="WebUserControls\cmp_ticketList.ascx" />
|
||||
<Content Include="WebUserControls\cmp_toggle.ascx" />
|
||||
@@ -1055,6 +1056,13 @@
|
||||
<Compile Include="WebUserControls\cmp_righePag.ascx.designer.cs">
|
||||
<DependentUpon>cmp_righePag.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_tagUserPeriodo.ascx.cs">
|
||||
<DependentUpon>cmp_tagUserPeriodo.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_tagUserPeriodo.ascx.designer.cs">
|
||||
<DependentUpon>cmp_tagUserPeriodo.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_ticketFreeActiv.ascx.cs">
|
||||
<DependentUpon>cmp_ticketFreeActiv.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_tagUserPeriodo.ascx.cs" Inherits="GPW_Admin.WebUserControls.cmp_tagUserPeriodo" %>
|
||||
|
||||
<asp:HiddenField runat="server" ID="hfIdxDip" Value="-1" />
|
||||
<asp:HiddenField runat="server" ID="hfInizio" />
|
||||
<asp:HiddenField runat="server" ID="hfFine" />
|
||||
|
||||
<asp:GridView runat="server" ID ="grView" AutoGenerateColumns="False" DataKeyNames="IdxTagDD" DataSourceID="ods" CssClass="table table-sm table-striped" >
|
||||
<EmptyDataTemplate>-</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:BoundField DataField="DtRif" HeaderText="DtRif" SortExpression="DtRif" DataFormatString="{0:yyyy.MM.dd}" />
|
||||
<asp:BoundField DataField="CodTag" HeaderText="CodTag" SortExpression="CodTag" />
|
||||
<asp:CheckBoxField DataField="IsActive" HeaderText="IsActive" SortExpression="IsActive" />
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource runat="server" ID="ods" OldValuesParameterFormatString="original_{0}" SelectMethod="getByUserDate" TypeName="GPW_data.DS_ApplicazioneTableAdapters.ListTagDDTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfIdxDip" DefaultValue="0" Name="idxDipendente" PropertyName="Value" Type="Int32" />
|
||||
<asp:ControlParameter ControlID="hfInizio" DefaultValue="" Name="dataFrom" PropertyName="Value" Type="DateTime" />
|
||||
<asp:ControlParameter ControlID="hfFine" Name="dataTo" PropertyName="Value" Type="DateTime" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
@@ -0,0 +1,61 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GPW_Admin.WebUserControls
|
||||
{
|
||||
public partial class cmp_tagUserPeriodo : BaseUserControl
|
||||
{
|
||||
|
||||
public event EventHandler eh_reportUpdate;
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public int idxDip
|
||||
{
|
||||
set
|
||||
{
|
||||
hfIdxDip.Value = $"{value}";
|
||||
}
|
||||
}
|
||||
|
||||
public DateTime inizio
|
||||
{
|
||||
set
|
||||
{
|
||||
hfInizio.Value = $"{value:yyyy-MM-dd}";
|
||||
}
|
||||
}
|
||||
public DateTime fine
|
||||
{
|
||||
set
|
||||
{
|
||||
hfFine.Value = $"{value:yyyy-MM-dd}";
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// resetta la selezione dei valori in caso di modifiche su altri controlli
|
||||
/// </summary>
|
||||
public void reportUpdate()
|
||||
{
|
||||
grView.SelectedIndex = -1;
|
||||
grView.DataBind();
|
||||
if (eh_reportUpdate != null)
|
||||
{
|
||||
eh_reportUpdate(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
|
||||
public void doUpdate()
|
||||
{
|
||||
grView.DataBind();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 GPW_Admin.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class cmp_tagUserPeriodo
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// hfIdxDip 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.HiddenField hfIdxDip;
|
||||
|
||||
/// <summary>
|
||||
/// hfInizio 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.HiddenField hfInizio;
|
||||
|
||||
/// <summary>
|
||||
/// hfFine 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.HiddenField hfFine;
|
||||
|
||||
/// <summary>
|
||||
/// grView 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.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// ods 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.ObjectDataSource ods;
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,8 @@
|
||||
<%@ Register Src="mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc1" %>
|
||||
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_periodoAnalisi.ascx" TagPrefix="uc1" TagName="cmp_periodoAnalisi" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_tagUserPeriodo.ascx" TagPrefix="uc1" TagName="cmp_tagUserPeriodo" %>
|
||||
|
||||
|
||||
<div class="d-flex table-secondary">
|
||||
<div class="p-2">
|
||||
@@ -17,56 +19,63 @@
|
||||
<uc1:cmp_periodoAnalisi runat="server" ID="cmp_periodoAnalisi" />
|
||||
</div>
|
||||
<div class="p-2">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<asp:TextBox runat="server" ID="txtMinRedExtra" Width="3em" Visible="false" ToolTip="minuti di riduzione richiesti" Text="30" />
|
||||
</div>
|
||||
<div class="col">
|
||||
<asp:RadioButtonList ID="rblComp" runat="server" RepeatDirection="Horizontal" AutoPostBack="True" OnSelectedIndexChanged="rblComp_SelectedIndexChanged" Visible="false">
|
||||
<asp:ListItem Text="No" Value="0" Selected="True" />
|
||||
<asp:ListItem Text="-> Perm" Value="1" />
|
||||
<asp:ListItem Text="-> StrAss" Value="2" />
|
||||
</asp:RadioButtonList>
|
||||
</div>
|
||||
</div>
|
||||
<asp:LinkButton runat="server" ID="lbtRecalc" CssClass="btn btn-primary btn-sm" OnClick="lbtRecalc_Click">Ricalcola</asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div runat="server" id="divMain" class="col-8">
|
||||
<asp:GridView ID="grView" runat="server" AllowSorting="True" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="ods" CssClass="table table-sm table-striped" OnDataBound="grView_DataBound" DataKeyNames="anno,mese,idxDipendente" OnSelectedIndexChanged="grView_SelectedIndexChanged">
|
||||
<EditRowStyle CssClass="table-primary" />
|
||||
<SelectedRowStyle CssClass="table-info" />
|
||||
<HeaderStyle CssClass="default" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbtSel" runat="server" CausesValidation="False" CommandName="Select" Text="Select" CommandArgument='<%# Eval("idxDipendente") %>'></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="anno" HeaderText="anno" SortExpression="anno" ControlStyle-Width="7em" ReadOnly="True" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right">
|
||||
<ControlStyle Width="7em"></ControlStyle>
|
||||
<HeaderStyle HorizontalAlign="Right"></HeaderStyle>
|
||||
<ItemStyle HorizontalAlign="Right"></ItemStyle>
|
||||
</asp:BoundField>
|
||||
<asp:BoundField DataField="mese" HeaderText="mese" SortExpression="mese" ControlStyle-Width="21em" ReadOnly="True" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right">
|
||||
<ControlStyle Width="21em"></ControlStyle>
|
||||
<HeaderStyle HorizontalAlign="Right"></HeaderStyle>
|
||||
<ItemStyle HorizontalAlign="Right"></ItemStyle>
|
||||
</asp:BoundField>
|
||||
<asp:BoundField DataField="CognomeNome" HeaderText="CognomeNome" SortExpression="CognomeNome" ControlStyle-Width="1em" ReadOnly="True" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right">
|
||||
<ControlStyle Width="1em"></ControlStyle>
|
||||
<HeaderStyle HorizontalAlign="Right"></HeaderStyle>
|
||||
<ItemStyle HorizontalAlign="Right"></ItemStyle>
|
||||
</asp:BoundField>
|
||||
<asp:BoundField DataField="CodTag" HeaderText="CodTag" SortExpression="CodTag" ControlStyle-Width="1em" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right">
|
||||
<ControlStyle Width="1em"></ControlStyle>
|
||||
<HeaderStyle HorizontalAlign="Right"></HeaderStyle>
|
||||
<ItemStyle HorizontalAlign="Right"></ItemStyle>
|
||||
</asp:BoundField>
|
||||
<asp:BoundField DataField="NumTag" HeaderText="NumTag" SortExpression="NumTag" ControlStyle-Width="2em" ReadOnly="True" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right">
|
||||
<ControlStyle Width="2em"></ControlStyle>
|
||||
<HeaderStyle HorizontalAlign="Right"></HeaderStyle>
|
||||
<ItemStyle HorizontalAlign="Right"></ItemStyle>
|
||||
</asp:BoundField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="GPW_data.DS_ApplicazioneTableAdapters.TagMeseTableAdapter" FilterExpression=" (CognomeNome like '%{0}%') ">
|
||||
<FilterParameters>
|
||||
<asp:SessionParameter SessionField="valoreSearch" Type="String" />
|
||||
</FilterParameters>
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter DefaultValue="0" Name="idxDipendente" SessionField="idxDip_sel" Type="Int32" />
|
||||
<asp:SessionParameter Name="dataFrom" SessionField="_inizio" Type="DateTime" DefaultValue="" />
|
||||
<asp:SessionParameter Name="dataTo" SessionField="_fine" Type="DateTime" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" />
|
||||
</div>
|
||||
<div runat="server" id="divDet" class="col-4">
|
||||
<uc1:cmp_tagUserPeriodo runat="server" ID="cmp_tagUserPeriodo" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="small" style="text-align=: right;">
|
||||
<asp:GridView ID="grView" runat="server" AllowSorting="True" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="ods" CssClass="table table-sm table-striped" OnDataBound="grView_DataBound" DataKeyNames="Anno,Mese,idxDipendente">
|
||||
<EditRowStyle CssClass="table-primary" />
|
||||
<SelectedRowStyle CssClass="table-info" />
|
||||
<HeaderStyle CssClass="default" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<Columns>
|
||||
<asp:BoundField DataField="Anno" HeaderText="Anno" SortExpression="Anno" ControlStyle-Width="7em" ReadOnly="True" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right" />
|
||||
<asp:BoundField DataField="Mese" HeaderText="Mese" SortExpression="Mese" ControlStyle-Width="21em" ReadOnly="True" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right" />
|
||||
<asp:BoundField DataField="CognomeNome" HeaderText="Dipendente" SortExpression="CognomeNome" ControlStyle-Width="1em" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right" />
|
||||
<asp:BoundField DataField="totOreOrd" HeaderText="totOreOrd" SortExpression="totOreOrd" ControlStyle-Width="1em" ReadOnly="True" DataFormatString="{0:0.##}" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right" />
|
||||
<asp:BoundField DataField="totLav" HeaderText="totLav" SortExpression="totLav" ControlStyle-Width="1em" ReadOnly="True" DataFormatString="{0:0.##}" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right" />
|
||||
<asp:BoundField DataField="totOreNonLav" HeaderText="totOreNonLav" SortExpression="totOreNonLav" ControlStyle-Width="2em" ReadOnly="True" DataFormatString="{0:0.##}" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right" />
|
||||
<asp:BoundField DataField="totOrePerm" HeaderText="totOrePerm" SortExpression="totOrePerm" ControlStyle-Width="1em" ReadOnly="True" DataFormatString="{0:0.##}" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right" />
|
||||
<asp:BoundField DataField="totOreFer" HeaderText="totOreFer" SortExpression="totOreFer" ControlStyle-Width="1em" ReadOnly="True" DataFormatString="{0:0.##}" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right" />
|
||||
<asp:BoundField DataField="totOreFest" HeaderText="totOreFest" SortExpression="totOreFest" ControlStyle-Width="1em" ReadOnly="True" DataFormatString="{0:0.##}" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right" />
|
||||
<asp:BoundField DataField="totOreStra" HeaderText="totOreStra" SortExpression="totOreStra" ControlStyle-Width="1em" ReadOnly="True" DataFormatString="{0:0.##}" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right" />
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OnInserting="recuperaFooter" OldValuesParameterFormatString="{0}" SelectMethod="GetData" TypeName="GPW_data.DS_ApplicazioneTableAdapters.TimbMeseExplTableAdapter" FilterExpression=" (RagSociale like '%{0}%') OR (indirizzo like '%{0}%') OR (citta like '%{0}%') OR (url like '%{0}%') OR (email like '%{0}%') OR (nota like '%{0}%') " UpdateMethod="CompStraord">
|
||||
<FilterParameters>
|
||||
<asp:SessionParameter SessionField="valoreSearch" Type="String" />
|
||||
</FilterParameters>
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter Name="inizio" SessionField="_inizio" Type="DateTime" />
|
||||
<asp:SessionParameter Name="fine" SessionField="_fine" Type="DateTime" />
|
||||
<asp:SessionParameter DefaultValue="0" Name="idxDipendente" SessionField="idxDip_sel" Type="Int32" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="Anno" Type="Int32" />
|
||||
<asp:Parameter Name="Mese" Type="Int32" />
|
||||
<asp:Parameter Name="idxDipendente" Type="Int32" />
|
||||
<asp:ControlParameter Name="tipoCom" ControlID="rblComp" PropertyName="SelectedValue" Type="Int32" />
|
||||
<asp:ControlParameter Name="minuti" ControlID="txtMinRedExtra" PropertyName="Text" Type="Int32" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" />
|
||||
</div>
|
||||
@@ -1,10 +1,7 @@
|
||||
using GPW_data;
|
||||
using SteamWare;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
@@ -18,29 +15,28 @@ namespace GPW_Admin.WebUserControls
|
||||
|
||||
#endregion Public Events
|
||||
|
||||
#region Private Methods
|
||||
#region Public Methods
|
||||
|
||||
/// <summary>
|
||||
/// imposto ODS
|
||||
/// </summary>
|
||||
private void checkFixOds()
|
||||
public void doUpdate()
|
||||
{
|
||||
memLayer.ML.setSessionVal("idxDip_sel", filtroDip.valoreInt);
|
||||
grView.PageSize = utils.pageSize;
|
||||
grView.DataBind();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// seleziono
|
||||
/// resetta la selezione dei valori in caso di modifiche su altri controlli
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void filtroDip_eh_selValore(object sender, EventArgs e)
|
||||
public void resetSelezione()
|
||||
{
|
||||
// imposto ods
|
||||
checkFixOds();
|
||||
grView.SelectedIndex = -1;
|
||||
grView.DataBind();
|
||||
if (eh_resetSelezione != null)
|
||||
{
|
||||
eh_resetSelezione(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
#endregion Public Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
@@ -61,7 +57,7 @@ namespace GPW_Admin.WebUserControls
|
||||
protected DataColumnCollection colonneObj()
|
||||
{
|
||||
DataColumnCollection colonne = null;
|
||||
using (DS_Applicazione.TimbMeseExplDataTable tabella = new DS_Applicazione.TimbMeseExplDataTable())
|
||||
using (DS_Applicazione.TagMeseDataTable tabella = new DS_Applicazione.TagMeseDataTable())
|
||||
{
|
||||
colonne = tabella.Columns;
|
||||
}
|
||||
@@ -98,27 +94,6 @@ namespace GPW_Admin.WebUserControls
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// annulla inserimento nuovo valore da footer
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lblCanc_click(object sender, EventArgs e)
|
||||
{
|
||||
// annullo inserimento: nascondo footer, bind controlli...
|
||||
grView.FooterRow.Visible = false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// inserisce nuovo valore da footer
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lblIns_click(object sender, EventArgs e)
|
||||
{
|
||||
// click su inserimento, chiamo il metodo insert dell'ObjectDataSource
|
||||
ods.Insert();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// caricamento
|
||||
@@ -133,142 +108,66 @@ namespace GPW_Admin.WebUserControls
|
||||
filtroDip.ods = odsDip;
|
||||
memLayer.ML.emptySessionVal("idxDip_sel");
|
||||
filtroDip.reselFirst();
|
||||
// ricostruisco EVENTUALI date mancanti
|
||||
DataProxy.DP.taTimbExpl.stp_timbratureExplFillDate(DateTime.Now.AddMonths(-2), DateTime.Now);
|
||||
}
|
||||
filtroDip.eh_selValore += new EventHandler(filtroDip_eh_selValore);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// fix visualizzazione x selezione compensazione richiesta
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void rblComp_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (rblComp.SelectedValue == "2")
|
||||
{
|
||||
txtMinRedExtra.Visible = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
txtMinRedExtra.Visible = false;
|
||||
}
|
||||
//// salvo in sessione il valore selezionato x passarlo alla stored...
|
||||
//memLayer.ML.setSessionVal("tipoComp", rblComp.SelectedValue);
|
||||
grView.DataBind();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// recupera i dati di un nuovo record contenuti nel footer di un gridView;
|
||||
/// questi devono esses opportunamente nominati (es: txt{0}, dl{0}, ...)
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void recuperaFooter(object sender, ObjectDataSourceMethodEventArgs e)
|
||||
{
|
||||
if (e != null)
|
||||
{
|
||||
//recupero la riga footer...
|
||||
DataColumnCollection colonne = colonneObj();
|
||||
string nomeCol;
|
||||
string tipoColonna = "";
|
||||
foreach (DataColumn colonna in colonne)
|
||||
{
|
||||
nomeCol = colonna.ColumnName;
|
||||
// cerco un textbox o quello che sia...
|
||||
if (grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol)) != null)
|
||||
{
|
||||
tipoColonna = "textBox";
|
||||
}
|
||||
else if (grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol)) != null)
|
||||
{
|
||||
tipoColonna = "dropDownList";
|
||||
}
|
||||
else if (grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol)) != null)
|
||||
{
|
||||
tipoColonna = "checkBox";
|
||||
}
|
||||
// in base al tipo salvo negli inputparameters dell'ODS
|
||||
switch (tipoColonna)
|
||||
{
|
||||
case "textBox":
|
||||
e.InputParameters[nomeCol] = ((TextBox)grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol))).Text;
|
||||
break;
|
||||
|
||||
case "dropDownList":
|
||||
e.InputParameters[nomeCol] = ((DropDownList)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).SelectedValue;
|
||||
break;
|
||||
|
||||
case "checkBox":
|
||||
e.InputParameters[nomeCol] = ((CheckBox)grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol))).Checked;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
tipoColonna = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
|
||||
#region Public Methods
|
||||
#region Private Methods
|
||||
|
||||
/// <summary>
|
||||
/// determina se sia visibile il pulsante per la compensazione permessi/strordinari
|
||||
/// imposto ODS
|
||||
/// </summary>
|
||||
/// <param name="oreStraord"></param>
|
||||
/// <param name="oreAssorb"></param>
|
||||
/// <returns></returns>
|
||||
public bool compPermVisible(object oreStraord, object orePermessi)
|
||||
private void checkFixOds()
|
||||
{
|
||||
bool answ = rblComp.SelectedValue == "1";
|
||||
// solo se in fase abilitata alla modifica controllo le ore effettive
|
||||
if (answ)
|
||||
{
|
||||
answ = (Convert.ToDouble(oreStraord) > 0) && (Convert.ToDouble(orePermessi) > 0);
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
public void doUpdate()
|
||||
{
|
||||
grView.PageSize = utils.pageSize;
|
||||
memLayer.ML.setSessionVal("idxDip_sel", filtroDip.valoreInt);
|
||||
grView.DataBind();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// determina se sia visibile il pulsante per la riduzione degli straordinari per il mese/dipendente
|
||||
/// seleziono
|
||||
/// </summary>
|
||||
/// <param name="oreStraord"></param>
|
||||
/// <param name="oreAssorb"></param>
|
||||
/// <returns></returns>
|
||||
public bool reduceVisible(object oreStraord, object oreAssorb)
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void filtroDip_eh_selValore(object sender, EventArgs e)
|
||||
{
|
||||
bool answ = rblComp.SelectedValue == "2";
|
||||
// solo se in fase abilitata alla modifica controllo le ore effettive
|
||||
if (answ)
|
||||
{
|
||||
answ = (Convert.ToDouble(oreStraord) >= Convert.ToDouble(oreAssorb)) && (Convert.ToDouble(oreAssorb) > 0);
|
||||
}
|
||||
return answ;
|
||||
// imposto ods
|
||||
checkFixOds();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// resetta la selezione dei valori in caso di modifiche su altri controlli
|
||||
/// </summary>
|
||||
public void resetSelezione()
|
||||
#endregion Private Methods
|
||||
|
||||
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
grView.SelectedIndex = -1;
|
||||
grView.DataBind();
|
||||
if (eh_resetSelezione != null)
|
||||
{
|
||||
eh_resetSelezione(this, new EventArgs());
|
||||
}
|
||||
int anno = Convert.ToInt32(grView.SelectedDataKey["anno"].ToString());
|
||||
int mese = Convert.ToInt32(grView.SelectedDataKey["mese"].ToString());
|
||||
int idxDip = Convert.ToInt32(grView.SelectedDataKey["idxDipendente"].ToString());
|
||||
DateTime inizio = new DateTime(anno, mese, 1);
|
||||
DateTime fine = new DateTime(anno, mese + 1, 1).AddDays(-1);
|
||||
// imposto nel controlo child
|
||||
cmp_tagUserPeriodo.idxDip = idxDip;
|
||||
cmp_tagUserPeriodo.inizio = inizio;
|
||||
cmp_tagUserPeriodo.fine = fine;
|
||||
cmp_tagUserPeriodo.doUpdate();
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
protected void lbtRecalc_Click(object sender, EventArgs e)
|
||||
{
|
||||
DateTime fine = DateTime.Today;
|
||||
DateTime inizio = fine.AddMonths(-3);
|
||||
// cerco in sessione
|
||||
if (!string.IsNullOrEmpty(memLayer.ML.StringSessionObj("_inizio")))
|
||||
{
|
||||
inizio = memLayer.ML.DateTimeSessionObj("_inizio");
|
||||
}
|
||||
if (!string.IsNullOrEmpty(memLayer.ML.StringSessionObj("_fine")))
|
||||
{
|
||||
fine = memLayer.ML.DateTimeSessionObj("_fine");
|
||||
}
|
||||
// ricostruisco EVENTUALI BP (HARD CODED!!!)
|
||||
DataProxy.DP.taTagMese.checkCreateByDipDate("BP", filtroDip.valoreInt, inizio, fine, 270);
|
||||
doUpdate();
|
||||
}
|
||||
}
|
||||
}
|
||||
+22
-4
@@ -42,22 +42,22 @@ namespace GPW_Admin.WebUserControls
|
||||
protected global::GPW_Admin.WebUserControls.cmp_periodoAnalisi cmp_periodoAnalisi;
|
||||
|
||||
/// <summary>
|
||||
/// txtMinRedExtra control.
|
||||
/// lbtRecalc 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.TextBox txtMinRedExtra;
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtRecalc;
|
||||
|
||||
/// <summary>
|
||||
/// rblComp control.
|
||||
/// divMain 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.RadioButtonList rblComp;
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divMain;
|
||||
|
||||
/// <summary>
|
||||
/// grView control.
|
||||
@@ -85,5 +85,23 @@ namespace GPW_Admin.WebUserControls
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblNumRec;
|
||||
|
||||
/// <summary>
|
||||
/// divDet control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divDet;
|
||||
|
||||
/// <summary>
|
||||
/// cmp_tagUserPeriodo control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW_Admin.WebUserControls.cmp_tagUserPeriodo cmp_tagUserPeriodo;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
<asp:BoundField DataField="totOreStra" HeaderText="totOreStra" SortExpression="totOreStra" ControlStyle-Width="1em" ReadOnly="True" DataFormatString="{0:0.##}" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right" />
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OnInserting="recuperaFooter" OldValuesParameterFormatString="{0}" SelectMethod="GetData" TypeName="GPW_data.DS_ApplicazioneTableAdapters.TimbMeseExplTableAdapter" FilterExpression=" (RagSociale like '%{0}%') OR (indirizzo like '%{0}%') OR (citta like '%{0}%') OR (url like '%{0}%') OR (email like '%{0}%') OR (nota like '%{0}%') " UpdateMethod="CompStraord">
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OnInserting="recuperaFooter" OldValuesParameterFormatString="{0}" SelectMethod="GetData" TypeName="GPW_data.DS_ApplicazioneTableAdapters.TimbMeseExplTableAdapter" FilterExpression=" (CognomeNome like '%{0}%') " UpdateMethod="CompStraord">
|
||||
<FilterParameters>
|
||||
<asp:SessionParameter SessionField="valoreSearch" Type="String" />
|
||||
</FilterParameters>
|
||||
|
||||
Generated
+903
-27
File diff suppressed because it is too large
Load Diff
@@ -3241,10 +3241,10 @@ SELECT idxDipendente, gruppo FROM Dipendenti2Gruppi WHERE (gruppo = @gruppo) AND
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TagMeseTableAdapter" GeneratorDataComponentClassName="TagMeseTableAdapter" Name="TagMese" UserDataComponentName="TagMeseTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="GPWConnectionString (Settings)" DbObjectName="GPW.dbo.stp_LTDD_ByUserDate" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DbSource ConnectionRef="GPWConnectionString (Settings)" DbObjectName="GPW.dbo.stp_LTM_ByUserDate" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_LTDD_ByUserDate</CommandText>
|
||||
<CommandText>dbo.stp_LTM_ByUserDate</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxDipendente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
@@ -3263,7 +3263,88 @@ SELECT idxDipendente, gruppo FROM Dipendenti2Gruppi WHERE (gruppo = @gruppo) AND
|
||||
<Mapping SourceColumn="CodTag" DataSetColumn="CodTag" />
|
||||
<Mapping SourceColumn="NumTag" DataSetColumn="NumTag" />
|
||||
</Mappings>
|
||||
<Sources />
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="GPWConnectionString (Settings)" DbObjectName="GPW.dbo.stp_LTDD_checkCreateByDipDate" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="checkCreateByDipDate" Modifier="Public" Name="checkCreateByDipDate" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="checkCreateByDipDate">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_LTDD_checkCreateByDipDate</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodTag" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxDipendente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="date" DbType="Date" Direction="Input" ParameterName="@DtStart" Precision="10" ProviderType="Date" Scale="0" Size="3" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="date" DbType="Date" Direction="Input" ParameterName="@DtEnd" Precision="10" ProviderType="Date" Scale="0" Size="3" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@minParam" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ListTagDDTableAdapter" GeneratorDataComponentClassName="ListTagDDTableAdapter" Name="ListTagDD" UserDataComponentName="ListTagDDTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="GPWConnectionString (Settings)" DbObjectName="GPW.dbo.ListTagDD" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [ListTagDD] WHERE (([IdxTagDD] = @Original_IdxTagDD))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxTagDD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxTagDD" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT * FROM ListTagDD</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [ListTagDD] SET [DtRif] = @DtRif, [IsActive] = @IsActive WHERE (([IdxTagDD] = @Original_IdxTagDD));
|
||||
SELECT IdxTagDD, DtRif, IsActive FROM ListTagDD WHERE (IdxTagDD = @IdxTagDD)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@DtRif" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="DtRif" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsActive" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsActive" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxTagDD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxTagDD" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="IdxTagDD" ColumnName="IdxTagDD" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxTagDD" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IdxTagDD" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="IdxTagDD" DataSetColumn="IdxTagDD" />
|
||||
<Mapping SourceColumn="idxDipendente" DataSetColumn="idxDipendente" />
|
||||
<Mapping SourceColumn="DtRif" DataSetColumn="DtRif" />
|
||||
<Mapping SourceColumn="CodTag" DataSetColumn="CodTag" />
|
||||
<Mapping SourceColumn="IsActive" DataSetColumn="IsActive" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="GPWConnectionString (Settings)" DbObjectName="GPW.dbo.stp_LTDD_ByUserDate" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByUserDate" GetMethodModifier="Public" GetMethodName="getByUserDate" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByUserDate" UserSourceName="getByUserDate">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_LTDD_ByUserDate</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxDipendente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@dataFrom" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@dataTo" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GPWConnectionString (Settings)" DbObjectName="GPW.dbo.stp_LTDD_toggleActive" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="toggleActive" Modifier="Public" Name="toggleActive" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="toggleActive">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_LTDD_toggleActive</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxTagDD" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
<Sources />
|
||||
@@ -4216,8 +4297,8 @@ SELECT idxDipendente, gruppo FROM Dipendenti2Gruppi WHERE (gruppo = @gruppo) AND
|
||||
<xs:element name="TagMese" msprop:Generator_RowEvHandlerName="TagMeseRowChangeEventHandler" msprop:Generator_RowDeletedName="TagMeseRowDeleted" msprop:Generator_RowDeletingName="TagMeseRowDeleting" msprop:Generator_RowEvArgName="TagMeseRowChangeEvent" msprop:Generator_TablePropName="TagMese" msprop:Generator_RowChangedName="TagMeseRowChanged" msprop:Generator_RowChangingName="TagMeseRowChanging" msprop:Generator_TableClassName="TagMeseDataTable" msprop:Generator_RowClassName="TagMeseRow" msprop:Generator_TableVarName="tableTagMese" msprop:Generator_UserTableName="TagMese">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="anno" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="anno" msprop:Generator_ColumnPropNameInTable="annoColumn" msprop:Generator_ColumnVarNameInTable="columnanno" msprop:Generator_UserColumnName="anno" type="xs:int" />
|
||||
<xs:element name="mese" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="mese" msprop:Generator_ColumnPropNameInTable="meseColumn" msprop:Generator_ColumnVarNameInTable="columnmese" msprop:Generator_UserColumnName="mese" type="xs:int" />
|
||||
<xs:element name="anno" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="anno" msprop:Generator_ColumnPropNameInTable="annoColumn" msprop:Generator_ColumnVarNameInTable="columnanno" msprop:Generator_UserColumnName="anno" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="mese" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="mese" msprop:Generator_ColumnPropNameInTable="meseColumn" msprop:Generator_ColumnVarNameInTable="columnmese" msprop:Generator_UserColumnName="mese" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="idxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
|
||||
<xs:element name="CognomeNome" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="CognomeNome" msprop:Generator_ColumnPropNameInTable="CognomeNomeColumn" msprop:Generator_ColumnVarNameInTable="columnCognomeNome" msprop:Generator_UserColumnName="CognomeNome" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
@@ -4237,6 +4318,23 @@ SELECT idxDipendente, gruppo FROM Dipendenti2Gruppi WHERE (gruppo = @gruppo) AND
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ListTagDD" msprop:Generator_RowEvHandlerName="ListTagDDRowChangeEventHandler" msprop:Generator_RowDeletedName="ListTagDDRowDeleted" msprop:Generator_RowDeletingName="ListTagDDRowDeleting" msprop:Generator_RowEvArgName="ListTagDDRowChangeEvent" msprop:Generator_TablePropName="ListTagDD" msprop:Generator_RowChangedName="ListTagDDRowChanged" msprop:Generator_RowChangingName="ListTagDDRowChanging" msprop:Generator_TableClassName="ListTagDDDataTable" msprop:Generator_RowClassName="ListTagDDRow" msprop:Generator_TableVarName="tableListTagDD" msprop:Generator_UserTableName="ListTagDD">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxTagDD" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="IdxTagDD" msprop:Generator_ColumnPropNameInTable="IdxTagDDColumn" msprop:Generator_ColumnVarNameInTable="columnIdxTagDD" msprop:Generator_UserColumnName="IdxTagDD" type="xs:int" />
|
||||
<xs:element name="idxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
|
||||
<xs:element name="DtRif" msprop:Generator_ColumnPropNameInRow="DtRif" msprop:Generator_ColumnPropNameInTable="DtRifColumn" msprop:Generator_ColumnVarNameInTable="columnDtRif" msprop:Generator_UserColumnName="DtRif" type="xs:dateTime" />
|
||||
<xs:element name="CodTag" msprop:Generator_ColumnPropNameInRow="CodTag" msprop:Generator_ColumnPropNameInTable="CodTagColumn" msprop:Generator_ColumnVarNameInTable="columnCodTag" msprop:Generator_UserColumnName="CodTag">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="IsActive" msprop:Generator_ColumnPropNameInRow="IsActive" msprop:Generator_ColumnPropNameInTable="IsActiveColumn" msprop:Generator_ColumnVarNameInTable="columnIsActive" msprop:Generator_UserColumnName="IsActive" type="xs:boolean" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
||||
@@ -4349,6 +4447,10 @@ SELECT idxDipendente, gruppo FROM Dipendenti2Gruppi WHERE (gruppo = @gruppo) AND
|
||||
<xs:field xpath="mstns:idxDipendente" />
|
||||
<xs:field xpath="mstns:mese" />
|
||||
</xs:unique>
|
||||
<xs:unique name="ListTagDD_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:ListTagDD" />
|
||||
<xs:field xpath="mstns:IdxTagDD" />
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
|
||||
@@ -4,36 +4,37 @@
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ex:showrelationlabel="False" ViewPortX="197" ViewPortY="-47" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<DiagramLayout xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ex:showrelationlabel="False" ViewPortX="237" ViewPortY="-47" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:Timbrature" ZOrder="32" X="279" Y="76" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:TimbratureExpl" ZOrder="21" X="622" Y="64" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagDevices" ZOrder="1" X="951" Y="215" Height="305" Width="260" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:Dipendenti" ZOrder="3" X="285" Y="543" Height="419" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagClienti" ZOrder="16" X="1234" Y="528" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagProgetti" ZOrder="12" X="886" Y="976" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Dipendenti2Ruoli" ZOrder="31" X="579" Y="943" Height="153" Width="276" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagFasi" ZOrder="11" X="871" Y="528" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:v_logCommUt" ZOrder="19" X="1204" Y="1309" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:RegAttivita" ZOrder="17" X="598" Y="591" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:CalendFesteFerie" ZOrder="22" X="597" Y="1126" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:AnagOrari" ZOrder="4" X="280" Y="1001" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:TimbMeseExpl" ZOrder="27" X="1249" Y="134" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Giustificativi" ZOrder="23" X="885" Y="1385" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:stp_DipendentiAndAnomalie" ZOrder="26" X="82" Y="1313" Height="134" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:TE_RA_Expl" ZOrder="9" X="1" Y="26" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:regAttDayExpl" ZOrder="15" X="-20" Y="883" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagProgetti_Expl" ZOrder="25" X="1236" Y="992" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:RegistroEventi" ZOrder="24" X="85" Y="1476" Height="153" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:RilievoTemp" ZOrder="5" X="-24" Y="566" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:HistTemp" ZOrder="18" X="-23" Y="762" Height="115" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:CheckVC19" ZOrder="14" X="482" Y="1423" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:AnagGruppi" ZOrder="6" X="-14" Y="341" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:Dipendenti2Gruppi" ZOrder="8" X="367" Y="370" Height="134" Width="256" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:TagMese" ZOrder="2" X="968" Y="8" Height="191" Width="241" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:Timbrature" ZOrder="33" X="279" Y="76" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:TimbratureExpl" ZOrder="22" X="622" Y="64" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagDevices" ZOrder="3" X="951" Y="215" Height="305" Width="260" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:Dipendenti" ZOrder="4" X="285" Y="543" Height="419" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagClienti" ZOrder="17" X="1234" Y="528" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagProgetti" ZOrder="13" X="886" Y="976" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Dipendenti2Ruoli" ZOrder="32" X="579" Y="943" Height="153" Width="276" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagFasi" ZOrder="12" X="871" Y="528" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:v_logCommUt" ZOrder="20" X="1204" Y="1309" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:RegAttivita" ZOrder="18" X="598" Y="591" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:CalendFesteFerie" ZOrder="23" X="597" Y="1126" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:AnagOrari" ZOrder="5" X="280" Y="1001" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:TimbMeseExpl" ZOrder="28" X="1249" Y="134" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Giustificativi" ZOrder="24" X="885" Y="1385" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:stp_DipendentiAndAnomalie" ZOrder="27" X="82" Y="1313" Height="134" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:TE_RA_Expl" ZOrder="10" X="1" Y="26" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:regAttDayExpl" ZOrder="16" X="-20" Y="883" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagProgetti_Expl" ZOrder="26" X="1236" Y="992" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:RegistroEventi" ZOrder="25" X="85" Y="1476" Height="153" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:RilievoTemp" ZOrder="6" X="-24" Y="566" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:HistTemp" ZOrder="19" X="-23" Y="762" Height="115" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:CheckVC19" ZOrder="15" X="482" Y="1423" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:AnagGruppi" ZOrder="7" X="-14" Y="341" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:Dipendenti2Gruppi" ZOrder="9" X="367" Y="370" Height="134" Width="256" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:TagMese" ZOrder="2" X="963" Y="-12" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:ListTagDD" ZOrder="1" X="1289" Y="-21" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_Timbrature_Dipendenti" ZOrder="33" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Timbrature_Dipendenti" ZOrder="34" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>391</X>
|
||||
@@ -45,7 +46,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_AnagFasi_AnagProgetti" ZOrder="13" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_AnagFasi_AnagProgetti" ZOrder="14" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1046</X>
|
||||
@@ -57,7 +58,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_RegAttivita_AnagFasi" ZOrder="30" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_RegAttivita_AnagFasi" ZOrder="31" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>871</X>
|
||||
@@ -73,7 +74,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_RegAttivita_Dipendenti" ZOrder="29" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_RegAttivita_Dipendenti" ZOrder="30" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>585</X>
|
||||
@@ -85,7 +86,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Dipendenti_AnagOrari" ZOrder="28" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Dipendenti_AnagOrari" ZOrder="29" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>332</X>
|
||||
@@ -97,7 +98,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_RilievoTemp_Dipendenti" ZOrder="20" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_RilievoTemp_Dipendenti" ZOrder="21" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>285</X>
|
||||
@@ -109,7 +110,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Dipendenti_AnagGruppi" ZOrder="10" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Dipendenti_AnagGruppi" ZOrder="11" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>286</X>
|
||||
@@ -125,7 +126,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Dipendenti_AnagGruppi1" ZOrder="7" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Dipendenti_AnagGruppi1" ZOrder="8" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>428</X>
|
||||
|
||||
@@ -48,6 +48,8 @@ namespace GPW_data
|
||||
public DS_ApplicazioneTableAdapters.regAttDayExplTableAdapter taRAExpl;
|
||||
public DS_ApplicazioneTableAdapters.RegistroEventiTableAdapter taRE;
|
||||
public DS_ApplicazioneTableAdapters.RilievoTempTableAdapter taRT;
|
||||
public DS_ApplicazioneTableAdapters.ListTagDDTableAdapter taListTDD;
|
||||
public DS_ApplicazioneTableAdapters.TagMeseTableAdapter taTagMese;
|
||||
public DS_ApplicazioneTableAdapters.TimbratureTableAdapter taTimb;
|
||||
public DS_ApplicazioneTableAdapters.TimbratureExplTableAdapter taTimbExpl;
|
||||
public DS_ApplicazioneTableAdapters.TE_RA_ExplTableAdapter taTimbRegAtt;
|
||||
@@ -178,6 +180,8 @@ namespace GPW_data
|
||||
private void initTA()
|
||||
{
|
||||
taAnCli = new DS_ApplicazioneTableAdapters.AnagClientiTableAdapter();
|
||||
taListTDD = new DS_ApplicazioneTableAdapters.ListTagDDTableAdapter();
|
||||
taTagMese = new DS_ApplicazioneTableAdapters.TagMeseTableAdapter();
|
||||
taTimb = new DS_ApplicazioneTableAdapters.TimbratureTableAdapter();
|
||||
taTimbExpl = new DS_ApplicazioneTableAdapters.TimbratureExplTableAdapter();
|
||||
taAnagDev = new DS_ApplicazioneTableAdapters.AnagDevicesTableAdapter();
|
||||
@@ -215,6 +219,8 @@ namespace GPW_data
|
||||
string connGPW = memLayer.ML.confReadString("GPWConnectionString");
|
||||
// connections del db
|
||||
taAnCli.Connection.ConnectionString = connGPW;
|
||||
taListTDD.Connection.ConnectionString = connGPW;
|
||||
taTagMese.Connection.ConnectionString = connGPW;
|
||||
taTimb.Connection.ConnectionString = connGPW;
|
||||
taTimbExpl.Connection.ConnectionString = connGPW;
|
||||
taAnagDev.Connection.ConnectionString = connGPW;
|
||||
|
||||
Reference in New Issue
Block a user