Merge branch 'develop'

This commit is contained in:
Samuele Locatelli
2016-02-24 17:55:02 +01:00
55 changed files with 3929 additions and 688 deletions
+144
View File
@@ -13,6 +13,7 @@ namespace ETS_Data
#region area table adapters
/* Ds_ProjEts */
public Ds_ProjEtsTableAdapters.AnagLabelsTableAdapter taAL;
public Ds_ProjEtsTableAdapters.AnagProgettiTableAdapter taAP;
public Ds_ProjEtsTableAdapters.AnagFasiTableAdapter taAF;
public Ds_ProjEtsTableAdapters.DatiCommessaTableAdapter taDC;
@@ -25,7 +26,9 @@ namespace ETS_Data
public Ds_ProjEtsTableAdapters.DipendentiTableAdapter taDip;
public Ds_ProjEtsTableAdapters.ImpiegoRisorseTableAdapter taIR;
public Ds_ProjEtsTableAdapters.LabelsCommTableAdapter taL2C;
public Ds_ProjEtsTableAdapters.LogEmailBazTableAdapter taLEB;
public Ds_ProjEtsTableAdapters.ReleasedWeekTableAdapter taReW;
public Ds_ProjEtsTableAdapters.TLockBazRATableAdapter taTLB;
/* DS_utilsProjEts */
public DS_utilsProjEtsTableAdapters.v_selClientiTableAdapter taSelCli;
public DS_utilsProjEtsTableAdapters.v_selProgettiTableAdapter taSelPro;
@@ -38,6 +41,7 @@ namespace ETS_Data
/// </summary>
protected void initTA()
{
taAL = new Ds_ProjEtsTableAdapters.AnagLabelsTableAdapter();
taAP = new Ds_ProjEtsTableAdapters.AnagProgettiTableAdapter();
taAF = new Ds_ProjEtsTableAdapters.AnagFasiTableAdapter();
taDC = new Ds_ProjEtsTableAdapters.DatiCommessaTableAdapter();
@@ -50,7 +54,9 @@ namespace ETS_Data
taDip = new Ds_ProjEtsTableAdapters.DipendentiTableAdapter();
taIR = new Ds_ProjEtsTableAdapters.ImpiegoRisorseTableAdapter();
taL2C = new Ds_ProjEtsTableAdapters.LabelsCommTableAdapter();
taLEB = new Ds_ProjEtsTableAdapters.LogEmailBazTableAdapter();
taReW = new Ds_ProjEtsTableAdapters.ReleasedWeekTableAdapter();
taTLB = new Ds_ProjEtsTableAdapters.TLockBazRATableAdapter();
taSelCli = new DS_utilsProjEtsTableAdapters.v_selClientiTableAdapter();
taSelPro = new DS_utilsProjEtsTableAdapters.v_selProgettiTableAdapter();
taSelCom = new DS_utilsProjEtsTableAdapters.v_selCommesseTableAdapter();
@@ -63,6 +69,7 @@ namespace ETS_Data
protected virtual void setupConnectionStringBase()
{
// connections del db
taAL.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taAP.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taAF.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taDC.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
@@ -75,7 +82,9 @@ namespace ETS_Data
taDip.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taIR.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taL2C.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taLEB.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taReW.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taTLB.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taSelCli.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taSelPro.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
taSelCom.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString");
@@ -170,6 +179,141 @@ namespace ETS_Data
return answ;
}
/// <summary>
/// invia email ai singoli dipendenti delle ore programmate x la settimana indicata con link a bazaar
/// </summary>
/// <param name="anno">anno</param>
/// <param name="settimana">num settimana 1-53</param>
/// <returns></returns>
public bool inviaEmailBazaar(int anno, int settimana)
{
bool answ = false;
int inviate = 0;
string oggettoEmail = utils.obj.confReadString("emailBaz_subject");
string fromEmail = utils.obj.confReadString("_fromEmail");
string toEmail = "";
string aCapo = "<br />";
string corpoEmail = "";
string progSett = "";
int idxDipendente = 0;
// leggo tutte commesse ed i dipendenti...
tabComm = DataProxy_ProjEts.DP.taSelCom.GetData();
tabDip = DataProxy_ProjEts.DP.taDip.GetData();
tabD2ATR = DataProxy_ProjEts.DP.taD2ATR.getBazOrd();
Ds_ProjEts.DipendentiRow rigaDip;
// ciclo su TUTTI i dipendenti inseriti come risorse in bazaar
foreach (Ds_ProjEts.Dip2ATRRow riga in tabD2ATR)
{
idxDipendente = riga.idxDipendente;
rigaDip = (Ds_ProjEts.DipendentiRow)tabDip.Select(string.Format("idxDipendente={0}", idxDipendente))[0];
// se sono in testing resetto email a mia...
if (utils.obj.confReadBool("testMode"))
{
toEmail = "samuele@steamware.net";
}
else
{
toEmail = rigaDip.email;
}
// test: invio forzato sett 9!!!
settimana = 9;
corpoEmail = "<div style=\"background-color: #0A64A4; margin-bottom: 0.2em; color: #FDFDFD; text-align: center; font-size: 2em; font-weight: bold; width: 100%;\">PROJ-ETS</div>";
corpoEmail += string.Format(utils.obj.confReadString("emailBaz_body_Head") + " <b>{1:00}/{0}</b> - {2} {3}", anno, settimana, rigaDip.Cognome, rigaDip.Nome) + aCapo + aCapo;
corpoEmail += string.Format(@"<a href='{0}/Bazaar'>{1}</a>", utils.obj.confReadString("baseUrl"), utils.obj.confReadString("emailBaz_body_Link"));
corpoEmail += aCapo + aCapo;
// compongo la programmazione settimanale utente... EVENTUALMENTE CON GIORNI VUOTI!!!
progSett = getAgendDip(idxDipendente, anno, settimana);
corpoEmail += progSett;
corpoEmail += "<i style=\"color: #696969;\">" + utils.obj.confReadString("emailBaz_body_Firma") + "</i>";
try
{
// invio email con link + resoconto breve impegno settimanale
utils.gestEmail.geAuth.mandaEmail(fromEmail, toEmail, oggettoEmail, corpoEmail);
inviate++;
}
catch
{ }
if (utils.obj.confReadBool("testMode") && inviate > 5)
{
answ = true;
return answ;
}
}
answ = inviate > 0; // controlla che ALMENO 1 email sia stata inviata...
return answ;
}
protected Ds_ProjEts.DipendentiDataTable tabDip = new Ds_ProjEts.DipendentiDataTable();
protected Ds_ProjEts.Dip2ATRDataTable tabD2ATR = new Ds_ProjEts.Dip2ATRDataTable();
protected Ds_ProjEts.BazaarRisorseDataTable tabBazSingle = new Ds_ProjEts.BazaarRisorseDataTable();
protected DS_utilsProjEts.v_selCommesseDataTable tabComm = new DS_utilsProjEts.v_selCommesseDataTable();
/// <summary>
/// Formatta blocco impegni del dipendente x la settimana indicata
/// </summary>
/// <param name="idxDipendente">identificativo dipendente</param>
/// <param name="anno">anno di riferimento</param>
/// <param name="sett">settimana desiderata</param>
/// <returns></returns>
protected string getAgendDip(int idxDipendente, int anno, int sett)
{
//default
string answ = "";
// inizio a comporre tabella utente
answ += "<table style=\"width: 100%;\">";
// recupero i dati x il dipendente corrente...
tabBazSingle = DataProxy_ProjEts.DP.taBaz.getByAnnoSettDip(anno, sett, idxDipendente);
// compongo la settimana a partire dalla data richiesta...
for (int i = 0; i < 5; i++)
{
answ += getAgendByDate(idxDipendente, anno, sett, i);
}
answ += "</table>";
// restituisco risultato
return answ;
}
/// <summary>
/// Formatta blocco impegno x dipendente x una specifica data
/// </summary>
/// <param name="idxDipendente">identificativo dipendente</param>
/// <param name="anno">anno di riferimento</param>
/// <param name="sett">settimana desiderata</param>
/// <param name="shiftDay">shift (add) da applicare con base lunedì (0..4)</param>
/// <returns></returns>
protected string getAgendByDate(int idxDipendente, int anno, int sett, int shiftDay)
{
// variabili
string answ = "";
DS_utilsProjEts.v_selCommesseRow rigaComm;
// parto dal lunedì della sett indicata!
DateTime dataRif = datario.FirstDateOfWeekISO8601(anno, sett);
dataRif = dataRif.AddDays(shiftDay);
// inserisco intestazione con data
answ += string.Format("<tr><td colspan=\"2\" style=\"border-bottom: 1px solid black; font-size: 1.2em;\">{0:dd.MM.yyyy} <b>{0:dddd}</b></td><td></td></tr>", dataRif).ToUpper();
// recupero tutte le assegnazioni x la giornata indicata (cerco alla posizione shiftDay se è != 0)
Ds_ProjEts.BazaarRisorseRow[] commGG = (Ds_ProjEts.BazaarRisorseRow[])tabBazSingle.Select(string.Format("SUBSTRING(SchemaWeek, {0}, 1) <> 0", shiftDay + 1));
foreach (Ds_ProjEts.BazaarRisorseRow riga in commGG)
{
// recupero dati commessa...
rigaComm = (DS_utilsProjEts.v_selCommesseRow)tabComm.Select(string.Format("value = {0}", riga.idxFase))[0];
answ += string.Format("<tr><td>{0}</td><td>&nbsp;<b>{1}</b></td></tr>", utils.trimChar(rigaComm.label, utils.obj.confReadInt("maxCharNomeComm")), riga.SchemaWeek);
}
// aggiungo spaziatura
answ += "<br/><br/>";
return answ;
}
#endregion
}
}
+2080 -141
View File
File diff suppressed because it is too large Load Diff
+7
View File
@@ -12,3 +12,10 @@ namespace ETS_Data {
public partial class Ds_ProjEts {
}
}
namespace ETS_Data.Ds_ProjEtsTableAdapters {
public partial class LabelsCommTableAdapter {
}
}
+282 -25
View File
@@ -1554,7 +1554,32 @@ SELECT CodLabel, DescrLabel FROM AnagLabels WHERE (CodLabel = @CodLabel)</Comman
<Mapping SourceColumn="CodLabel" DataSetColumn="CodLabel" />
<Mapping SourceColumn="DescrLabel" DataSetColumn="DescrLabel" />
</Mappings>
<Sources />
<Sources>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteQuery" Modifier="Public" Name="DeleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteQuery">
<DeleteCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_AL_DeleteQuery</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="@Original_CodLabel" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</DeleteCommand>
</DbSource>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="UpdateQuery" Modifier="Public" Name="UpdateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="UpdateQuery">
<UpdateCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_AL_UpdateQuery</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="@CodLabel" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@DescrLabel" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_CodLabel" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LabelsCommTableAdapter" GeneratorDataComponentClassName="LabelsCommTableAdapter" Name="LabelsComm" UserDataComponentName="LabelsCommTableAdapter">
<MainSource>
@@ -1614,6 +1639,17 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa
</DbCommand>
</DeleteCommand>
</DbSource>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_L2C_getByCodLabel" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByCodLabel" GetMethodModifier="Public" GetMethodName="getByCodLabel" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByCodLabel" UserSourceName="getByCodLabel">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_L2C_getByCodLabel</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="@CodLabel" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_L2C_getByIdxFase" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIdxFase" GetMethodModifier="Public" GetMethodName="getByIdxFase" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIdxFase" UserSourceName="getByIdxFase">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -1625,6 +1661,16 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_L2C_massRecalc" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="massRecalc" Modifier="Public" Name="massRecalc" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="massRecalc">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_L2C_massRecalc</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" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="UpsertQuery" Modifier="Public" Name="UpsertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="UpsertQuery">
<InsertCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -1639,6 +1685,176 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TLockBazRATableAdapter" GeneratorDataComponentClassName="TLockBazRATableAdapter" Name="TLockBazRA" UserDataComponentName="TLockBazRATableAdapter">
<MainSource>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.TLockBazRA" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[TLockBazRA] WHERE (([idxDipendente] = @Original_idxDipendente) AND ([DtLock] = @Original_DtLock) AND ([LockedBy] = @Original_LockedBy))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxDipendente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxDipendente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DtLock" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtLock" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_LockedBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LockedBy" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[TLockBazRA] ([idxDipendente], [DtLock], [LockedBy]) VALUES (@idxDipendente, @DtLock, @LockedBy);
SELECT idxDipendente, DtLock, LockedBy FROM TLockBazRA WHERE (idxDipendente = @idxDipendente)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxDipendente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxDipendente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DtLock" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtLock" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LockedBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LockedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idxDipendente, DtLock, LockedBy FROM dbo.TLockBazRA</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[TLockBazRA] SET [idxDipendente] = @idxDipendente, [DtLock] = @DtLock, [LockedBy] = @LockedBy WHERE (([idxDipendente] = @Original_idxDipendente) AND ([DtLock] = @Original_DtLock) AND ([LockedBy] = @Original_LockedBy));
SELECT idxDipendente, DtLock, LockedBy FROM TLockBazRA WHERE (idxDipendente = @idxDipendente)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxDipendente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxDipendente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DtLock" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtLock" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LockedBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LockedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxDipendente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxDipendente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DtLock" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtLock" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_LockedBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LockedBy" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="idxDipendente" DataSetColumn="idxDipendente" />
<Mapping SourceColumn="DtLock" DataSetColumn="DtLock" />
<Mapping SourceColumn="LockedBy" DataSetColumn="LockedBy" />
</Mappings>
<Sources>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_TLB_getByDip" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByDip" GetMethodModifier="Public" GetMethodName="getByDip" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByDip" UserSourceName="getByDip">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_TLB_getByDip</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" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_TLB_lockDip" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="lockDip" Modifier="Public" Name="lockDip" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="lockDip">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_TLB_lockDip</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="nvarchar" DbType="String" Direction="Input" ParameterName="@LockedBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_TLB_unlockDip" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="unlockDip" Modifier="Public" Name="unlockDip" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="unlockDip">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_TLB_unlockDip</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" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="unlockExpired" Modifier="Public" Name="unlockExpired" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="unlockExpired">
<DeleteCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_TLB_unlockExpired</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="@expireMin" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</DeleteCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LogEmailBazTableAdapter" GeneratorDataComponentClassName="LogEmailBazTableAdapter" Name="LogEmailBaz" UserDataComponentName="LogEmailBazTableAdapter">
<MainSource>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.LogEmailBaz" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[LogEmailBaz] WHERE (([Anno] = @Original_Anno) AND ([Sett] = @Original_Sett) AND ([DtLastSend] = @Original_DtLastSend) AND ([SentBy] = @Original_SentBy))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Anno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Anno" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Sett" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Sett" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DtLastSend" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtLastSend" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SentBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SentBy" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[LogEmailBaz] ([Anno], [Sett], [DtLastSend], [SentBy]) VALUES (@Anno, @Sett, @DtLastSend, @SentBy);
SELECT Anno, Sett, DtLastSend, SentBy FROM LogEmailBaz WHERE (Anno = @Anno) AND (DtLastSend = @DtLastSend) AND (Sett = @Sett)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Anno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Anno" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Sett" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Sett" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DtLastSend" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtLastSend" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SentBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SentBy" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT Anno, Sett, DtLastSend, SentBy FROM dbo.LogEmailBaz</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[LogEmailBaz] SET [Anno] = @Anno, [Sett] = @Sett, [DtLastSend] = @DtLastSend, [SentBy] = @SentBy WHERE (([Anno] = @Original_Anno) AND ([Sett] = @Original_Sett) AND ([DtLastSend] = @Original_DtLastSend) AND ([SentBy] = @Original_SentBy));
SELECT Anno, Sett, DtLastSend, SentBy FROM LogEmailBaz WHERE (Anno = @Anno) AND (DtLastSend = @DtLastSend) AND (Sett = @Sett)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Anno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Anno" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Sett" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Sett" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DtLastSend" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtLastSend" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SentBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SentBy" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Anno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Anno" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Sett" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Sett" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DtLastSend" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtLastSend" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SentBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SentBy" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Anno" DataSetColumn="Anno" />
<Mapping SourceColumn="Sett" DataSetColumn="Sett" />
<Mapping SourceColumn="DtLastSend" DataSetColumn="DtLastSend" />
<Mapping SourceColumn="SentBy" DataSetColumn="SentBy" />
</Mappings>
<Sources>
<DbSource ConnectionRef="ETS_PROJConnectionString (Settings)" DbObjectName="ETS_PROJ.dbo.stp_LEB_getByWeek" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByWeek" GetMethodModifier="Public" GetMethodName="getByWeek" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByWeek" UserSourceName="getByWeek">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_LEB_getByWeek</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="@anno" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@sett" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -1647,7 +1863,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa
<xs:element name="Ds_ProjEts" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="Ds_ProjEts" msprop:Generator_UserDSName="Ds_ProjEts">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="AnagProgetti" msprop:Generator_TableClassName="AnagProgettiDataTable" msprop:Generator_TableVarName="tableAnagProgetti" msprop:Generator_TablePropName="AnagProgetti" msprop:Generator_RowDeletingName="AnagProgettiRowDeleting" msprop:Generator_RowChangingName="AnagProgettiRowChanging" msprop:Generator_RowEvHandlerName="AnagProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagProgettiRowDeleted" msprop:Generator_UserTableName="AnagProgetti" msprop:Generator_RowChangedName="AnagProgettiRowChanged" msprop:Generator_RowEvArgName="AnagProgettiRowChangeEvent" msprop:Generator_RowClassName="AnagProgettiRow">
<xs:element name="AnagProgetti" msprop:Generator_TableClassName="AnagProgettiDataTable" msprop:Generator_TableVarName="tableAnagProgetti" msprop:Generator_RowChangedName="AnagProgettiRowChanged" msprop:Generator_TablePropName="AnagProgetti" msprop:Generator_RowDeletingName="AnagProgettiRowDeleting" msprop:Generator_RowChangingName="AnagProgettiRowChanging" msprop:Generator_RowEvHandlerName="AnagProgettiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagProgettiRowDeleted" msprop:Generator_RowClassName="AnagProgettiRow" msprop:Generator_UserTableName="AnagProgetti" msprop:Generator_RowEvArgName="AnagProgettiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxProgetto" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxProgetto" msprop:Generator_ColumnPropNameInRow="idxProgetto" msprop:Generator_ColumnPropNameInTable="idxProgettoColumn" msprop:Generator_UserColumnName="idxProgetto" type="xs:int" />
@@ -1690,7 +1906,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagFasi" msprop:Generator_TableClassName="AnagFasiDataTable" msprop:Generator_TableVarName="tableAnagFasi" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowChangedName="AnagFasiRowChanged" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent" msprop:Generator_RowClassName="AnagFasiRow">
<xs:element name="AnagFasi" msprop:Generator_TableClassName="AnagFasiDataTable" msprop:Generator_TableVarName="tableAnagFasi" msprop:Generator_RowChangedName="AnagFasiRowChanged" msprop:Generator_TablePropName="AnagFasi" msprop:Generator_RowDeletingName="AnagFasiRowDeleting" msprop:Generator_RowChangingName="AnagFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFasiRowDeleted" msprop:Generator_RowClassName="AnagFasiRow" msprop:Generator_UserTableName="AnagFasi" msprop:Generator_RowEvArgName="AnagFasiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -1740,7 +1956,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DatiCommessa" msprop:Generator_TableClassName="DatiCommessaDataTable" msprop:Generator_TableVarName="tableDatiCommessa" msprop:Generator_TablePropName="DatiCommessa" msprop:Generator_RowDeletingName="DatiCommessaRowDeleting" msprop:Generator_RowChangingName="DatiCommessaRowChanging" msprop:Generator_RowEvHandlerName="DatiCommessaRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommessaRowDeleted" msprop:Generator_UserTableName="DatiCommessa" msprop:Generator_RowChangedName="DatiCommessaRowChanged" msprop:Generator_RowEvArgName="DatiCommessaRowChangeEvent" msprop:Generator_RowClassName="DatiCommessaRow">
<xs:element name="DatiCommessa" msprop:Generator_TableClassName="DatiCommessaDataTable" msprop:Generator_TableVarName="tableDatiCommessa" msprop:Generator_RowChangedName="DatiCommessaRowChanged" msprop:Generator_TablePropName="DatiCommessa" msprop:Generator_RowDeletingName="DatiCommessaRowDeleting" msprop:Generator_RowChangingName="DatiCommessaRowChanging" msprop:Generator_RowEvHandlerName="DatiCommessaRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommessaRowDeleted" msprop:Generator_RowClassName="DatiCommessaRow" msprop:Generator_UserTableName="DatiCommessa" msprop:Generator_RowEvArgName="DatiCommessaRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -1836,7 +2052,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DatiCommForn" msprop:Generator_TableClassName="DatiCommFornDataTable" msprop:Generator_TableVarName="tableDatiCommForn" msprop:Generator_RowChangedName="DatiCommFornRowChanged" msprop:Generator_TablePropName="DatiCommForn" msprop:Generator_RowDeletingName="DatiCommFornRowDeleting" msprop:Generator_RowChangingName="DatiCommFornRowChanging" msprop:Generator_RowEvHandlerName="DatiCommFornRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommFornRowDeleted" msprop:Generator_RowClassName="DatiCommFornRow" msprop:Generator_UserTableName="DatiCommForn" msprop:Generator_RowEvArgName="DatiCommFornRowChangeEvent">
<xs:element name="DatiCommForn" msprop:Generator_TableClassName="DatiCommFornDataTable" msprop:Generator_TableVarName="tableDatiCommForn" msprop:Generator_TablePropName="DatiCommForn" msprop:Generator_RowDeletingName="DatiCommFornRowDeleting" msprop:Generator_RowChangingName="DatiCommFornRowChanging" msprop:Generator_RowEvHandlerName="DatiCommFornRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommFornRowDeleted" msprop:Generator_UserTableName="DatiCommForn" msprop:Generator_RowChangedName="DatiCommFornRowChanged" msprop:Generator_RowEvArgName="DatiCommFornRowChangeEvent" msprop:Generator_RowClassName="DatiCommFornRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDCF" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxDCF" msprop:Generator_ColumnPropNameInRow="idxDCF" msprop:Generator_ColumnPropNameInTable="idxDCFColumn" msprop:Generator_UserColumnName="idxDCF" type="xs:int" />
@@ -1887,7 +2103,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DatiCommInteg" msprop:Generator_TableClassName="DatiCommIntegDataTable" msprop:Generator_TableVarName="tableDatiCommInteg" msprop:Generator_RowChangedName="DatiCommIntegRowChanged" msprop:Generator_TablePropName="DatiCommInteg" msprop:Generator_RowDeletingName="DatiCommIntegRowDeleting" msprop:Generator_RowChangingName="DatiCommIntegRowChanging" msprop:Generator_RowEvHandlerName="DatiCommIntegRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommIntegRowDeleted" msprop:Generator_RowClassName="DatiCommIntegRow" msprop:Generator_UserTableName="DatiCommInteg" msprop:Generator_RowEvArgName="DatiCommIntegRowChangeEvent">
<xs:element name="DatiCommInteg" msprop:Generator_TableClassName="DatiCommIntegDataTable" msprop:Generator_TableVarName="tableDatiCommInteg" msprop:Generator_TablePropName="DatiCommInteg" msprop:Generator_RowDeletingName="DatiCommIntegRowDeleting" msprop:Generator_RowChangingName="DatiCommIntegRowChanging" msprop:Generator_RowEvHandlerName="DatiCommIntegRowChangeEventHandler" msprop:Generator_RowDeletedName="DatiCommIntegRowDeleted" msprop:Generator_UserTableName="DatiCommInteg" msprop:Generator_RowChangedName="DatiCommIntegRowChanged" msprop:Generator_RowEvArgName="DatiCommIntegRowChangeEvent" msprop:Generator_RowClassName="DatiCommIntegRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDCI" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxDCI" msprop:Generator_ColumnPropNameInRow="idxDCI" msprop:Generator_ColumnPropNameInTable="idxDCIColumn" msprop:Generator_UserColumnName="idxDCI" type="xs:int" />
@@ -1939,7 +2155,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagCommFasi" msprop:Generator_TableClassName="AnagCommFasiDataTable" msprop:Generator_TableVarName="tableAnagCommFasi" msprop:Generator_RowChangedName="AnagCommFasiRowChanged" msprop:Generator_TablePropName="AnagCommFasi" msprop:Generator_RowDeletingName="AnagCommFasiRowDeleting" msprop:Generator_RowChangingName="AnagCommFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagCommFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagCommFasiRowDeleted" msprop:Generator_RowClassName="AnagCommFasiRow" msprop:Generator_UserTableName="AnagCommFasi" msprop:Generator_RowEvArgName="AnagCommFasiRowChangeEvent">
<xs:element name="AnagCommFasi" msprop:Generator_TableClassName="AnagCommFasiDataTable" msprop:Generator_TableVarName="tableAnagCommFasi" msprop:Generator_TablePropName="AnagCommFasi" msprop:Generator_RowDeletingName="AnagCommFasiRowDeleting" msprop:Generator_RowChangingName="AnagCommFasiRowChanging" msprop:Generator_RowEvHandlerName="AnagCommFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagCommFasiRowDeleted" msprop:Generator_UserTableName="AnagCommFasi" msprop:Generator_RowChangedName="AnagCommFasiRowChanged" msprop:Generator_RowEvArgName="AnagCommFasiRowChangeEvent" msprop:Generator_RowClassName="AnagCommFasiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxProgetto" msprop:Generator_ColumnVarNameInTable="columnidxProgetto" msprop:Generator_ColumnPropNameInRow="idxProgetto" msprop:Generator_ColumnPropNameInTable="idxProgettoColumn" msprop:Generator_UserColumnName="idxProgetto" type="xs:int" minOccurs="0" />
@@ -2042,7 +2258,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ElencoFasiExpl" msprop:Generator_TableClassName="ElencoFasiExplDataTable" msprop:Generator_TableVarName="tableElencoFasiExpl" msprop:Generator_TablePropName="ElencoFasiExpl" msprop:Generator_RowDeletingName="ElencoFasiExplRowDeleting" msprop:Generator_RowChangingName="ElencoFasiExplRowChanging" msprop:Generator_RowEvHandlerName="ElencoFasiExplRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoFasiExplRowDeleted" msprop:Generator_UserTableName="ElencoFasiExpl" msprop:Generator_RowChangedName="ElencoFasiExplRowChanged" msprop:Generator_RowEvArgName="ElencoFasiExplRowChangeEvent" msprop:Generator_RowClassName="ElencoFasiExplRow">
<xs:element name="ElencoFasiExpl" msprop:Generator_TableClassName="ElencoFasiExplDataTable" msprop:Generator_TableVarName="tableElencoFasiExpl" msprop:Generator_RowChangedName="ElencoFasiExplRowChanged" msprop:Generator_TablePropName="ElencoFasiExpl" msprop:Generator_RowDeletingName="ElencoFasiExplRowDeleting" msprop:Generator_RowChangingName="ElencoFasiExplRowChanging" msprop:Generator_RowEvHandlerName="ElencoFasiExplRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoFasiExplRowDeleted" msprop:Generator_RowClassName="ElencoFasiExplRow" msprop:Generator_UserTableName="ElencoFasiExpl" msprop:Generator_RowEvArgName="ElencoFasiExplRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -2090,7 +2306,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BdgtRisorseFasi" msprop:Generator_TableClassName="BdgtRisorseFasiDataTable" msprop:Generator_TableVarName="tableBdgtRisorseFasi" msprop:Generator_RowChangedName="BdgtRisorseFasiRowChanged" msprop:Generator_TablePropName="BdgtRisorseFasi" msprop:Generator_RowDeletingName="BdgtRisorseFasiRowDeleting" msprop:Generator_RowChangingName="BdgtRisorseFasiRowChanging" msprop:Generator_RowEvHandlerName="BdgtRisorseFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="BdgtRisorseFasiRowDeleted" msprop:Generator_RowClassName="BdgtRisorseFasiRow" msprop:Generator_UserTableName="BdgtRisorseFasi" msprop:Generator_RowEvArgName="BdgtRisorseFasiRowChangeEvent">
<xs:element name="BdgtRisorseFasi" msprop:Generator_TableClassName="BdgtRisorseFasiDataTable" msprop:Generator_TableVarName="tableBdgtRisorseFasi" msprop:Generator_TablePropName="BdgtRisorseFasi" msprop:Generator_RowDeletingName="BdgtRisorseFasiRowDeleting" msprop:Generator_RowChangingName="BdgtRisorseFasiRowChanging" msprop:Generator_RowEvHandlerName="BdgtRisorseFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="BdgtRisorseFasiRowDeleted" msprop:Generator_UserTableName="BdgtRisorseFasi" msprop:Generator_RowChangedName="BdgtRisorseFasiRowChanged" msprop:Generator_RowEvArgName="BdgtRisorseFasiRowChangeEvent" msprop:Generator_RowClassName="BdgtRisorseFasiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -2107,7 +2323,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagTipoRisorse" msprop:Generator_TableClassName="AnagTipoRisorseDataTable" msprop:Generator_TableVarName="tableAnagTipoRisorse" msprop:Generator_RowChangedName="AnagTipoRisorseRowChanged" msprop:Generator_TablePropName="AnagTipoRisorse" msprop:Generator_RowDeletingName="AnagTipoRisorseRowDeleting" msprop:Generator_RowChangingName="AnagTipoRisorseRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoRisorseRowDeleted" msprop:Generator_RowClassName="AnagTipoRisorseRow" msprop:Generator_UserTableName="AnagTipoRisorse" msprop:Generator_RowEvArgName="AnagTipoRisorseRowChangeEvent">
<xs:element name="AnagTipoRisorse" msprop:Generator_TableClassName="AnagTipoRisorseDataTable" msprop:Generator_TableVarName="tableAnagTipoRisorse" msprop:Generator_TablePropName="AnagTipoRisorse" msprop:Generator_RowDeletingName="AnagTipoRisorseRowDeleting" msprop:Generator_RowChangingName="AnagTipoRisorseRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoRisorseRowDeleted" msprop:Generator_UserTableName="AnagTipoRisorse" msprop:Generator_RowChangedName="AnagTipoRisorseRowChanged" msprop:Generator_RowEvArgName="AnagTipoRisorseRowChangeEvent" msprop:Generator_RowClassName="AnagTipoRisorseRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodTipoRisorsa" msprop:Generator_ColumnVarNameInTable="columnCodTipoRisorsa" msprop:Generator_ColumnPropNameInRow="CodTipoRisorsa" msprop:Generator_ColumnPropNameInTable="CodTipoRisorsaColumn" msprop:Generator_UserColumnName="CodTipoRisorsa">
@@ -2128,7 +2344,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Dip2ATR" msprop:Generator_TableClassName="Dip2ATRDataTable" msprop:Generator_TableVarName="tableDip2ATR" msprop:Generator_TablePropName="Dip2ATR" msprop:Generator_RowDeletingName="Dip2ATRRowDeleting" msprop:Generator_RowChangingName="Dip2ATRRowChanging" msprop:Generator_RowEvHandlerName="Dip2ATRRowChangeEventHandler" msprop:Generator_RowDeletedName="Dip2ATRRowDeleted" msprop:Generator_UserTableName="Dip2ATR" msprop:Generator_RowChangedName="Dip2ATRRowChanged" msprop:Generator_RowEvArgName="Dip2ATRRowChangeEvent" msprop:Generator_RowClassName="Dip2ATRRow">
<xs:element name="Dip2ATR" msprop:Generator_TableClassName="Dip2ATRDataTable" msprop:Generator_TableVarName="tableDip2ATR" msprop:Generator_RowChangedName="Dip2ATRRowChanged" msprop:Generator_TablePropName="Dip2ATR" msprop:Generator_RowDeletingName="Dip2ATRRowDeleting" msprop:Generator_RowChangingName="Dip2ATRRowChanging" msprop:Generator_RowEvHandlerName="Dip2ATRRowChangeEventHandler" msprop:Generator_RowDeletedName="Dip2ATRRowDeleted" msprop:Generator_RowClassName="Dip2ATRRow" msprop:Generator_UserTableName="Dip2ATR" msprop:Generator_RowEvArgName="Dip2ATRRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDipendente" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
@@ -2149,7 +2365,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Dipendenti" msprop:Generator_TableClassName="DipendentiDataTable" msprop:Generator_TableVarName="tableDipendenti" msprop:Generator_TablePropName="Dipendenti" msprop:Generator_RowDeletingName="DipendentiRowDeleting" msprop:Generator_RowChangingName="DipendentiRowChanging" msprop:Generator_RowEvHandlerName="DipendentiRowChangeEventHandler" msprop:Generator_RowDeletedName="DipendentiRowDeleted" msprop:Generator_UserTableName="Dipendenti" msprop:Generator_RowChangedName="DipendentiRowChanged" msprop:Generator_RowEvArgName="DipendentiRowChangeEvent" msprop:Generator_RowClassName="DipendentiRow">
<xs:element name="Dipendenti" msprop:Generator_TableClassName="DipendentiDataTable" msprop:Generator_TableVarName="tableDipendenti" msprop:Generator_RowChangedName="DipendentiRowChanged" msprop:Generator_TablePropName="Dipendenti" msprop:Generator_RowDeletingName="DipendentiRowDeleting" msprop:Generator_RowChangingName="DipendentiRowChanging" msprop:Generator_RowEvHandlerName="DipendentiRowChangeEventHandler" msprop:Generator_RowDeletedName="DipendentiRowDeleted" msprop:Generator_RowClassName="DipendentiRow" msprop:Generator_UserTableName="Dipendenti" msprop:Generator_RowEvArgName="DipendentiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDipendente" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
@@ -2284,7 +2500,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BazaarRisorse" msprop:Generator_TableClassName="BazaarRisorseDataTable" msprop:Generator_TableVarName="tableBazaarRisorse" msprop:Generator_TablePropName="BazaarRisorse" msprop:Generator_RowDeletingName="BazaarRisorseRowDeleting" msprop:Generator_RowChangingName="BazaarRisorseRowChanging" msprop:Generator_RowEvHandlerName="BazaarRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="BazaarRisorseRowDeleted" msprop:Generator_UserTableName="BazaarRisorse" msprop:Generator_RowChangedName="BazaarRisorseRowChanged" msprop:Generator_RowEvArgName="BazaarRisorseRowChangeEvent" msprop:Generator_RowClassName="BazaarRisorseRow">
<xs:element name="BazaarRisorse" msprop:Generator_TableClassName="BazaarRisorseDataTable" msprop:Generator_TableVarName="tableBazaarRisorse" msprop:Generator_RowChangedName="BazaarRisorseRowChanged" msprop:Generator_TablePropName="BazaarRisorse" msprop:Generator_RowDeletingName="BazaarRisorseRowDeleting" msprop:Generator_RowChangingName="BazaarRisorseRowChanging" msprop:Generator_RowEvHandlerName="BazaarRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="BazaarRisorseRowDeleted" msprop:Generator_RowClassName="BazaarRisorseRow" msprop:Generator_UserTableName="BazaarRisorse" msprop:Generator_RowEvArgName="BazaarRisorseRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Anno" msprop:Generator_ColumnVarNameInTable="columnAnno" msprop:Generator_ColumnPropNameInRow="Anno" msprop:Generator_ColumnPropNameInTable="AnnoColumn" msprop:Generator_UserColumnName="Anno" type="xs:int" />
@@ -2303,7 +2519,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ImpiegoRisorse" msprop:Generator_TableClassName="ImpiegoRisorseDataTable" msprop:Generator_TableVarName="tableImpiegoRisorse" msprop:Generator_RowChangedName="ImpiegoRisorseRowChanged" msprop:Generator_TablePropName="ImpiegoRisorse" msprop:Generator_RowDeletingName="ImpiegoRisorseRowDeleting" msprop:Generator_RowChangingName="ImpiegoRisorseRowChanging" msprop:Generator_RowEvHandlerName="ImpiegoRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpiegoRisorseRowDeleted" msprop:Generator_RowClassName="ImpiegoRisorseRow" msprop:Generator_UserTableName="ImpiegoRisorse" msprop:Generator_RowEvArgName="ImpiegoRisorseRowChangeEvent">
<xs:element name="ImpiegoRisorse" msprop:Generator_TableClassName="ImpiegoRisorseDataTable" msprop:Generator_TableVarName="tableImpiegoRisorse" msprop:Generator_TablePropName="ImpiegoRisorse" msprop:Generator_RowDeletingName="ImpiegoRisorseRowDeleting" msprop:Generator_RowChangingName="ImpiegoRisorseRowChanging" msprop:Generator_RowEvHandlerName="ImpiegoRisorseRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpiegoRisorseRowDeleted" msprop:Generator_UserTableName="ImpiegoRisorse" msprop:Generator_RowChangedName="ImpiegoRisorseRowChanged" msprop:Generator_RowEvArgName="ImpiegoRisorseRowChangeEvent" msprop:Generator_RowClassName="ImpiegoRisorseRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Anno" msprop:Generator_ColumnVarNameInTable="columnAnno" msprop:Generator_ColumnPropNameInRow="Anno" msprop:Generator_ColumnPropNameInTable="AnnoColumn" msprop:Generator_UserColumnName="Anno" type="xs:int" />
@@ -2314,7 +2530,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ReleasedWeek" msprop:Generator_TableClassName="ReleasedWeekDataTable" msprop:Generator_TableVarName="tableReleasedWeek" msprop:Generator_TablePropName="ReleasedWeek" msprop:Generator_RowDeletingName="ReleasedWeekRowDeleting" msprop:Generator_RowChangingName="ReleasedWeekRowChanging" msprop:Generator_RowEvHandlerName="ReleasedWeekRowChangeEventHandler" msprop:Generator_RowDeletedName="ReleasedWeekRowDeleted" msprop:Generator_UserTableName="ReleasedWeek" msprop:Generator_RowChangedName="ReleasedWeekRowChanged" msprop:Generator_RowEvArgName="ReleasedWeekRowChangeEvent" msprop:Generator_RowClassName="ReleasedWeekRow">
<xs:element name="ReleasedWeek" msprop:Generator_TableClassName="ReleasedWeekDataTable" msprop:Generator_TableVarName="tableReleasedWeek" msprop:Generator_RowChangedName="ReleasedWeekRowChanged" msprop:Generator_TablePropName="ReleasedWeek" msprop:Generator_RowDeletingName="ReleasedWeekRowDeleting" msprop:Generator_RowChangingName="ReleasedWeekRowChanging" msprop:Generator_RowEvHandlerName="ReleasedWeekRowChangeEventHandler" msprop:Generator_RowDeletedName="ReleasedWeekRowDeleted" msprop:Generator_RowClassName="ReleasedWeekRow" msprop:Generator_UserTableName="ReleasedWeek" msprop:Generator_RowEvArgName="ReleasedWeekRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Anno" msprop:Generator_ColumnVarNameInTable="columnAnno" msprop:Generator_ColumnPropNameInRow="Anno" msprop:Generator_ColumnPropNameInTable="AnnoColumn" msprop:Generator_UserColumnName="Anno" type="xs:int" />
@@ -2330,7 +2546,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ResocontoComm" msprop:Generator_TableClassName="ResocontoCommDataTable" msprop:Generator_TableVarName="tableResocontoComm" msprop:Generator_TablePropName="ResocontoComm" msprop:Generator_RowDeletingName="ResocontoCommRowDeleting" msprop:Generator_RowChangingName="ResocontoCommRowChanging" msprop:Generator_RowEvHandlerName="ResocontoCommRowChangeEventHandler" msprop:Generator_RowDeletedName="ResocontoCommRowDeleted" msprop:Generator_UserTableName="ResocontoComm" msprop:Generator_RowChangedName="ResocontoCommRowChanged" msprop:Generator_RowEvArgName="ResocontoCommRowChangeEvent" msprop:Generator_RowClassName="ResocontoCommRow">
<xs:element name="ResocontoComm" msprop:Generator_TableClassName="ResocontoCommDataTable" msprop:Generator_TableVarName="tableResocontoComm" msprop:Generator_RowChangedName="ResocontoCommRowChanged" msprop:Generator_TablePropName="ResocontoComm" msprop:Generator_RowDeletingName="ResocontoCommRowDeleting" msprop:Generator_RowChangingName="ResocontoCommRowChanging" msprop:Generator_RowEvHandlerName="ResocontoCommRowChangeEventHandler" msprop:Generator_RowDeletedName="ResocontoCommRowDeleted" msprop:Generator_RowClassName="ResocontoCommRow" msprop:Generator_UserTableName="ResocontoComm" msprop:Generator_RowEvArgName="ResocontoCommRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -2359,7 +2575,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagLabels" msprop:Generator_TableClassName="AnagLabelsDataTable" msprop:Generator_TableVarName="tableAnagLabels" msprop:Generator_RowChangedName="AnagLabelsRowChanged" msprop:Generator_TablePropName="AnagLabels" msprop:Generator_RowDeletingName="AnagLabelsRowDeleting" msprop:Generator_RowChangingName="AnagLabelsRowChanging" msprop:Generator_RowEvHandlerName="AnagLabelsRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagLabelsRowDeleted" msprop:Generator_RowClassName="AnagLabelsRow" msprop:Generator_UserTableName="AnagLabels" msprop:Generator_RowEvArgName="AnagLabelsRowChangeEvent">
<xs:element name="AnagLabels" msprop:Generator_TableClassName="AnagLabelsDataTable" msprop:Generator_TableVarName="tableAnagLabels" msprop:Generator_TablePropName="AnagLabels" msprop:Generator_RowDeletingName="AnagLabelsRowDeleting" msprop:Generator_RowChangingName="AnagLabelsRowChanging" msprop:Generator_RowEvHandlerName="AnagLabelsRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagLabelsRowDeleted" msprop:Generator_UserTableName="AnagLabels" msprop:Generator_RowChangedName="AnagLabelsRowChanged" msprop:Generator_RowEvArgName="AnagLabelsRowChangeEvent" msprop:Generator_RowClassName="AnagLabelsRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodLabel" msprop:Generator_ColumnVarNameInTable="columnCodLabel" msprop:Generator_ColumnPropNameInRow="CodLabel" msprop:Generator_ColumnPropNameInTable="CodLabelColumn" msprop:Generator_UserColumnName="CodLabel">
@@ -2379,7 +2595,7 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="LabelsComm" msprop:Generator_TableClassName="LabelsCommDataTable" msprop:Generator_TableVarName="tableLabelsComm" msprop:Generator_RowChangedName="LabelsCommRowChanged" msprop:Generator_TablePropName="LabelsComm" msprop:Generator_RowDeletingName="LabelsCommRowDeleting" msprop:Generator_RowChangingName="LabelsCommRowChanging" msprop:Generator_RowEvHandlerName="LabelsCommRowChangeEventHandler" msprop:Generator_RowDeletedName="LabelsCommRowDeleted" msprop:Generator_RowClassName="LabelsCommRow" msprop:Generator_UserTableName="LabelsComm" msprop:Generator_RowEvArgName="LabelsCommRowChangeEvent">
<xs:element name="LabelsComm" msprop:Generator_TableClassName="LabelsCommDataTable" msprop:Generator_TableVarName="tableLabelsComm" msprop:Generator_TablePropName="LabelsComm" msprop:Generator_RowDeletingName="LabelsCommRowDeleting" msprop:Generator_RowChangingName="LabelsCommRowChanging" msprop:Generator_RowEvHandlerName="LabelsCommRowChangeEventHandler" msprop:Generator_RowDeletedName="LabelsCommRowDeleted" msprop:Generator_UserTableName="LabelsComm" msprop:Generator_RowChangedName="LabelsCommRowChanged" msprop:Generator_RowEvArgName="LabelsCommRowChangeEvent" msprop:Generator_RowClassName="LabelsCommRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxFase" msprop:Generator_ColumnVarNameInTable="columnidxFase" msprop:Generator_ColumnPropNameInRow="idxFase" msprop:Generator_ColumnPropNameInTable="idxFaseColumn" msprop:Generator_UserColumnName="idxFase" type="xs:int" />
@@ -2393,6 +2609,37 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TLockBazRA" msprop:Generator_TableClassName="TLockBazRADataTable" msprop:Generator_TableVarName="tableTLockBazRA" msprop:Generator_RowChangedName="TLockBazRARowChanged" msprop:Generator_TablePropName="TLockBazRA" msprop:Generator_RowDeletingName="TLockBazRARowDeleting" msprop:Generator_RowChangingName="TLockBazRARowChanging" msprop:Generator_RowEvHandlerName="TLockBazRARowChangeEventHandler" msprop:Generator_RowDeletedName="TLockBazRARowDeleted" msprop:Generator_RowClassName="TLockBazRARow" msprop:Generator_UserTableName="TLockBazRA" msprop:Generator_RowEvArgName="TLockBazRARowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxDipendente" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
<xs:element name="DtLock" msprop:Generator_ColumnVarNameInTable="columnDtLock" msprop:Generator_ColumnPropNameInRow="DtLock" msprop:Generator_ColumnPropNameInTable="DtLockColumn" msprop:Generator_UserColumnName="DtLock" type="xs:dateTime" />
<xs:element name="LockedBy" msprop:Generator_ColumnVarNameInTable="columnLockedBy" msprop:Generator_ColumnPropNameInRow="LockedBy" msprop:Generator_ColumnPropNameInTable="LockedByColumn" msprop:Generator_UserColumnName="LockedBy">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="LogEmailBaz" msprop:Generator_TableClassName="LogEmailBazDataTable" msprop:Generator_TableVarName="tableLogEmailBaz" msprop:Generator_TablePropName="LogEmailBaz" msprop:Generator_RowDeletingName="LogEmailBazRowDeleting" msprop:Generator_RowChangingName="LogEmailBazRowChanging" msprop:Generator_RowEvHandlerName="LogEmailBazRowChangeEventHandler" msprop:Generator_RowDeletedName="LogEmailBazRowDeleted" msprop:Generator_UserTableName="LogEmailBaz" msprop:Generator_RowChangedName="LogEmailBazRowChanged" msprop:Generator_RowEvArgName="LogEmailBazRowChangeEvent" msprop:Generator_RowClassName="LogEmailBazRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Anno" msprop:Generator_ColumnVarNameInTable="columnAnno" msprop:Generator_ColumnPropNameInRow="Anno" msprop:Generator_ColumnPropNameInTable="AnnoColumn" msprop:Generator_UserColumnName="Anno" type="xs:int" />
<xs:element name="Sett" msprop:Generator_ColumnVarNameInTable="columnSett" msprop:Generator_ColumnPropNameInRow="Sett" msprop:Generator_ColumnPropNameInTable="SettColumn" msprop:Generator_UserColumnName="Sett" type="xs:int" />
<xs:element name="DtLastSend" msprop:Generator_ColumnVarNameInTable="columnDtLastSend" msprop:Generator_ColumnPropNameInRow="DtLastSend" msprop:Generator_ColumnPropNameInTable="DtLastSendColumn" msprop:Generator_UserColumnName="DtLastSend" type="xs:dateTime" />
<xs:element name="SentBy" msprop:Generator_ColumnVarNameInTable="columnSentBy" msprop:Generator_ColumnPropNameInRow="SentBy" msprop:Generator_ColumnPropNameInTable="SentByColumn" msprop:Generator_UserColumnName="SentBy">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
@@ -2473,16 +2720,26 @@ SELECT idxFase, CodLabel FROM LabelsComm WHERE (CodLabel = @CodLabel) AND (idxFa
<xs:field xpath="mstns:idxFase" />
<xs:field xpath="mstns:CodLabel" />
</xs:unique>
<xs:unique name="TLockBazRA_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:TLockBazRA" />
<xs:field xpath="mstns:idxDipendente" />
</xs:unique>
<xs:unique name="LogEmailBaz_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:LogEmailBaz" />
<xs:field xpath="mstns:DtLastSend" />
<xs:field xpath="mstns:Sett" />
<xs:field xpath="mstns:Anno" />
</xs:unique>
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="AnagProgetti_AnagFasi" msdata:parent="AnagProgetti" msdata:child="AnagFasi" msdata:parentkey="idxProgetto" msdata:childkey="idxProgetto" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="AnagProgetti_AnagFasi" msprop:Generator_ParentPropName="AnagProgettiRow" msprop:Generator_RelationVarName="relationAnagProgetti_AnagFasi" msprop:Generator_UserParentTable="AnagProgetti" />
<msdata:Relationship name="DatiCommessa_AnagFasi" msdata:parent="DatiCommessa" msdata:child="AnagFasi" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="DatiCommessa_AnagFasi" msprop:Generator_RelationVarName="relationDatiCommessa_AnagFasi" msprop:Generator_UserParentTable="DatiCommessa" msprop:Generator_ParentPropName="DatiCommessaRow" />
<msdata:Relationship name="DatiCommessa_DatiCommForn" msdata:parent="DatiCommessa" msdata:child="DatiCommForn" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="DatiCommForn" msprop:Generator_ChildPropName="GetDatiCommFornRows" msprop:Generator_UserRelationName="DatiCommessa_DatiCommForn" msprop:Generator_RelationVarName="relationDatiCommessa_DatiCommForn" msprop:Generator_UserParentTable="DatiCommessa" msprop:Generator_ParentPropName="DatiCommessaRow" />
<msdata:Relationship name="DatiCommessa_DatiCommInteg" msdata:parent="DatiCommessa" msdata:child="DatiCommInteg" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="DatiCommInteg" msprop:Generator_ChildPropName="GetDatiCommIntegRows" msprop:Generator_UserRelationName="DatiCommessa_DatiCommInteg" msprop:Generator_RelationVarName="relationDatiCommessa_DatiCommInteg" msprop:Generator_UserParentTable="DatiCommessa" msprop:Generator_ParentPropName="DatiCommessaRow" />
<msdata:Relationship name="AnagFasi_BdgtRisorseFasi" msdata:parent="AnagFasi" msdata:child="BdgtRisorseFasi" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="BdgtRisorseFasi" msprop:Generator_ChildPropName="GetBdgtRisorseFasiRows" msprop:Generator_UserRelationName="AnagFasi_BdgtRisorseFasi" msprop:Generator_RelationVarName="relationAnagFasi_BdgtRisorseFasi" msprop:Generator_UserParentTable="AnagFasi" msprop:Generator_ParentPropName="AnagFasiRow" />
<msdata:Relationship name="FK_BdgtRisorseFasi_AnagTipoRisorse" msdata:parent="AnagTipoRisorse" msdata:child="BdgtRisorseFasi" msdata:parentkey="CodTipoRisorsa" msdata:childkey="CodTipoRisorsa" msprop:Generator_UserChildTable="BdgtRisorseFasi" msprop:Generator_ChildPropName="GetBdgtRisorseFasiRows" msprop:Generator_UserRelationName="FK_BdgtRisorseFasi_AnagTipoRisorse" msprop:Generator_ParentPropName="AnagTipoRisorseRow" msprop:Generator_RelationVarName="relationFK_BdgtRisorseFasi_AnagTipoRisorse" msprop:Generator_UserParentTable="AnagTipoRisorse" />
<msdata:Relationship name="FK_LabelsComm_AnagLabels" msdata:parent="AnagLabels" msdata:child="LabelsComm" msdata:parentkey="CodLabel" msdata:childkey="CodLabel" msprop:Generator_UserChildTable="LabelsComm" msprop:Generator_ChildPropName="GetLabelsCommRows" msprop:Generator_UserRelationName="FK_LabelsComm_AnagLabels" msprop:Generator_RelationVarName="relationFK_LabelsComm_AnagLabels" msprop:Generator_UserParentTable="AnagLabels" msprop:Generator_ParentPropName="AnagLabelsRow" />
<msdata:Relationship name="AnagProgetti_AnagFasi" msdata:parent="AnagProgetti" msdata:child="AnagFasi" msdata:parentkey="idxProgetto" msdata:childkey="idxProgetto" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="AnagProgetti_AnagFasi" msprop:Generator_RelationVarName="relationAnagProgetti_AnagFasi" msprop:Generator_UserParentTable="AnagProgetti" msprop:Generator_ParentPropName="AnagProgettiRow" />
<msdata:Relationship name="DatiCommessa_AnagFasi" msdata:parent="DatiCommessa" msdata:child="AnagFasi" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="DatiCommessa_AnagFasi" msprop:Generator_ParentPropName="DatiCommessaRow" msprop:Generator_RelationVarName="relationDatiCommessa_AnagFasi" msprop:Generator_UserParentTable="DatiCommessa" />
<msdata:Relationship name="DatiCommessa_DatiCommForn" msdata:parent="DatiCommessa" msdata:child="DatiCommForn" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="DatiCommForn" msprop:Generator_ChildPropName="GetDatiCommFornRows" msprop:Generator_UserRelationName="DatiCommessa_DatiCommForn" msprop:Generator_ParentPropName="DatiCommessaRow" msprop:Generator_RelationVarName="relationDatiCommessa_DatiCommForn" msprop:Generator_UserParentTable="DatiCommessa" />
<msdata:Relationship name="DatiCommessa_DatiCommInteg" msdata:parent="DatiCommessa" msdata:child="DatiCommInteg" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="DatiCommInteg" msprop:Generator_ChildPropName="GetDatiCommIntegRows" msprop:Generator_UserRelationName="DatiCommessa_DatiCommInteg" msprop:Generator_ParentPropName="DatiCommessaRow" msprop:Generator_RelationVarName="relationDatiCommessa_DatiCommInteg" msprop:Generator_UserParentTable="DatiCommessa" />
<msdata:Relationship name="AnagFasi_BdgtRisorseFasi" msdata:parent="AnagFasi" msdata:child="BdgtRisorseFasi" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserChildTable="BdgtRisorseFasi" msprop:Generator_ChildPropName="GetBdgtRisorseFasiRows" msprop:Generator_UserRelationName="AnagFasi_BdgtRisorseFasi" msprop:Generator_ParentPropName="AnagFasiRow" msprop:Generator_RelationVarName="relationAnagFasi_BdgtRisorseFasi" msprop:Generator_UserParentTable="AnagFasi" />
<msdata:Relationship name="FK_BdgtRisorseFasi_AnagTipoRisorse" msdata:parent="AnagTipoRisorse" msdata:child="BdgtRisorseFasi" msdata:parentkey="CodTipoRisorsa" msdata:childkey="CodTipoRisorsa" msprop:Generator_UserChildTable="BdgtRisorseFasi" msprop:Generator_ChildPropName="GetBdgtRisorseFasiRows" msprop:Generator_UserRelationName="FK_BdgtRisorseFasi_AnagTipoRisorse" msprop:Generator_RelationVarName="relationFK_BdgtRisorseFasi_AnagTipoRisorse" msprop:Generator_UserParentTable="AnagTipoRisorse" msprop:Generator_ParentPropName="AnagTipoRisorseRow" />
<msdata:Relationship name="FK_LabelsComm_AnagLabels" msdata:parent="AnagLabels" msdata:child="LabelsComm" msdata:parentkey="CodLabel" msdata:childkey="CodLabel" msprop:Generator_UserChildTable="LabelsComm" msprop:Generator_ChildPropName="GetLabelsCommRows" msprop:Generator_UserRelationName="FK_LabelsComm_AnagLabels" msprop:Generator_ParentPropName="AnagLabelsRow" msprop:Generator_RelationVarName="relationFK_LabelsComm_AnagLabels" msprop:Generator_UserParentTable="AnagLabels" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+37 -35
View File
@@ -4,28 +4,30 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="16" ViewPortY="365" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="43" ViewPortY="373" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:AnagProgetti" ZOrder="24" X="70" Y="36" Height="438" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="273" />
<Shape ID="DesignTable:AnagFasi" ZOrder="19" X="495" Y="56" Height="533" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" />
<Shape ID="DesignTable:DatiCommessa" ZOrder="18" X="876" Y="56" Height="552" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="482" />
<Shape ID="DesignTable:DatiCommForn" ZOrder="7" X="1185" Y="69" Height="248" Width="233" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:DatiCommInteg" ZOrder="20" X="1189" Y="378" Height="267" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
<Shape ID="DesignTable:AnagCommFasi" ZOrder="9" X="532" Y="600" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:ElencoFasiExpl" ZOrder="15" X="851" Y="651" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:BdgtRisorseFasi" ZOrder="6" X="235" Y="679" Height="248" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagTipoRisorse" ZOrder="14" X="69" Y="501" Height="153" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:Dip2ATR" ZOrder="12" X="72" Y="939" Height="153" Width="196" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:Dipendenti" ZOrder="11" X="615" Y="1011" Height="305" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:BazaarRisorse" ZOrder="1" X="1170" Y="994" Height="347" Width="250" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:ImpiegoRisorse" ZOrder="10" X="858" Y="1051" Height="286" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="138" />
<Shape ID="DesignTable:ReleasedWeek" ZOrder="8" X="26" Y="1124" Height="172" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:ResocontoComm" ZOrder="5" X="298" Y="1027" Height="305" Width="243" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagLabels" ZOrder="4" X="1176" Y="658" Height="115" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:LabelsComm" ZOrder="2" X="1180" Y="813" Height="172" Width="233" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:AnagProgetti" ZOrder="26" X="70" Y="36" Height="438" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="273" />
<Shape ID="DesignTable:AnagFasi" ZOrder="21" X="495" Y="56" Height="533" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" />
<Shape ID="DesignTable:DatiCommessa" ZOrder="20" X="876" Y="56" Height="552" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="482" />
<Shape ID="DesignTable:DatiCommForn" ZOrder="10" X="1185" Y="69" Height="248" Width="233" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:DatiCommInteg" ZOrder="22" X="1189" Y="378" Height="267" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
<Shape ID="DesignTable:AnagCommFasi" ZOrder="12" X="532" Y="600" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:ElencoFasiExpl" ZOrder="18" X="851" Y="651" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:BdgtRisorseFasi" ZOrder="9" X="290" Y="667" Height="248" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagTipoRisorse" ZOrder="17" X="69" Y="501" Height="153" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:Dip2ATR" ZOrder="15" X="38" Y="1013" Height="153" Width="196" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:Dipendenti" ZOrder="14" X="548" Y="971" Height="305" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:BazaarRisorse" ZOrder="4" X="1208" Y="1055" Height="286" Width="212" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:ImpiegoRisorse" ZOrder="13" X="768" Y="1026" Height="286" Width="215" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="138" />
<Shape ID="DesignTable:ReleasedWeek" ZOrder="11" X="25" Y="1174" Height="172" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:ResocontoComm" ZOrder="8" X="285" Y="939" Height="305" Width="243" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagLabels" ZOrder="7" X="1176" Y="658" Height="153" Width="250" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:LabelsComm" ZOrder="5" X="1182" Y="841" Height="191" Width="238" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:TLockBazRA" ZOrder="3" X="36" Y="770" Height="210" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:LogEmailBaz" ZOrder="1" X="994" Y="1027" Height="172" Width="184" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:AnagProgetti_AnagFasi" ZOrder="23" LineWidth="11">
<Connector ID="DesignRelation:AnagProgetti_AnagFasi" ZOrder="25" LineWidth="11">
<RoutePoints>
<Point>
<X>370</X>
@@ -37,7 +39,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:DatiCommessa_AnagFasi" ZOrder="22" LineWidth="11">
<Connector ID="DesignRelation:DatiCommessa_AnagFasi" ZOrder="24" LineWidth="11">
<RoutePoints>
<Point>
<X>876</X>
@@ -49,7 +51,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:DatiCommessa_DatiCommForn" ZOrder="21" LineWidth="11">
<Connector ID="DesignRelation:DatiCommessa_DatiCommForn" ZOrder="23" LineWidth="11">
<RoutePoints>
<Point>
<X>1107</X>
@@ -61,7 +63,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:DatiCommessa_DatiCommInteg" ZOrder="13" LineWidth="11">
<Connector ID="DesignRelation:DatiCommessa_DatiCommInteg" ZOrder="16" LineWidth="11">
<RoutePoints>
<Point>
<X>1107</X>
@@ -81,23 +83,23 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:AnagFasi_BdgtRisorseFasi" ZOrder="17" LineWidth="11">
<Connector ID="DesignRelation:AnagFasi_BdgtRisorseFasi" ZOrder="19" LineWidth="11">
<RoutePoints>
<Point>
<X>495</X>
<Y>91</Y>
</Point>
<Point>
<X>403</X>
<X>458</X>
<Y>91</Y>
</Point>
<Point>
<X>403</X>
<Y>679</Y>
<X>458</X>
<Y>667</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_BdgtRisorseFasi_AnagTipoRisorse" ZOrder="16" LineWidth="11">
<Connector ID="DesignRelation:FK_BdgtRisorseFasi_AnagTipoRisorse" ZOrder="2" LineWidth="11">
<RoutePoints>
<Point>
<X>172</X>
@@ -105,23 +107,23 @@
</Point>
<Point>
<X>172</X>
<Y>826</Y>
<Y>747</Y>
</Point>
<Point>
<X>235</X>
<Y>826</Y>
<X>290</X>
<Y>747</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_LabelsComm_AnagLabels" ZOrder="3" LineWidth="11">
<Connector ID="DesignRelation:FK_LabelsComm_AnagLabels" ZOrder="6" LineWidth="11">
<RoutePoints>
<Point>
<X>1259</X>
<Y>773</Y>
<X>1298</X>
<Y>811</Y>
</Point>
<Point>
<X>1259</X>
<Y>813</Y>
<X>1298</X>
<Y>841</Y>
</Point>
</RoutePoints>
</Connector>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+176 -1
View File
@@ -515,6 +515,76 @@ namespace ETS_Data
#endregion
#region querystring
/// <summary>
/// recupera valore querystring STRING
/// </summary>
/// <param name="nome"></param>
/// <returns>valore string</returns>
public string QSS(string nome)
{
string answ = "";
try
{
answ = HttpContext.Current.Request.QueryString[nome].ToString().Trim();
}
catch
{ }
return answ;
}
/// <summary>
/// recupera valore querystring INT
/// </summary>
/// <param name="nome"></param>
/// <returns>valore INT</returns>
public int QSI(string nome)
{
int answ = 0;
try
{
answ = Convert.ToInt32(HttpContext.Current.Request.QueryString[nome]);
}
catch
{ }
return answ;
}
/// <summary>
/// recupera valore querystring BOOL
/// </summary>
/// <param name="nome"></param>
/// <returns>valore string</returns>
public bool QSB(string nome)
{
bool answ = false;
try
{
answ = Convert.ToBoolean(HttpContext.Current.Request.QueryString[nome]);
}
catch
{ }
return answ;
}
/// <summary>
/// recupera valore querystring DATE
/// </summary>
/// <param name="nome"></param>
/// <returns>valore DATE</returns>
public DateTime QSD(string nome)
{
DateTime answ = DateTime.Now;
try
{
answ = Convert.ToDateTime(HttpContext.Current.Request.QueryString[nome]);
}
catch
{ }
return answ;
}
#endregion
#region area varie
/// <summary>
@@ -601,7 +671,7 @@ namespace ETS_Data
/// </summary>
/// <param name="stringaIn"></param>
/// <returns></returns>
public string trimChar(object stringaIn, object maxChar)
public static string trimChar(object stringaIn, object maxChar)
{
string answ = "";
int maxNum = 0;
@@ -651,6 +721,88 @@ namespace ETS_Data
}
}
#endregion
#region gestione ruoli utente...
/// <summary>
/// risponde alla domanda se l'utente sia PowerUser
/// </summary>
/// <returns></returns>
public bool isPowerUser
{
get
{
return user_std.UtSn.userHasRight("PowerUser");
}
}
/// <summary>
/// risponde alla domanda se l'utente sia PowerReader
/// </summary>
/// <returns></returns>
public bool isPowerReader
{
get
{
return user_std.UtSn.userHasRight("PowerReader");
}
}
/// <summary>
/// risponde alla domanda se l'utente sia ProjectManager
/// </summary>
/// <returns></returns>
public bool isPM
{
get
{
return user_std.UtSn.userHasRight("PM");
}
}
/// <summary>
/// risponde alla domanda se l'utente sia CapoCommessa
/// </summary>
/// <returns></returns>
public bool isCC
{
get
{
return user_std.UtSn.userHasRight("CC");
}
}
/// <summary>
/// risponde alla domanda se l'utente sia User
/// </summary>
/// <returns></returns>
public bool isUser
{
get
{
return user_std.UtSn.userHasRight("User");
}
}
/// <summary>
/// risponde alla domanda se l'utente sia CC della commessa indicata dalla fase
/// </summary>
/// <param name="idxFase"></param>
/// <returns></returns>
public bool isCurrentCC(int idxFase)
{
bool answ = false;
string CapoCommessa = "";
try
{
CapoCommessa = DataProxy_ProjEts.DP.taDC.GetData(idxFase)[0].CapoCommessa;
}
catch
{ }
if (user_std.UtSn.NomeCognome == CapoCommessa || user_std.UtSn.CognomeNome == CapoCommessa)
{
answ = true;
}
return answ;
}
#endregion
}
/// <summary>
/// definisce un intervalo di 2 date
@@ -965,5 +1117,28 @@ namespace ETS_Data
var day = (int)CultureInfo.CurrentCulture.Calendar.GetDayOfWeek(date);
return CultureInfo.CurrentCulture.Calendar.GetWeekOfYear(date.AddDays(4 - (day == 0 ? 7 : day)), CalendarWeekRule.FirstFourDayWeek, DayOfWeek.Monday);
}
/// <summary>
/// restituisce la prima data della settimana richiesta
/// </summary>
/// <param name="year"></param>
/// <param name="weekOfYear"></param>
/// <returns></returns>
public static DateTime FirstDateOfWeekISO8601(int year, int weekOfYear)
{
DateTime jan1 = new DateTime(year, 1, 1);
int daysOffset = DayOfWeek.Thursday - jan1.DayOfWeek;
DateTime firstThursday = jan1.AddDays(daysOffset);
var cal = CultureInfo.CurrentCulture.Calendar;
int firstWeek = cal.GetWeekOfYear(firstThursday, CalendarWeekRule.FirstFourDayWeek, DayOfWeek.Monday);
var weekNum = weekOfYear;
if (firstWeek <= 1)
{
weekNum -= 1;
}
var result = firstThursday.AddDays(weekNum * 7);
return result.AddDays(-3);
}
}
}
+3 -2
View File
@@ -6,7 +6,8 @@
<include path="~/Content/font-awesome.css" />
</styleBundle>
<styleBundle path="~/Content/themes/base/css">
<include path="~/Content/themes/base/jquery.ui.core.css" />
<include path="~/Content/themes/base/all.css" />
<!--<include path="~/Content/themes/base/jquery.ui.core.css" />
<include path="~/Content/themes/base/jquery.ui.resizable.css" />
<include path="~/Content/themes/base/jquery.ui.selectable.css" />
<include path="~/Content/themes/base/jquery.ui.accordion.css" />
@@ -17,6 +18,6 @@
<include path="~/Content/themes/base/jquery.ui.tabs.css" />
<include path="~/Content/themes/base/jquery.ui.datepicker.css" />
<include path="~/Content/themes/base/jquery.ui.progressbar.css" />
<include path="~/Content/themes/base/jquery.ui.theme.css" />
<include path="~/Content/themes/base/jquery.ui.theme.css" />-->
</styleBundle>
</bundles>
+216 -178
View File
@@ -163,22 +163,22 @@ q {
}
/*#region area comp Extra */
/* floating window */
.ui-dialog-sw {
.ui-dialog {
padding: .2em;
overflow: hidden;
-moz-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.8);
-webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.8);
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.8);
}
.ui-dialog-sw .ui-dialog-sw-titlebar {
.ui-dialog .ui-dialog-titlebar {
padding: .5em 1em .3em;
position: relative;
}
.ui-dialog-sw .ui-dialog-sw-title {
.ui-dialog .ui-dialog-title {
float: left;
margin: .1em 16px .2em 0;
}
.ui-dialog-sw .ui-dialog-sw-titlebar-close {
.ui-dialog .ui-dialog-titlebar-close {
position: absolute;
right: .3em;
top: 50%;
@@ -188,15 +188,15 @@ q {
height: 18px;
-moz-border-radius: 10px;
}
.ui-dialog-sw .ui-dialog-sw-titlebar-close span {
.ui-dialog .ui-dialog-titlebar-close span {
display: block;
margin: 1px;
}
.ui-dialog-sw .ui-dialog-sw-titlebar-close:hover,
.ui-dialog-sw .ui-dialog-sw-titlebar-close:focus {
.ui-dialog .ui-dialog-titlebar-close:hover,
.ui-dialog .ui-dialog-titlebar-close:focus {
padding: 0;
}
.ui-dialog-sw .ui-dialog-sw-content {
.ui-dialog .ui-dialog-content {
position: relative;
border: 0;
padding: .5em 1em;
@@ -204,33 +204,33 @@ q {
overflow: auto;
zoom: 1;
}
.ui-dialog-sw .ui-dialog-sw-buttonpane {
.ui-dialog .ui-dialog-buttonpane {
text-align: left;
border-width: 1px 0 0 0;
background-image: none;
margin: .5em 0 0 0;
padding: .3em 1em .5em .4em;
}
.ui-dialog-sw .ui-dialog-sw-buttonpane .ui-dialog-sw-buttonset {
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
float: right;
}
.ui-dialog-sw .ui-dialog-sw-buttonpane button {
.ui-dialog .ui-dialog-buttonpane button {
margin: .5em .4em .5em 0;
cursor: pointer;
}
.ui-dialog-sw .ui-resizable-se {
.ui-dialog .ui-resizable-se {
width: 14px;
height: 14px;
right: 3px;
bottom: 3px;
}
.ui-draggable .ui-dialog-sw-titlebar {
.ui-draggable .ui-dialog-titlebar {
cursor: move;
}
.ui-dialog-sw {
.ui-dialog {
padding: 0;
}
.ui-dialog-sw .ui-dialog-sw-titlebar {
.ui-dialog .ui-dialog-titlebar {
border-top: none;
border-right: none;
border-left: none;
@@ -254,13 +254,13 @@ q {
}
.ui-widget-sw-content {
border: 1px solid #a8a8a8;
background: #ffffff;
background: white;
color: #4f4f4f;
}
.ui-widget-sw-header {
border: 1px solid #a8a8a8;
background: #c0c0c0 url('../images/ui-bg_highlight-soft_100_c0c0c0_1x100.png') repeat-x 50% top;
color: #333;
color: #333333;
font-weight: bold;
text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.7);
}
@@ -317,7 +317,7 @@ q {
background-image: linear-gradient(#4683ff, #2461BF);
}
.secColA-5 {
/*background-color: #B8E1FD;*/
/*background-color: @blu08;*/
background-image: -webkit-gradient(linear, left top, left bottom, from(#B8E1FD), to(#2461BF));
background-image: -webkit-linear-gradient(#B8E1FD, #2461BF);
background-image: -moz-linear-gradient(#B8E1FD, #2461BF);
@@ -357,21 +357,21 @@ q {
}
.lightBlue {
border: 1px solid #CDCDCD;
background-image: -webkit-gradient(linear, left top, left bottom, from(#ddf), to(#e1f1ff));
background-image: -webkit-linear-gradient(#ddf, #e1f1ff);
background-image: -moz-linear-gradient(#ddf, #e1f1ff);
background-image: -ms-linear-gradient(#ddf, #e1f1ff);
background-image: -o-linear-gradient(#ddf, #e1f1ff);
background-image: linear-gradient(#ddf, #e1f1ff);
background-image: -webkit-gradient(linear, left top, left bottom, from(#DDDDFF), to(#E1F1FF));
background-image: -webkit-linear-gradient(#DDDDFF, #E1F1FF);
background-image: -moz-linear-gradient(#DDDDFF, #E1F1FF);
background-image: -ms-linear-gradient(#DDDDFF, #E1F1FF);
background-image: -o-linear-gradient(#DDDDFF, #E1F1FF);
background-image: linear-gradient(#DDDDFF, #E1F1FF);
}
.lightGray {
/*background-color: #EDEDED;*/
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f1f1f1));
background-image: -webkit-linear-gradient(#fff, #f1f1f1);
background-image: -moz-linear-gradient(#fff, #f1f1f1);
background-image: -ms-linear-gradient(#fff, #f1f1f1);
background-image: -o-linear-gradient(#fff, #f1f1f1);
background-image: linear-gradient(#fff, #f1f1f1);
background-image: -webkit-gradient(linear, left top, left bottom, from(white), to(#F1F1F1));
background-image: -webkit-linear-gradient(white, #F1F1F1);
background-image: -moz-linear-gradient(white, #F1F1F1);
background-image: -ms-linear-gradient(white, #F1F1F1);
background-image: -o-linear-gradient(white, #F1F1F1);
background-image: linear-gradient(white, #F1F1F1);
border: 1px solid #CDCDCD;
}
/* FINE Schema colori */
@@ -406,30 +406,30 @@ q {
}
.rowStyle {
/*background-color: #DEE2EA;*/
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f1f1f1));
background-image: -webkit-linear-gradient(#fff, #f1f1f1);
background-image: -moz-linear-gradient(#fff, #f1f1f1);
background-image: -ms-linear-gradient(#fff, #f1f1f1);
background-image: -o-linear-gradient(#fff, #f1f1f1);
background-image: linear-gradient(#fff, #f1f1f1);
background-image: -webkit-gradient(linear, left top, left bottom, from(white), to(#F1F1F1));
background-image: -webkit-linear-gradient(white, #F1F1F1);
background-image: -moz-linear-gradient(white, #F1F1F1);
background-image: -ms-linear-gradient(white, #F1F1F1);
background-image: -o-linear-gradient(white, #F1F1F1);
background-image: linear-gradient(white, #F1F1F1);
border: 1px solid #CDCDCD;
}
.alternatingRowStyle {
/*background-color: White;*/
border: 1px solid #CDCDCD;
background-image: -webkit-gradient(linear, left top, left bottom, from(#ddf), to(#e1f1ff));
background-image: -webkit-linear-gradient(#ddf, #e1f1ff);
background-image: -moz-linear-gradient(#ddf, #e1f1ff);
background-image: -ms-linear-gradient(#ddf, #e1f1ff);
background-image: -o-linear-gradient(#ddf, #e1f1ff);
background-image: linear-gradient(#ddf, #e1f1ff);
background-image: -webkit-gradient(linear, left top, left bottom, from(#DDDDFF), to(#E1F1FF));
background-image: -webkit-linear-gradient(#DDDDFF, #E1F1FF);
background-image: -moz-linear-gradient(#DDDDFF, #E1F1FF);
background-image: -ms-linear-gradient(#DDDDFF, #E1F1FF);
background-image: -o-linear-gradient(#DDDDFF, #E1F1FF);
background-image: linear-gradient(#DDDDFF, #E1F1FF);
/*
background-image: -webkit-gradient(linear,left top,left bottom,from( #fff ),to( #f1f1f1 ));
background-image: -webkit-linear-gradient( #fff,#f1f1f1 );
background-image: -moz-linear-gradient( #fff,#f1f1f1 );
background-image: -ms-linear-gradient( #fff,#f1f1f1 );
background-image: -o-linear-gradient( #fff,#f1f1f1 );
background-image: linear-gradient( #fff,#f1f1f1 );
background-image: -webkit-gradient(linear,left top,left bottom,from( white ),to( @grigio01 ));
background-image: -webkit-linear-gradient( white,@grigio01 );
background-image: -moz-linear-gradient( white,@grigio01 );
background-image: -ms-linear-gradient( white,@grigio01 );
background-image: -o-linear-gradient( white,@grigio01 );
background-image: linear-gradient( white,@grigio01 );
*/
}
.editRowStyle {
@@ -568,7 +568,7 @@ A:hover {
background-color: #DEDEDE;
width: 160px;
height: 40px;
border: 1px solid #333;
border: 1px solid #333333;
vertical-align: middle;
margin: auto;
font-size: 10pt;
@@ -692,7 +692,7 @@ A:hover {
.btnStd {
font-size: 3em;
color: #696969;
border: solid 4px #333;
border: solid 4px #333333;
background-color: #ACACAC;
width: 100%;
min-height: 200px;
@@ -753,7 +753,7 @@ A:hover {
text-align: center;
}
.badgeStd {
border: solid 2px #333;
border: solid 2px #333333;
background-color: #EEE;
width: 100%;
text-align: center;
@@ -772,7 +772,7 @@ A:hover {
}
/*end etichette calcolate */
.rltUpdate {
background-color: #FFFF33;
background-color: whiteF33;
}
/* end */
/*#region override jQueryUI */
@@ -1000,7 +1000,7 @@ div > ul > li > a.selected.menuNav {
font-size: 8pt;
background-color: White;
padding: 2px 2px 2px 2px;
border: 1px solid #333;
border: 1px solid #333333;
/*
z-index: 1;
overflow: Auto;
@@ -1010,7 +1010,7 @@ div > ul > li > a.selected.menuNav {
/* @end */
/* gestione blocco dati */
.dataBlock {
background-color: #FFFFFF;
background-color: white;
font-size: 9pt;
float: left;
border-top: solid 1px gray;
@@ -1106,10 +1106,7 @@ div > ul > li > a.selected.menuNav {
.grView {
color: #333333;
font-size: 8pt;
padding-left: 1px;
padding-right: 1px;
padding-top: 1px;
padding-bottom: 1px;
padding: 1px;
}
.ctrHeaderPager {
background-color: #b8b8b8;
@@ -1152,7 +1149,7 @@ div > ul > li > a.selected.menuNav {
color: #00a300;
}
.lblBlu {
color: #3333FF;
color: #333333;
}
/* gestione celle tabella registro ore full */
.cTabRO {
@@ -1162,71 +1159,72 @@ div > ul > li > a.selected.menuNav {
}
.cEmp {
/*background-image: url('../Images/grigio_80.png');*/
background-color: #d5d5d5;
background-image: -webkit-gradient(linear, left top, left bottom, from(#f8fbff), to(#d5d5d5));
background-image: -webkit-linear-gradient(#f8fbff, #d5d5d5);
background-image: -moz-linear-gradient(#f8fbff, #d5d5d5);
background-image: -ms-linear-gradient(#f8fbff, #d5d5d5);
background-image: -o-linear-gradient(#f8fbff, #d5d5d5);
background-image: linear-gradient(#f8fbff, #d5d5d5);
background-color: #D5D5D5;
background-image: -webkit-gradient(linear, left top, left bottom, from(#F8FBFF), to(#D5D5D5));
background-image: -webkit-linear-gradient(#F8FBFF, #D5D5D5);
background-image: -moz-linear-gradient(#F8FBFF, #D5D5D5);
background-image: -ms-linear-gradient(#F8FBFF, #D5D5D5);
background-image: -o-linear-gradient(#F8FBFF, #D5D5D5);
background-image: linear-gradient(#F8FBFF, #D5D5D5);
}
.cS01 {
/*background-image: url('../Images/grigioChiaro_80.png');*/
background-color: #f8fbff;
background-image: -webkit-gradient(linear, left top, left bottom, from(#ffff8e), to(#f8fbff));
background-image: -webkit-linear-gradient(#ffff8e, #f8fbff);
background-image: -moz-linear-gradient(#ffff8e, #f8fbff);
background-image: -ms-linear-gradient(#ffff8e, #f8fbff);
background-image: -o-linear-gradient(#ffff8e, #f8fbff);
background-image: linear-gradient(#ffff8e, #f8fbff);
background-color: #F8FBFF;
background-image: -webkit-gradient(linear, left top, left bottom, from(#FFFF8E), to(#F8FBFF));
background-image: -webkit-linear-gradient(#FFFF8E, #F8FBFF);
background-image: -moz-linear-gradient(#FFFF8E, #F8FBFF);
background-image: -ms-linear-gradient(#FFFF8E, #F8FBFF);
background-image: -o-linear-gradient(#FFFF8E, #F8FBFF);
background-image: linear-gradient(#FFFF8E, #F8FBFF);
}
.cS02 {
/*background-image: url('../Images/verde_80.png');*/
background-color: #ffff8e;
background-image: -webkit-gradient(linear, left top, left bottom, from(#ffff4d), to(#ffff8e));
background-image: -webkit-linear-gradient(#ffff4d, #ffff8e);
background-image: -moz-linear-gradient(#ffff4d, #ffff8e);
background-image: -ms-linear-gradient(#ffff4d, #ffff8e);
background-image: -o-linear-gradient(#ffff4d, #ffff8e);
background-image: linear-gradient(#ffff4d, #ffff8e);
color: #333;
background-color: #FFFF8E;
background-image: -webkit-gradient(linear, left top, left bottom, from(#FFFF4D), to(#FFFF8E));
background-image: -webkit-linear-gradient(#FFFF4D, #FFFF8E);
background-image: -moz-linear-gradient(#FFFF4D, #FFFF8E);
background-image: -ms-linear-gradient(#FFFF4D, #FFFF8E);
background-image: -o-linear-gradient(#FFFF4D, #FFFF8E);
background-image: linear-gradient(#FFFF4D, #FFFF8E);
color: #333333;
}
.cS03 {
/*background-image: url('../Images/giallo_80.png');*/
background-color: #ffff4d;
background-image: -webkit-gradient(linear, left top, left bottom, from(#f1f100), to(#ffff4d));
background-image: -webkit-linear-gradient(#f1f100, #ffff4d);
background-image: -moz-linear-gradient(#f1f100, #ffff4d);
background-image: -ms-linear-gradient(#f1f100, #ffff4d);
background-image: -o-linear-gradient(#f1f100, #ffff4d);
background-image: linear-gradient(#f1f100, #ffff4d);
color: #333;
background-color: #FFFF4D;
background-image: -webkit-gradient(linear, left top, left bottom, from(#F1F100), to(#FFFF4D));
background-image: -webkit-linear-gradient(#F1F100, #FFFF4D);
background-image: -moz-linear-gradient(#F1F100, #FFFF4D);
background-image: -ms-linear-gradient(#F1F100, #FFFF4D);
background-image: -o-linear-gradient(#F1F100, #FFFF4D);
background-image: linear-gradient(#F1F100, #FFFF4D);
color: #333333;
}
.cS04 {
/*background-image: url('../Images/arancio_80.png');*/
background-color: #f1f100;
background-image: -webkit-gradient(linear, left top, left bottom, from(#e4e400), to(#f1f100));
background-image: -webkit-linear-gradient(#e4e400, #f1f100);
background-image: -moz-linear-gradient(#e4e400, #f1f100);
background-image: -ms-linear-gradient(#e4e400, #f1f100);
background-image: -o-linear-gradient(#e4e400, #f1f100);
background-image: linear-gradient(#e4e400, #f1f100);
color: #333;
background-color: #F1F100;
background-image: -webkit-gradient(linear, left top, left bottom, from(#E4E400), to(#F1F100));
background-image: -webkit-linear-gradient(#E4E400, #F1F100);
background-image: -moz-linear-gradient(#E4E400, #F1F100);
background-image: -ms-linear-gradient(#E4E400, #F1F100);
background-image: -o-linear-gradient(#E4E400, #F1F100);
background-image: linear-gradient(#E4E400, #F1F100);
color: #333333;
}
.cOvr {
/*background-image: url('../Images/rosso_80.png');*/
background-color: #e4e400;
background-image: -webkit-gradient(linear, left top, left bottom, from(#caca00), to(#e4e400));
background-image: -webkit-linear-gradient(#caca00, #e4e400);
background-image: -moz-linear-gradient(#caca00, #e4e400);
background-image: -ms-linear-gradient(#caca00, #e4e400);
background-image: -o-linear-gradient(#caca00, #e4e400);
background-image: linear-gradient(#caca00, #e4e400);
background-color: #E4E400;
background-image: -webkit-gradient(linear, left top, left bottom, from(#CACA00), to(#E4E400));
background-image: -webkit-linear-gradient(#CACA00, #E4E400);
background-image: -moz-linear-gradient(#CACA00, #E4E400);
background-image: -ms-linear-gradient(#CACA00, #E4E400);
background-image: -o-linear-gradient(#CACA00, #E4E400);
background-image: linear-gradient(#CACA00, #E4E400);
}
.cBia {
font-weight: bold;
height: 20px;
width: 29px;
width: 32px;
-ms-align-content: center;
-webkit-align-content: center;
align-content: center;
}
.selCel {
@@ -1235,75 +1233,115 @@ div > ul > li > a.selected.menuNav {
/*font-weight: bold;*/
text-align: center;
}
.baseLock {
text-align: center;
text-decoration: none;
}
.baseLock a {
text-decoration: none;
color: white;
}
.baseLock a:link {
text-decoration: underline;
color: black;
}
.lockCol {
text-align: center;
text-decoration: none;
background-color: #288EFF;
}
.lockCol a {
text-decoration: none;
color: white;
}
.lockCol a:link {
text-decoration: underline;
color: black;
}
.myLock {
text-align: center;
text-decoration: none;
background-color: #1BFF1B;
}
.myLock a {
text-decoration: none;
color: white;
}
.myLock a:link {
text-decoration: underline;
color: black;
}
.cTab {
text-align: center;
height: 20px;
width: 29px;
width: 32px;
-ms-align-content: center;
-webkit-align-content: center;
align-content: center;
border: solid 1px #777;
}
.cREmp {
/*background-image: url('../Images/grigio_80.png');*/
background-color: #c3c3c3;
background-image: -webkit-gradient(linear, left top, left bottom, from(#f8fbff), to(#c3c3c3));
background-image: -webkit-linear-gradient(#f8fbff, #c3c3c3);
background-image: -moz-linear-gradient(#f8fbff, #c3c3c3);
background-image: -ms-linear-gradient(#f8fbff, #c3c3c3);
background-image: -o-linear-gradient(#f8fbff, #c3c3c3);
background-image: linear-gradient(#f8fbff, #c3c3c3);
background-color: #C3C3C3;
background-image: -webkit-gradient(linear, left top, left bottom, from(#F8FBFF), to(#C3C3C3));
background-image: -webkit-linear-gradient(#F8FBFF, #C3C3C3);
background-image: -moz-linear-gradient(#F8FBFF, #C3C3C3);
background-image: -ms-linear-gradient(#F8FBFF, #C3C3C3);
background-image: -o-linear-gradient(#F8FBFF, #C3C3C3);
background-image: linear-gradient(#F8FBFF, #C3C3C3);
}
.cR01 {
/*background-image: url('../Images/grigioChiaro_80.png');*/
background-color: #f8fbff;
background-image: -webkit-gradient(linear, left top, left bottom, from(#90c4ff), to(#f8fbff));
background-image: -webkit-linear-gradient(#90c4ff, #f8fbff);
background-image: -moz-linear-gradient(#90c4ff, #f8fbff);
background-image: -ms-linear-gradient(#90c4ff, #f8fbff);
background-image: -o-linear-gradient(#90c4ff, #f8fbff);
background-image: linear-gradient(#90c4ff, #f8fbff);
background-color: #F8FBFF;
background-image: -webkit-gradient(linear, left top, left bottom, from(#90C4FF), to(#F8FBFF));
background-image: -webkit-linear-gradient(#90C4FF, #F8FBFF);
background-image: -moz-linear-gradient(#90C4FF, #F8FBFF);
background-image: -ms-linear-gradient(#90C4FF, #F8FBFF);
background-image: -o-linear-gradient(#90C4FF, #F8FBFF);
background-image: linear-gradient(#90C4FF, #F8FBFF);
}
.cR02 {
/*background-image: url('../Images/verde_80.png');*/
background-color: #90c4ff;
background-image: -webkit-gradient(linear, left top, left bottom, from(#76b8ff), to(#90c4ff));
background-image: -webkit-linear-gradient(#76b8ff, #90c4ff);
background-image: -moz-linear-gradient(#76b8ff, #90c4ff);
background-image: -ms-linear-gradient(#76b8ff, #90c4ff);
background-image: -o-linear-gradient(#76b8ff, #90c4ff);
background-image: linear-gradient(#76b8ff, #90c4ff);
background-color: #90C4FF;
background-image: -webkit-gradient(linear, left top, left bottom, from(#76B8FF), to(#90C4FF));
background-image: -webkit-linear-gradient(#76B8FF, #90C4FF);
background-image: -moz-linear-gradient(#76B8FF, #90C4FF);
background-image: -ms-linear-gradient(#76B8FF, #90C4FF);
background-image: -o-linear-gradient(#76B8FF, #90C4FF);
background-image: linear-gradient(#76B8FF, #90C4FF);
color: White;
}
.cR03 {
/*background-image: url('../Images/giallo_80.png');*/
background-color: #76b8ff;
background-image: -webkit-gradient(linear, left top, left bottom, from(#5caaff), to(#76b8ff));
background-image: -webkit-linear-gradient(#5caaff, #76b8ff);
background-image: -moz-linear-gradient(#5caaff, #76b8ff);
background-image: -ms-linear-gradient(#5caaff, #76b8ff);
background-image: -o-linear-gradient(#5caaff, #76b8ff);
background-image: linear-gradient(#5caaff, #76b8ff);
background-color: #76B8FF;
background-image: -webkit-gradient(linear, left top, left bottom, from(#5CAAFF), to(#76B8FF));
background-image: -webkit-linear-gradient(#5CAAFF, #76B8FF);
background-image: -moz-linear-gradient(#5CAAFF, #76B8FF);
background-image: -ms-linear-gradient(#5CAAFF, #76B8FF);
background-image: -o-linear-gradient(#5CAAFF, #76B8FF);
background-image: linear-gradient(#5CAAFF, #76B8FF);
color: White;
}
.cR04 {
/*background-image: url('../Images/arancio_80.png');*/
background-color: #5caaff;
background-image: -webkit-gradient(linear, left top, left bottom, from(#288eff), to(#5caaff));
background-image: -webkit-linear-gradient(#288eff, #5caaff);
background-image: -moz-linear-gradient(#288eff, #5caaff);
background-image: -ms-linear-gradient(#288eff, #5caaff);
background-image: -o-linear-gradient(#288eff, #5caaff);
background-image: linear-gradient(#288eff, #5caaff);
background-color: #5CAAFF;
background-image: -webkit-gradient(linear, left top, left bottom, from(#288EFF), to(#5CAAFF));
background-image: -webkit-linear-gradient(#288EFF, #5CAAFF);
background-image: -moz-linear-gradient(#288EFF, #5CAAFF);
background-image: -ms-linear-gradient(#288EFF, #5CAAFF);
background-image: -o-linear-gradient(#288EFF, #5CAAFF);
background-image: linear-gradient(#288EFF, #5CAAFF);
color: White;
}
.cROvr {
/*background-image: url('../Images/rosso_80.png');*/
background-color: #288eff;
background-image: -webkit-gradient(linear, left top, left bottom, from(#3333d9), to(#288eff));
background-image: -webkit-linear-gradient(#3333d9, #288eff);
background-image: -moz-linear-gradient(#3333d9, #288eff);
background-image: -ms-linear-gradient(#3333d9, #288eff);
background-image: -o-linear-gradient(#3333d9, #288eff);
background-image: linear-gradient(#3333d9, #288eff);
background-color: #288EFF;
background-image: -webkit-gradient(linear, left top, left bottom, from(#3333D9), to(#288EFF));
background-image: -webkit-linear-gradient(#3333D9, #288EFF);
background-image: -moz-linear-gradient(#3333D9, #288EFF);
background-image: -ms-linear-gradient(#3333D9, #288EFF);
background-image: -o-linear-gradient(#3333D9, #288EFF);
background-image: linear-gradient(#3333D9, #288EFF);
color: White;
}
.cRBia {
@@ -1312,7 +1350,7 @@ div > ul > li > a.selected.menuNav {
vertical-align: middle;
font-weight: bold;
height: 16px;
padding: 0px 2px;
padding: 0 2px;
}
.cCent {
text-align: center;
@@ -1325,45 +1363,45 @@ div > ul > li > a.selected.menuNav {
}
.cTEmp {
/*background-image: url('../Images/grigio_80.png');*/
background-color: #c3c3c3;
background-image: -webkit-gradient(linear, left top, left bottom, from(#f8fbff), to(#c3c3c3));
background-image: -webkit-linear-gradient(#f8fbff, #c3c3c3);
background-image: -moz-linear-gradient(#f8fbff, #c3c3c3);
background-image: -ms-linear-gradient(#f8fbff, #c3c3c3);
background-image: -o-linear-gradient(#f8fbff, #c3c3c3);
background-image: linear-gradient(#f8fbff, #c3c3c3);
background-color: #C3C3C3;
background-image: -webkit-gradient(linear, left top, left bottom, from(#F8FBFF), to(#C3C3C3));
background-image: -webkit-linear-gradient(#F8FBFF, #C3C3C3);
background-image: -moz-linear-gradient(#F8FBFF, #C3C3C3);
background-image: -ms-linear-gradient(#F8FBFF, #C3C3C3);
background-image: -o-linear-gradient(#F8FBFF, #C3C3C3);
background-image: linear-gradient(#F8FBFF, #C3C3C3);
}
.cTUnd {
/*background-image: url('../Images/verde_80.png');*/
background-color: #ffb769;
background-image: -webkit-gradient(linear, left top, left bottom, from(#ff851b), to(#ffb769));
background-image: -webkit-linear-gradient(#ff851b, #ffb769);
background-image: -moz-linear-gradient(#ff851b, #ffb769);
background-image: -ms-linear-gradient(#ff851b, #ffb769);
background-image: -o-linear-gradient(#ff851b, #ffb769);
background-image: linear-gradient(#ff851b, #ffb769);
background-color: #FFB769;
background-image: -webkit-gradient(linear, left top, left bottom, from(#FF851B), to(#FFB769));
background-image: -webkit-linear-gradient(#FF851B, #FFB769);
background-image: -moz-linear-gradient(#FF851B, #FFB769);
background-image: -ms-linear-gradient(#FF851B, #FFB769);
background-image: -o-linear-gradient(#FF851B, #FFB769);
background-image: linear-gradient(#FF851B, #FFB769);
color: #666;
}
.cTOk {
/*background-image: url('../Images/arancio_80.png');*/
background-color: #1bff1b;
background-image: -webkit-gradient(linear, left top, left bottom, from(#009800), to(#1bff1b));
background-image: -webkit-linear-gradient(#009800, #1bff1b);
background-image: -moz-linear-gradient(#009800, #1bff1b);
background-image: -ms-linear-gradient(#009800, #1bff1b);
background-image: -o-linear-gradient(#009800, #1bff1b);
background-image: linear-gradient(#009800, #1bff1b);
background-color: #1BFF1B;
background-image: -webkit-gradient(linear, left top, left bottom, from(#009800), to(#1BFF1B));
background-image: -webkit-linear-gradient(#009800, #1BFF1B);
background-image: -moz-linear-gradient(#009800, #1BFF1B);
background-image: -ms-linear-gradient(#009800, #1BFF1B);
background-image: -o-linear-gradient(#009800, #1BFF1B);
background-image: linear-gradient(#009800, #1BFF1B);
color: Yellow;
}
.cTOvr {
/*background-image: url('../Images/rosso_80.png');*/
background-color: #ff871b;
background-image: -webkit-gradient(linear, left top, left bottom, from(#c12424), to(#ff871b));
background-image: -webkit-linear-gradient(#c12424, #ff871b);
background-image: -moz-linear-gradient(#c12424, #ff871b);
background-image: -ms-linear-gradient(#c12424, #ff871b);
background-image: -o-linear-gradient(#c12424, #ff871b);
background-image: linear-gradient(#c12424, #ff871b);
background-color: #FF871B;
background-image: -webkit-gradient(linear, left top, left bottom, from(#C12424), to(#FF871B));
background-image: -webkit-linear-gradient(#C12424, #FF871B);
background-image: -moz-linear-gradient(#C12424, #FF871B);
background-image: -ms-linear-gradient(#C12424, #FF871B);
background-image: -o-linear-gradient(#C12424, #FF871B);
background-image: linear-gradient(#C12424, #FF871B);
color: #f6f6f6;
}
.cTBia {
+221 -159
View File
@@ -74,10 +74,10 @@ blockquote, q {
/*#endregion */
/*Gestione label commessa*/
.lblBox{
.lblBox {
font-size: 0.8em;
border: 1px solid #0A64A4;
background-color: #B8E1FD;
border: 1px solid @blu01;
background-color: @blu08;
padding: 0 4px;
line-height: 1.6em;
}
@@ -99,7 +99,7 @@ blockquote, q {
a:hover {
background-color: #B8E1FD;
background-color: @blu08;
color: black;
}
}
@@ -126,7 +126,7 @@ blockquote, q {
/* floating window */
.ui-dialog-sw {
.ui-dialog {
padding: .2em;
overflow: hidden;
-moz-box-shadow: 0px 5px 10px rgba(0,0,0,0.8);
@@ -134,17 +134,17 @@ blockquote, q {
box-shadow: 0px 5px 10px rgba(0,0,0,0.8);
}
.ui-dialog-sw .ui-dialog-sw-titlebar {
.ui-dialog .ui-dialog-titlebar {
padding: .5em 1em .3em;
position: relative;
}
.ui-dialog-sw .ui-dialog-sw-title {
.ui-dialog .ui-dialog-title {
float: left;
margin: .1em 16px .2em 0;
}
.ui-dialog-sw .ui-dialog-sw-titlebar-close {
.ui-dialog .ui-dialog-titlebar-close {
position: absolute;
right: .3em;
top: 50%;
@@ -155,16 +155,16 @@ blockquote, q {
-moz-border-radius: 10px;
}
.ui-dialog-sw .ui-dialog-sw-titlebar-close span {
.ui-dialog .ui-dialog-titlebar-close span {
display: block;
margin: 1px;
}
.ui-dialog-sw .ui-dialog-sw-titlebar-close:hover, .ui-dialog-sw .ui-dialog-sw-titlebar-close:focus {
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus {
padding: 0;
}
.ui-dialog-sw .ui-dialog-sw-content {
.ui-dialog .ui-dialog-content {
position: relative;
border: 0;
padding: .5em 1em;
@@ -173,7 +173,7 @@ blockquote, q {
zoom: 1;
}
.ui-dialog-sw .ui-dialog-sw-buttonpane {
.ui-dialog .ui-dialog-buttonpane {
text-align: left;
border-width: 1px 0 0 0;
background-image: none;
@@ -181,31 +181,31 @@ blockquote, q {
padding: .3em 1em .5em .4em;
}
.ui-dialog-sw .ui-dialog-sw-buttonpane .ui-dialog-sw-buttonset {
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
float: right;
}
.ui-dialog-sw .ui-dialog-sw-buttonpane button {
.ui-dialog .ui-dialog-buttonpane button {
margin: .5em .4em .5em 0;
cursor: pointer;
}
.ui-dialog-sw .ui-resizable-se {
.ui-dialog .ui-resizable-se {
width: 14px;
height: 14px;
right: 3px;
bottom: 3px;
}
.ui-draggable .ui-dialog-sw-titlebar {
.ui-draggable .ui-dialog-titlebar {
cursor: move;
}
.ui-dialog-sw {
.ui-dialog {
padding: 0;
}
.ui-dialog-sw .ui-dialog-sw-titlebar {
.ui-dialog .ui-dialog-titlebar {
border-top: none;
border-right: none;
border-left: none;
@@ -214,7 +214,7 @@ blockquote, q {
border-radius: 0;
}
.ui-dialog-sw .ui-dialog-sw-titlebar-close {
.ui-dialog .ui-dialog-titlebar-close {
}
.ui-widget-sw {
@@ -232,15 +232,15 @@ blockquote, q {
}
.ui-widget-sw-content {
border: 1px solid #a8a8a8;
background: #ffffff;
border: 1px solid @grigio05;
background: white;
color: #4f4f4f;
}
.ui-widget-sw-header {
border: 1px solid #a8a8a8;
border: 1px solid @grigio05;
background: #c0c0c0 url('../images/ui-bg_highlight-soft_100_c0c0c0_1x100.png') repeat-x 50% top;
color: #333;
color: @grigio03;
font-weight: bold;
text-shadow: 0px 1px 0px rgba(255,255,255,0.7);
}
@@ -255,130 +255,162 @@ blockquote, q {
/*#region area ETS */
.areaTitolo {
background-color: #0A64A4;
background-color: @blu01;
background-image: url('../images/bg-menu-main.png');
background-repeat: repeat-x;
color: #ECECEC;
color: @grigio04;
}
/* Schema colori */
@arancio01: #FF9000;
@arancio02: #BF8130;
@arancio03: #A65E00;
@arancio04: #FFAC40;
@arancio05: #FDD7A6;
@arancio06: #FF4500;
@arancio07: #BF5730;
@arancio08: #A62D00;
@arancio09: #FF7340;
@arancio10: #FFCEBC;
@azzurro01: #E1F1FF;
@azzurro02: #DDDDFF;
@blu01: #0A64A4;
@blu02: #4481DF;
@blu03: #2d9eff;
@blu04: #24577B;
@blu05: #03406A;
@blu06: #4683ff;
@blu07: #2461BF;
@blu08: #B8E1FD;
@grigio01: #F1F1F1;
@grigio02: #CDCDCD;
@grigio03: #333333;
@grigio04: #ECECEC;
@grigio05: #a8a8a8;
@verde01: #00B060;
@verde02: #218457;
@verde03: #00733E;
@verde04: #36D88E;
@verde05: #C3FFE4;
.priCol-1 {
background-color: #00B060;
background-color: @verde01;
}
.priCol-2 {
background-color: #218457;
background-color: @verde02;
}
.priCol-3 {
background-color: #00733E;
background-color: @verde03;
}
.priCol-4 {
background-color: #36D88E;
background-color: @verde04;
}
.priCol-5 {
background-color: #C3FFE4;
background-color: @verde05;
}
.secColA-1 {
background-color: #2d9eff;
background-image: -webkit-gradient(linear,left top,left bottom,from( #0A64A4 ),to( #4481DF ));
background-image: -webkit-linear-gradient( #0A64A4,#4481DF );
background-image: -moz-linear-gradient( #0A64A4,#4481DF );
background-image: -ms-linear-gradient( #0A64A4,#4481DF );
background-image: -o-linear-gradient( #0A64A4,#4481DF );
background-image: linear-gradient( #0A64A4,#4481DF );
background-color: @blu03;
background-image: -webkit-gradient(linear,left top,left bottom,from( @blu01 ),to( @blu02 ));
background-image: -webkit-linear-gradient( @blu01,@blu02 );
background-image: -moz-linear-gradient( @blu01,@blu02 );
background-image: -ms-linear-gradient( @blu01,@blu02 );
background-image: -o-linear-gradient( @blu01,@blu02 );
background-image: linear-gradient( @blu01,@blu02 );
}
.secColA-2 {
background-color: #24577B;
background-color: @blu04;
}
.secColA-3 {
background-color: #03406A;
background-color: @blu05;
}
.secColA-4 {
/*background-color: #3E94D1;*/
background-image: -webkit-gradient(linear,left top,left bottom,from( #4683ff ),to( #2461BF ));
background-image: -webkit-linear-gradient( #4683ff,#2461BF );
background-image: -moz-linear-gradient( #4683ff,#2461BF );
background-image: -ms-linear-gradient( #4683ff,#2461BF );
background-image: -o-linear-gradient( #4683ff,#2461BF );
background-image: linear-gradient( #4683ff,#2461BF );
background-image: -webkit-gradient(linear,left top,left bottom,from( @blu06 ),to( @blu07 ));
background-image: -webkit-linear-gradient( @blu06,@blu07 );
background-image: -moz-linear-gradient( @blu06,@blu07 );
background-image: -ms-linear-gradient( @blu06,@blu07 );
background-image: -o-linear-gradient( @blu06,@blu07 );
background-image: linear-gradient( @blu06,@blu07 );
}
.secColA-5 {
/*background-color: #B8E1FD;*/
background-image: -webkit-gradient(linear,left top,left bottom,from( #B8E1FD ),to( #2461BF ));
background-image: -webkit-linear-gradient( #B8E1FD,#2461BF );
background-image: -moz-linear-gradient( #B8E1FD,#2461BF );
background-image: -ms-linear-gradient( #B8E1FD,#2461BF );
background-image: -o-linear-gradient( #B8E1FD,#2461BF );
background-image: linear-gradient( #B8E1FD,#2461BF );
/*background-color: @blu08;*/
background-image: -webkit-gradient(linear,left top,left bottom,from( @blu08 ),to( @blu07 ));
background-image: -webkit-linear-gradient( @blu08,@blu07 );
background-image: -moz-linear-gradient( @blu08,@blu07 );
background-image: -ms-linear-gradient( @blu08,@blu07 );
background-image: -o-linear-gradient( @blu08,@blu07 );
background-image: linear-gradient( @blu08,@blu07 );
}
.secColB-1 {
background-color: #FF9000;
background-color: @arancio01;
}
.secColB-2 {
background-color: #BF8130;
background-color: @arancio02;
}
.secColB-3 {
background-color: #A65E00;
background-color: @arancio03;
}
.secColB-4 {
background-color: #FFAC40;
background-color: @arancio04;
}
.secColB-5 {
background-color: #FDD7A6;
background-color: @arancio05;
}
.comCol-1 {
background-color: #FF4500;
background-color: @arancio06;
}
.comCol-2 {
background-color: #BF5730;
background-color: @arancio07;
}
.comCol-3 {
background-color: #A62D00;
background-color: @arancio08;
}
.comCol-4 {
background-color: #FF7340;
background-color: @arancio09;
}
.comCol-5 {
background-color: #FFCEBC;
background-color: @arancio10;
}
.lightBlue {
border: 1px solid #CDCDCD;
background-image: -webkit-gradient(linear,left top,left bottom,from( #ddf ),to( #e1f1ff ));
background-image: -webkit-linear-gradient( #ddf,#e1f1ff );
background-image: -moz-linear-gradient( #ddf,#e1f1ff );
background-image: -ms-linear-gradient( #ddf,#e1f1ff );
background-image: -o-linear-gradient( #ddf,#e1f1ff );
background-image: linear-gradient( #ddf,#e1f1ff );
border: 1px solid @grigio02;
background-image: -webkit-gradient(linear,left top,left bottom,from( @azzurro02 ),to( @azzurro01 ));
background-image: -webkit-linear-gradient( @azzurro02,@azzurro01 );
background-image: -moz-linear-gradient( @azzurro02,@azzurro01 );
background-image: -ms-linear-gradient( @azzurro02,@azzurro01 );
background-image: -o-linear-gradient( @azzurro02,@azzurro01 );
background-image: linear-gradient( @azzurro02,@azzurro01 );
}
.lightGray {
/*background-color: #EDEDED;*/
background-image: -webkit-gradient(linear,left top,left bottom,from( #fff ),to( #f1f1f1 ));
background-image: -webkit-linear-gradient( #fff,#f1f1f1 );
background-image: -moz-linear-gradient( #fff,#f1f1f1 );
background-image: -ms-linear-gradient( #fff,#f1f1f1 );
background-image: -o-linear-gradient( #fff,#f1f1f1 );
background-image: linear-gradient( #fff,#f1f1f1 );
border: 1px solid #CDCDCD;
background-image: -webkit-gradient(linear,left top,left bottom,from( white ),to( @grigio01 ));
background-image: -webkit-linear-gradient( white,@grigio01 );
background-image: -moz-linear-gradient( white,@grigio01 );
background-image: -ms-linear-gradient( white,@grigio01 );
background-image: -o-linear-gradient( white,@grigio01 );
background-image: linear-gradient( white,@grigio01 );
border: 1px solid @grigio02;
}
/* FINE Schema colori */
@@ -408,7 +440,7 @@ blockquote, q {
}
.pagerStyle {
background-color: #2461BF;
background-color: @blu07;
color: White;
white-space: nowrap;
text-align: center;
@@ -418,31 +450,31 @@ blockquote, q {
.rowStyle {
/*background-color: #DEE2EA;*/
background-image: -webkit-gradient(linear,left top,left bottom,from( #fff ),to( #f1f1f1 ));
background-image: -webkit-linear-gradient( #fff,#f1f1f1 );
background-image: -moz-linear-gradient( #fff,#f1f1f1 );
background-image: -ms-linear-gradient( #fff,#f1f1f1 );
background-image: -o-linear-gradient( #fff,#f1f1f1 );
background-image: linear-gradient( #fff,#f1f1f1 );
border: 1px solid #CDCDCD;
background-image: -webkit-gradient(linear,left top,left bottom,from( white ),to( @grigio01 ));
background-image: -webkit-linear-gradient( white,@grigio01 );
background-image: -moz-linear-gradient( white,@grigio01 );
background-image: -ms-linear-gradient( white,@grigio01 );
background-image: -o-linear-gradient( white,@grigio01 );
background-image: linear-gradient( white,@grigio01 );
border: 1px solid @grigio02;
}
.alternatingRowStyle {
/*background-color: White;*/
border: 1px solid #CDCDCD;
background-image: -webkit-gradient(linear,left top,left bottom,from( #ddf ),to( #e1f1ff ));
background-image: -webkit-linear-gradient( #ddf,#e1f1ff );
background-image: -moz-linear-gradient( #ddf,#e1f1ff );
background-image: -ms-linear-gradient( #ddf,#e1f1ff );
background-image: -o-linear-gradient( #ddf,#e1f1ff );
background-image: linear-gradient( #ddf,#e1f1ff );
border: 1px solid @grigio02;
background-image: -webkit-gradient(linear,left top,left bottom,from( @azzurro02 ),to( @azzurro01 ));
background-image: -webkit-linear-gradient( @azzurro02,@azzurro01 );
background-image: -moz-linear-gradient( @azzurro02,@azzurro01 );
background-image: -ms-linear-gradient( @azzurro02,@azzurro01 );
background-image: -o-linear-gradient( @azzurro02,@azzurro01 );
background-image: linear-gradient( @azzurro02,@azzurro01 );
/*
background-image: -webkit-gradient(linear,left top,left bottom,from( #fff ),to( #f1f1f1 ));
background-image: -webkit-linear-gradient( #fff,#f1f1f1 );
background-image: -moz-linear-gradient( #fff,#f1f1f1 );
background-image: -ms-linear-gradient( #fff,#f1f1f1 );
background-image: -o-linear-gradient( #fff,#f1f1f1 );
background-image: linear-gradient( #fff,#f1f1f1 );
background-image: -webkit-gradient(linear,left top,left bottom,from( white ),to( @grigio01 ));
background-image: -webkit-linear-gradient( white,@grigio01 );
background-image: -moz-linear-gradient( white,@grigio01 );
background-image: -ms-linear-gradient( white,@grigio01 );
background-image: -o-linear-gradient( white,@grigio01 );
background-image: linear-gradient( white,@grigio01 );
*/
}
@@ -490,7 +522,7 @@ blockquote, q {
/* end gridView */
.divTitoloAdmin {
background-color: #BF8130;
background-color: @arancio02;
padding: 5px 0px 5px 5px;
color: White;
}
@@ -579,7 +611,7 @@ A:hover {
background-image: url(../images/new_m.png);
background-repeat: no-repeat;
background-position: right;
border: 1px solid #333333;
border: 1px solid @grigio03;
padding: 4px;
padding-right: 28px;
}
@@ -588,7 +620,7 @@ A:hover {
background-image: url(../images/pin_m.png);
background-repeat: no-repeat;
background-position: right;
border: 1px solid #333333;
border: 1px solid @grigio03;
padding: 4px;
padding-right: 28px;
}
@@ -597,7 +629,7 @@ A:hover {
background-image: url(../images/pinDis_m.png);
background-repeat: no-repeat;
background-position: right;
border: 1px solid #333333;
border: 1px solid @grigio03;
padding: 4px;
padding-right: 28px;
}
@@ -606,7 +638,7 @@ A:hover {
background-image: url(../images/elimina_m.png);
background-repeat: no-repeat;
background-position: right;
border: 1px solid #333333;
border: 1px solid @grigio03;
padding: 4px;
padding-right: 28px;
}
@@ -618,7 +650,7 @@ A:hover {
background-color: #DEDEDE;
width: 160px;
height: 40px;
border: 1px solid #333;
border: 1px solid @grigio03;
vertical-align: middle;
margin: auto;
font-size: 10pt;
@@ -629,7 +661,7 @@ A:hover {
background-image: url(../images/InOutArrows_l.png);
background-repeat: no-repeat;
background-position: right;
border: 1px solid #333333;
border: 1px solid @grigio03;
padding: 8px;
padding-right: 32px;
}
@@ -638,7 +670,7 @@ A:hover {
background-image: url(../images/edit_l.png);
background-repeat: no-repeat;
background-position: right;
border: 1px solid #333333;
border: 1px solid @grigio03;
padding: 4px;
padding-right: 28px;
}
@@ -647,7 +679,7 @@ A:hover {
background-image: url(../images/edit_m.png);
background-repeat: no-repeat;
background-position: right;
border: 1px solid #333333;
border: 1px solid @grigio03;
padding: 4px;
padding-right: 28px;
}
@@ -656,7 +688,7 @@ A:hover {
background-image: url(../images/clonaObj_l.png);
background-repeat: no-repeat;
background-position: right;
border: 1px solid #333333;
border: 1px solid @grigio03;
padding: 4px;
padding-right: 28px;
}
@@ -665,7 +697,7 @@ A:hover {
background-image: url(../images/clonaObj_m.png);
background-repeat: no-repeat;
background-position: right;
border: 1px solid #333333;
border: 1px solid @grigio03;
padding: 4px;
padding-right: 28px;
}
@@ -674,7 +706,7 @@ A:hover {
background-image: url(../images/email_l.png);
background-repeat: no-repeat;
background-position: right;
border: 1px solid #333333;
border: 1px solid @grigio03;
padding: 4px;
padding-right: 38px;
}
@@ -766,7 +798,7 @@ A:hover {
.btnStd {
font-size: 3em;
color: #696969;
border: solid 4px #333;
border: solid 4px @grigio03;
background-color: #ACACAC;
width: 100%;
min-height: 200px;
@@ -847,7 +879,7 @@ A:hover {
}
.badgeStd {
border: solid 2px #333;
border: solid 2px @grigio03;
background-color: #EEE;
width: 100%;
text-align: center;
@@ -869,7 +901,7 @@ A:hover {
/*end etichette calcolate */
.rltUpdate {
background-color: #FFFF33;
background-color: whiteF33;
}
/* end */
@@ -886,7 +918,7 @@ A:hover {
/*#endregion */
/* zona menù top */
@menuColS: #B8E1FD;
@menuColS: @blu08;
@menuColE: #8591ff;
@menuSelColS: #6dc3fd;
@menuSelColE: #2a44ff;
@@ -899,7 +931,7 @@ A:hover {
li.static {
margin: 2px 4px 0px 0px;
border-color: #CDCDCD;
border-color: @grigio02;
border-style: solid;
border-width: 1px 1px 0px 1px;
border-top-right-radius: @menuRad;
@@ -927,7 +959,7 @@ div > ul > li > a.selected.menuNav {
.areaContMenu {
background-color: white;
padding: 4px;
border-color: #CDCDCD;
border-color: @grigio02;
border-style: solid;
border-width: 1px 1px 1px 1px;
}
@@ -950,7 +982,7 @@ div > ul > li > a.selected.menuNav {
}
.sfondoGrigio {
background-color: #ECECEC;
background-color: @grigio04;
}
.bordoGrigio {
@@ -1034,11 +1066,13 @@ div > ul > li > a.selected.menuNav {
/* @end */
/* area gestione etichette tab */
@verde06: #DDFFDD;
@verde07: #339933;
.tabLabelGreen {
background-color: #DDFFDD;
border-top: 1px solid #339933;
border-left: 1px solid #339933;
border-right: 1px solid #339933;
background-color: @verde06;
border-top: 1px solid @verde07;
border-left: 1px solid @verde07;
border-right: 1px solid @verde07;
height: 1.5em;
vertical-align: middle;
padding-top: 0.5em;
@@ -1047,7 +1081,7 @@ div > ul > li > a.selected.menuNav {
}
.tabBodyGreen {
background-color: #DDFFDD;
background-color: @verde06;
border-bottom: 1px solid green;
border-left: 1px solid green;
border-right: 1px solid green;
@@ -1055,9 +1089,9 @@ div > ul > li > a.selected.menuNav {
.tabLabelGray {
background-color: #DEDEDE;
border-top: 1px solid #333333;
border-left: 1px solid #333333;
border-right: 1px solid #333333;
border-top: 1px solid @grigio03;
border-left: 1px solid @grigio03;
border-right: 1px solid @grigio03;
height: 1.5em;
vertical-align: middle;
padding-top: 0.5em;
@@ -1144,7 +1178,7 @@ div > ul > li > a.selected.menuNav {
font-size: 8pt;
background-color: White;
padding: 2px 2px 2px 2px;
border: 1px solid #333;
border: 1px solid @grigio03;
/*
z-index: 1;
overflow: Auto;
@@ -1157,7 +1191,7 @@ div > ul > li > a.selected.menuNav {
/* gestione blocco dati */
.dataBlock {
background-color: #FFFFFF;
background-color: white;
font-size: 9pt;
float: left;
border-top: solid 1px gray;
@@ -1270,12 +1304,9 @@ div > ul > li > a.selected.menuNav {
/* standard gridview */
.grView {
color: #333333;
color: @grigio03;
font-size: 8pt;
padding-left: 1px;
padding-right: 1px;
padding-top: 1px;
padding-bottom: 1px;
padding: 1px;
}
.ctrHeaderPager {
@@ -1330,13 +1361,13 @@ div > ul > li > a.selected.menuNav {
}
.lblBlu {
color: #3333FF;
color: @grigio03;
}
/* gestione celle tabella registro ore full */
@grigioCellaRO: #777;
@altezzaCellaRO: 16px;
@larghCella: 29px;
@larghCella: 32px;
@grigioCella: #777;
@altezzaCella: 20px;
@@ -1347,13 +1378,13 @@ div > ul > li > a.selected.menuNav {
border: solid 1px @grigioCellaRO;
}
@S06: #caca00;
@S05: #e4e400;
@S04: #f1f100;
@S03: #ffff4d;
@S02: #ffff8e;
@S01: #f8fbff;
@S00: #d5d5d5;
@S06: #CACA00;
@S05: #E4E400;
@S04: #F1F100;
@S03: #FFFF4D;
@S02: #FFFF8E;
@S01: #F8FBFF;
@S00: #D5D5D5;
.cEmp {
/*background-image: url('../Images/grigio_80.png');*/
@@ -1386,7 +1417,7 @@ div > ul > li > a.selected.menuNav {
background-image: -ms-linear-gradient( @S03,@S02 );
background-image: -o-linear-gradient( @S03,@S02 );
background-image: linear-gradient( @S03,@S02 );
color: #333;
color: @grigio03;
}
.cS03 {
@@ -1398,7 +1429,7 @@ div > ul > li > a.selected.menuNav {
background-image: -ms-linear-gradient( @S04,@S03 );
background-image: -o-linear-gradient( @S04,@S03 );
background-image: linear-gradient( @S04,@S03 );
color: #333;
color: @grigio03;
}
.cS04 {
@@ -1410,7 +1441,7 @@ div > ul > li > a.selected.menuNav {
background-image: -ms-linear-gradient( @S05,@S04 );
background-image: -o-linear-gradient( @S05,@S04 );
background-image: linear-gradient( @S05,@S04 );
color: #333;
color: @grigio03;
}
.cOvr {
@@ -1425,9 +1456,10 @@ div > ul > li > a.selected.menuNav {
}
.cBia {
font-weight: bold;
height: @altezzaCella;
width: @larghCella;
-ms-align-content: center;
-webkit-align-content: center;
align-content: center;
}
@@ -1437,21 +1469,51 @@ div > ul > li > a.selected.menuNav {
text-align: center;
}
.baseLock
{
text-align: center;
text-decoration: none;
a {
text-decoration: none;
color: white;
}
a:link {
text-decoration: underline;
color: black;
}
}
.lockCol {
.baseLock;
background-color: @R05;
}
.myLock {
.baseLock;
background-color: @T04;
}
.cTab {
text-align: center;
height: @altezzaCella;
width: @larghCella;
-ms-align-content: center;
-webkit-align-content: center;
align-content: center;
border: solid 1px @grigioCella;
}
@R06: #3333d9;
@R05: #288eff;
@R04: #5caaff;
@R03: #76b8ff;
@R02: #90c4ff;
@R01: #f8fbff;
@R00: #c3c3c3;
@R06: #3333D9;
@R05: #288EFF;
@R04: #5CAAFF;
@R03: #76B8FF;
@R02: #90C4FF;
@R01: #F8FBFF;
@R00: #C3C3C3;
.cREmp {
/*background-image: url('../Images/grigio_80.png');*/
@@ -1529,7 +1591,7 @@ div > ul > li > a.selected.menuNav {
vertical-align: middle;
font-weight: bold;
height: @altezzaCellaRO;
padding: 0px 2px;
padding: 0 2px;
}
.cCent {
@@ -1544,14 +1606,14 @@ div > ul > li > a.selected.menuNav {
@T07: #c12424;
@T06: #ff871b;
@T07: #C12424;
@T06: #FF871B;
@T05: #009800;
@T04: #1bff1b;
@T03: #ff851b;
@T02: #ffb769;
@T01: #f8fbff;
@T00: #c3c3c3;
@T04: #1BFF1B;
@T03: #FF851B;
@T02: #FFB769;
@T01: #F8FBFF;
@T00: #C3C3C3;
.cTEmp {
/*background-image: url('../Images/grigio_80.png');*/
File diff suppressed because one or more lines are too long
+7 -2
View File
@@ -14,10 +14,15 @@ namespace PROJ_ETS
protected void Page_Load(object sender, EventArgs e)
{
Logger lg = LogManager.GetCurrentClassLogger();
// resetto utente e diritti
//Session.RemoveAll();
user_std.UtSn.logOffUtente();
// loggo e faccio login...
lg.Info("User login: {0} ({1})", utils.obj.currUserCognomeNome, utils.obj.currUserAD);
// rimando a gestione documenti
Response.Redirect("~/Menu");
// rimando a menu
Response.Redirect("~/Login");
}
}
}
+24
View File
@@ -464,11 +464,14 @@
<Content Include="Scripts\WebForms\WebParts.js" />
<Content Include="Scripts\WebForms\WebUIValidation.js" />
<Content Include="Services\WS_Data.asmx" />
<Content Include="Setup.aspx" />
<Content Include="SpostaCommesse.aspx" />
<Content Include="Images\help_white.png" />
<Content Include="Task\Execute.aspx" />
<Content Include="Test.aspx" />
<Content Include="unauthorized.aspx" />
<Content Include="ViewSwitcher.ascx" />
<Content Include="WebUserControls\mod_AnagLabels.ascx" />
<Content Include="WebUserControls\mod_autocomplete.ascx" />
<Content Include="WebUserControls\mod_commesse.ascx" />
<Content Include="WebUserControls\mod_commesseFull.ascx" />
@@ -704,6 +707,13 @@
<DependentUpon>WS_Data.asmx</DependentUpon>
<SubType>Component</SubType>
</Compile>
<Compile Include="Setup.aspx.cs">
<DependentUpon>Setup.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Setup.aspx.designer.cs">
<DependentUpon>Setup.aspx</DependentUpon>
</Compile>
<Compile Include="Site.Mobile.Master.cs">
<DependentUpon>Site.Mobile.Master</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -718,6 +728,13 @@
<Compile Include="SpostaCommesse.aspx.designer.cs">
<DependentUpon>SpostaCommesse.aspx</DependentUpon>
</Compile>
<Compile Include="Task\Execute.aspx.cs">
<DependentUpon>Execute.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Task\Execute.aspx.designer.cs">
<DependentUpon>Execute.aspx</DependentUpon>
</Compile>
<Compile Include="Test.aspx.cs">
<DependentUpon>Test.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -760,6 +777,13 @@
<Compile Include="WebMasterPages\Site.Master.designer.cs">
<DependentUpon>Site.Master</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_AnagLabels.ascx.cs">
<DependentUpon>mod_AnagLabels.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_AnagLabels.ascx.designer.cs">
<DependentUpon>mod_AnagLabels.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_autocomplete.ascx.cs">
<DependentUpon>mod_autocomplete.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
+2 -1
View File
@@ -8,6 +8,7 @@
<siteMapNode url="FasiCommessa" title="Fasi Commessa" description="Gestione Fasi della Commessa" />
<siteMapNode url="IntegrazioniCommessa" title="Integr. Commessa" description="Gestione Integrazioni Commessa" />
<siteMapNode url="FornitoriCommessa" title="Fornit. Commessa" description="Gestione Fornitori Commessa" />
<siteMapNode url="RiepilogoCommessa" title="Riepil. Commessa" description="Riepilogo Commessa" />
<siteMapNode url="RiepilogoCommessa" title="Riepil. Commessa" description="Riepilogo Commessa" />
<siteMapNode url="Setup" title="Setup" description="Setup Applicazione" />
</siteMapNode>
</siteMap>
+8
View File
@@ -0,0 +1,8 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Progetti.master" AutoEventWireup="true" CodeBehind="Setup.aspx.cs" Inherits="PROJ_ETS.Setup" %>
<%@ Register Src="~/WebUserControls/mod_AnagLabels.ascx" TagPrefix="uc1" TagName="mod_AnagLabels" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Contenuto" runat="server">
<h3>Gestione Labels</h3>
<uc1:mod_AnagLabels runat="server" id="mod_AnagLabels" />
</asp:Content>
+17
View File
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace PROJ_ETS
{
public partial class Setup : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
+24
View File
@@ -0,0 +1,24 @@
//------------------------------------------------------------------------------
// <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 PROJ_ETS {
public partial class Setup {
/// <summary>
/// mod_AnagLabels control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::PROJ_ETS.WebUserControls.mod_AnagLabels mod_AnagLabels;
}
}
+24
View File
@@ -0,0 +1,24 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Execute.aspx.cs" Inherits="PROJ_ETS.Task.Execute" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<h1>Esecuzione Task su chiamata URL</h1>
La chiamata di questa pagina scatena l'esecuzione dei vari task di update/gestione periodica. Chiamate ammissibili:<br />
<ul>
<li>~/Task/Execute?mode=SendEmailBaz --> invio email resoconto programmazione settimanale (se non già inviata) per anno/settimana CORRENTI al momento della richiesta</li>
<li>~/Task/Execute?mode=UpdateLabels --> aggiornamento delle labels associate alle commesse tramite stored procedure</li>
</ul>
<br />
<br />
<asp:Label runat="server" ID="lblOut"></asp:Label>
</div>
</form>
</body>
</html>
+73
View File
@@ -0,0 +1,73 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ETS_Data;
namespace PROJ_ETS.Task
{
public partial class Execute : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
// verifico quale richiesta sia stata effettuata
string mode = utils.obj.QSS("mode");
switch (mode)
{
case "SendEmailBaz":
lblOut.Text = checkSendEmailBaz();
break;
case "UpdateLabels":
lblOut.Text = updateLabels();
break;
default:
lblOut.Text = "Nessuna richiesta valida ricevuta...";
break;
}
}
/// <summary>
/// Effettua update massivo labels e restituisce stringa con esito
/// </summary>
/// <returns></returns>
private string updateLabels()
{
string answ = "NA";
// chiamo la stored stp_L2C_massRecalc x il ricalcolo delle labels...
DataProxy_ProjEts.DP.taL2C.massRecalc();
answ = "Aggiornamento effettuato.";
return answ;
}
/// <summary>
/// Verifica possibilità di inviare email e restituisce stringa con esito
/// </summary>
/// <returns></returns>
private string checkSendEmailBaz()
{
string answ = "NA";
int anno = DateTime.Now.Year;
int sett = datario.WeekOfYearISO8601(DateTime.Now);
bool force = utils.obj.QSB("force");
// verifico che NON sia stata inviata email x settimana corrente...
if (DataProxy_ProjEts.DP.taLEB.getByWeek(anno, sett).Rows.Count == 0 || force)
{
// invio email
try
{
DataProxy_ProjEts.DP.inviaEmailBazaar(anno, sett);
DataProxy_ProjEts.DP.taLEB.Insert(anno, sett, DateTime.Now, "AUTORUN");
}
catch
{ }
answ = "Invio email effettuato.";
}
else
{
answ = "Email già inviate.";
}
return answ;
}
}
}
+33
View File
@@ -0,0 +1,33 @@
//------------------------------------------------------------------------------
// <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 PROJ_ETS.Task {
public partial class Execute {
/// <summary>
/// form1 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.HtmlForm form1;
/// <summary>
/// lblOut 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.Label lblOut;
}
}
+1
View File
@@ -15,6 +15,7 @@
</connectionStrings>
-->
<appSettings>
<add key="testMode" value="false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="destCcProjEmail" value="gparietti@etseng.it,rravasio@etseng.it,enava@etseng.it,mmolteni@etseng.it,cgiupponi@etseng.it,gpw@etseng.it" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="_fromEmail" value="gpw@etseng.it" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="_smtpCli" value="83.103.24.19" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
+17 -7
View File
@@ -14,7 +14,8 @@
<section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah" />
</sectionGroup>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
</configSections>
<connectionStrings>
<add name="ETS_Data.Properties.Settings.ETS_WSConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ETS_WS;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
<add name="ETS_Data.Properties.Settings.ETS_AnagraficaConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ETS_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
@@ -31,6 +32,7 @@
<add key="minRev" value="245" />
<add key="stdEmail" value="info@steamware.net" />
<add key="_safePages" value="Default.aspx#unauthorized.aspx#forceUser.aspx#login.aspx#test.aspx#Test.aspx" />
<add key="testMode" value="true" />
<!--area gestione auth cookie-->
<add key="enableCookie" value="true" />
<add key="cookieDayExp" value="6" />
@@ -59,13 +61,21 @@
<add key="soglia4" value="40" />
<add key="char2showComm" value="30" />
<add key="separatoreTrim" value="..." />
<add key="minBlockEditRes" value="10" />
<!--gestione email assegnazione BAZ->GPW-->
<add key="emailBaz_subject" value="PROJ-ETS: programma impegni settimanale (Bazaar)" />
<add key="emailBaz_body_Head" value="Assegnazione progetti per la settimana" />
<add key="emailBaz_body_Link" value="QUI potrai verificare la programmazione settimanale completa" />
<add key="emailBaz_body_Firma" value="Attenzione: la presente email sostituisce eventuali precedenti invii per la settimana in oggetto." />
<add key="maxCharNomeComm" value="60" />
<!--Gestione email-->
<add key="_fromEmail" value="GPW@steamware.net" />
<add key="_smtpCli" value="10.74.82.254" />
<add key="_emailUser" value="" />
<add key="_emailPwd" value="" />
<add key="_enableSSL" value="false" />
<!--Gestione mail assengazione commessa a CC-->
<!--Gestione mail assegnazione commessa a CC-->
<add key="baseUrl" value="http://iis01/PROJ-ETS" />
<add key="destCcProjEmail" value="samuele@steamware.net" />
<add key="emailCC_subject" value="Notifica assegnazione Commessa Proj-ETS" />
@@ -120,11 +130,11 @@
<add name="Bazaar" type="System.Web.XmlSiteMapProvider" siteMapFile="Bazaar.sitemap" />
</providers>
</siteMap>
</system.web>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
@@ -0,0 +1,62 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_AnagLabels.ascx.cs" Inherits="PROJ_ETS.WebUserControls.mod_AnagLabels" %>
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="CodLabel" DataSourceID="ods" Width="400px">
<AlternatingRowStyle CssClass="alternatingRowStyle" />
<EditRowStyle CssClass="editRowStyle" />
<FooterStyle CssClass="footerStyle" ForeColor="White" />
<HeaderStyle CssClass="headerStyle" ForeColor="White" />
<PagerStyle CssClass="GridPager" />
<RowStyle CssClass="rowStyle" />
<SelectedRowStyle CssClass="selectedRowStyle" ForeColor="#333333" />
<SortedAscendingCellStyle CssClass="sortAscCell" />
<SortedAscendingHeaderStyle CssClass="sortAscHead" />
<SortedDescendingCellStyle CssClass="sortDescCell" />
<SortedDescendingHeaderStyle CssClass="sortDescHead" />
<EmptyDataTemplate>
Nessun record
</EmptyDataTemplate>
<Columns>
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="false">
<ItemTemplate>
<div runat="server" id="divIcons">
<asp:ImageButton ID="imgEdit" runat="server" CausesValidation="False" CommandName="Edit" ToolTip="Modifica" ImageUrl="../images/edit_m.png" Visible='<%# isWritable() %>' />
</div>
</ItemTemplate>
<EditItemTemplate>
<asp:ImageButton ID="imgUpdate" runat="server" CausesValidation="False" CommandName="Update" ToolTip="Update" ImageUrl="../images/apply_m.png" />
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel" ToolTip="Cancel" ImageUrl="../images/cancel_m.png" />
</EditItemTemplate>
<HeaderTemplate>
</HeaderTemplate>
</asp:TemplateField>
<asp:BoundField DataField="CodLabel" HeaderText="Cod. Label" ReadOnly="false" SortExpression="CodLabel" />
<asp:BoundField DataField="DescrLabel" HeaderText="Descrizione" SortExpression="DescrLabel" />
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Right">
<ItemTemplate>
<div class="divDx" runat="server" id="divEditDx">
<asp:ImageButton ID="imgDelete" runat="server" CausesValidation="False" CommandName="Delete" ImageUrl="../images/elimina_m.png" ToolTip="Delete" Visible='<%# delEnabled(Eval("CodLabel")) %>' OnClientClick="return confirm('Confermi eliminazione record?')" />
</div>
</ItemTemplate>
<EditItemTemplate>
<asp:ImageButton ID="imgUpdate2" runat="server" CausesValidation="False" CommandName="Update" ImageUrl="../images/apply_s.png" ToolTip="Update" />
<asp:ImageButton ID="imgCancel2" runat="server" CausesValidation="False" CommandName="Cancel" ImageUrl="../images/cancel_s.png" ToolTipi="Cancel" />
</EditItemTemplate>
<HeaderTemplate>
<asp:ImageButton ID="imgAddNew" runat="server" CausesValidation="False" CommandName="Select" ImageUrl="../images/newBlu_m.png" OnClick="btnNew_Click" ToolTip="Aggiungi Etichetta" Visible='<%# isWritable() %>' />
</HeaderTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" DeleteMethod="DeleteQuery" InsertMethod="Insert" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="ETS_Data.Ds_ProjEtsTableAdapters.AnagLabelsTableAdapter" UpdateMethod="UpdateQuery">
<DeleteParameters>
<asp:Parameter Name="Original_CodLabel" Type="String" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="CodLabel" Type="String" />
<asp:Parameter Name="DescrLabel" Type="String" />
</InsertParameters>
<UpdateParameters>
<asp:Parameter Name="CodLabel" Type="String" />
<asp:Parameter Name="DescrLabel" Type="String" />
<asp:Parameter Name="Original_CodLabel" Type="String" />
</UpdateParameters>
</asp:ObjectDataSource>
@@ -0,0 +1,76 @@
using ETS_Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace PROJ_ETS.WebUserControls
{
public partial class mod_AnagLabels : System.Web.UI.UserControl
{
/// <summary>
/// pagina corrente (URL finale)
/// </summary>
public string _paginaCorrente { get; set; }
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
PagCorrente();
//idxProgetto = utils.obj.confReadInt("idxProgetto_sel");
//ddlPageSize.SelectedValue = utils.pageSize.ToString();
}
//setDetVisibility();
}
/// <summary>
/// salva in variabile pagina il nome della pagina corrente
/// </summary>
protected void PagCorrente()
{
Uri MyUrl = Request.Url;
string delimStr = "/";
char[] delimiter = delimStr.ToCharArray();
string[] finalUrl = MyUrl.LocalPath.ToString().Split(delimiter);
int n = finalUrl.Length;
_paginaCorrente = finalUrl[n - 1].ToString();
}
/// <summary>
/// risponde alla domanda se l'utente abbia permesso tipo writable (S) nel permessi2funzione
/// </summary>
/// <returns></returns>
public bool isWritable()
{
bool answ = false;
if (_paginaCorrente == null)
{
PagCorrente();
}
answ = user_std.UtSn.isPageWriteEnabled(_paginaCorrente);
return answ;
}
/// <summary>
/// determina se sia eliminabile il record (=non usato)
/// </summary>
/// <param name="idxMaker"></param>
/// <returns></returns>
public bool delEnabled(object CodLabel)
{
// verifico NON ci siano record...
bool noRecord =DataProxy_ProjEts.DP.taL2C.getByCodLabel(CodLabel.ToString()).Rows.Count == 0;
return (isWritable() && noRecord);
}
/// <summary>
/// gestione evento richiesta nuovo valore QUANDO NON CI SIANO RECORDS!
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnNew_Click(object sender, EventArgs e)
{
DataProxy_ProjEts.DP.taAL.Insert("_NewLabel", "_NewLabel");
grView.EditIndex = 0;
grView.DataBind();
}
}
}
@@ -0,0 +1,33 @@
//------------------------------------------------------------------------------
// <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 PROJ_ETS.WebUserControls {
public partial class mod_AnagLabels {
/// <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;
}
}
@@ -96,7 +96,7 @@
Font-Bold="true" />
</div>
<div class="divDx">
<uc1:mod_labelsComm runat="server" id="mod_labelsComm" idxFase='<%# Eval("idxFase") %>' />
<uc1:mod_labelsComm runat="server" ID="mod_labelsComm" idxFase='<%# Eval("idxFase") %>' delEnabled="false" />
</div>
</div>
<div class="textGrigio" style="text-align: left; padding: 2px 3px 2px 3px; clear: both;">
@@ -154,58 +154,58 @@
</asp:TemplateField>--%>
<asp:TemplateField HeaderText="BCWS" SortExpression="BCWSLordo" ItemStyle-HorizontalAlign="Right">
<ItemTemplate>
<asp:Label runat="server" ID="lblBCWSLordo" Text='<%# Eval("BCWSLordo","{0:N0} €") %>' ToolTip="(C) BCWS Lordo" Font-Size="0.9em" />
<asp:Label runat="server" ID="lblBCWSLordo" Text='<%# Eval("BCWSLordo","{0:N0} €") %>' ToolTip="(C) BCWS Lordo" Font-Size="0.9em" Visible='<%# canSeeAdvData(Eval("idxFase")) %>' />
</ItemTemplate>
<EditItemTemplate>
<asp:Label runat="server" ID="lblBCWSLordo" Text='<%# Eval("BCWSLordo","{0:N0} €") %>' ToolTip="(C) BCWS Lordo" Font-Size="0.9em" />
<asp:Label runat="server" ID="lblBCWSLordo" Text='<%# Eval("BCWSLordo","{0:N0} €") %>' ToolTip="(C) BCWS Lordo" Font-Size="0.9em" Visible='<%# canSeeAdvData(Eval("idxFase")) %>' />
</EditItemTemplate>
<FooterTemplate>
</FooterTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="ACWP" SortExpression="ACWPFasi_money" ItemStyle-HorizontalAlign="Right">
<ItemTemplate>
<asp:Label runat="server" ID="lblACWPFasi_money" Text='<%# Eval("ACWPFasi_money","{0:N0} €") %>' ToolTip="(I) ACWP Fasi(€)" Font-Size="0.9em" />
<asp:Label runat="server" ID="lblACWPFasi_money" Text='<%# Eval("ACWPFasi_money","{0:N0} €") %>' ToolTip="(I) ACWP Fasi(€)" Font-Size="0.9em" Visible='<%# canSeeAdvData(Eval("idxFase")) %>' />
<br />
<asp:Label runat="server" ID="lblACWPFasi_time" Text='<%# Eval("ACWPFasi_time","{0:N0} h") %>' ToolTip="(I) ACWP Fasi(h)" Font-Size="0.9em" ForeColor="#696969" />
<asp:Label runat="server" ID="lblACWPFasi_time" Text='<%# Eval("ACWPFasi_time","{0:N0} h") %>' ToolTip="(I) ACWP Fasi(h)" Font-Size="0.9em" ForeColor="#696969" Visible='<%# canSeeAdvData(Eval("idxFase")) %>' />
</ItemTemplate>
<EditItemTemplate>
<asp:Label runat="server" ID="lblACWPFasi_money" Text='<%# Eval("ACWPFasi_money","{0:N0} €") %>' ToolTip="(I) ACWP Fasi(€)" Font-Size="0.9em" />
<asp:Label runat="server" ID="lblACWPFasi_money" Text='<%# Eval("ACWPFasi_money","{0:N0} €") %>' ToolTip="(I) ACWP Fasi(€)" Font-Size="0.9em" Visible='<%# canSeeAdvData(Eval("idxFase")) %>' />
<br />
<asp:Label runat="server" ID="lblACWPFasi_time" Text='<%# Eval("ACWPFasi_time","{0:N0} h") %>' ToolTip="(I) ACWP Fasi(h)" Font-Size="0.9em" ForeColor="#696969" />
<asp:Label runat="server" ID="lblACWPFasi_time" Text='<%# Eval("ACWPFasi_time","{0:N0} h") %>' ToolTip="(I) ACWP Fasi(h)" Font-Size="0.9em" ForeColor="#696969" Visible='<%# canSeeAdvData(Eval("idxFase")) %>' />
</EditItemTemplate>
<FooterTemplate>
</FooterTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="FATT" SortExpression="Fatturato" ItemStyle-HorizontalAlign="Right">
<ItemTemplate>
<asp:Label runat="server" ID="lblFatturato" Text='<%# Eval("Fatturato","{0:N0} €") %>' ToolTip="(D) Fatturato" Font-Size="0.9em" />
<asp:Label runat="server" ID="lblFatturato" Text='<%# Eval("Fatturato","{0:N0} €") %>' ToolTip="(D) Fatturato" Font-Size="0.9em" Visible='<%# canSeeAdvData(Eval("idxFase")) %>' />
</ItemTemplate>
<EditItemTemplate>
<asp:Label runat="server" ID="lblFatturato" Text='<%# Eval("Fatturato","{0:N0} €") %>' ToolTip="(D) Fatturato" Font-Size="0.9em" />
<asp:Label runat="server" ID="lblFatturato" Text='<%# Eval("Fatturato","{0:N0} €") %>' ToolTip="(D) Fatturato" Font-Size="0.9em" Visible='<%# canSeeAdvData(Eval("idxFase")) %>' />
</EditItemTemplate>
<FooterTemplate>
</FooterTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="% IMP (J)" SortExpression="ratio_money" ItemStyle-HorizontalAlign="Right">
<ItemTemplate>
<asp:Label runat="server" ID="lblRatioMoney" Text='<%# Eval("ratio_money","{0:P1} (€)") %>' ToolTip="(J) Impegno %: J = I/H (H>0)" Font-Size="0.9em" />
<asp:Label runat="server" ID="lblRatioMoney" Text='<%# Eval("ratio_money","{0:P1} (€)") %>' ToolTip="(J) Impegno %: J = I/H (H>0)" Font-Size="0.9em" Visible='<%# canSeeAdvData(Eval("idxFase")) %>' />
<br />
<asp:Label runat="server" ID="lblRatioTime" Text='<%# Eval("ratio_time","{0:P1} (h)") %>' ToolTip="(J) Impegno %: J = I/H (H>0)" Font-Size="0.9em" ForeColor="#696969" />
<asp:Label runat="server" ID="lblRatioTime" Text='<%# Eval("ratio_time","{0:P1} (h)") %>' ToolTip="(J) Impegno %: J = I/H (H>0)" Font-Size="0.9em" ForeColor="#696969" Visible='<%# canSeeAdvData(Eval("idxFase")) %>' />
</ItemTemplate>
<EditItemTemplate>
<asp:Label runat="server" ID="lblRatioMoney" Text='<%# Eval("ratio_money","{0:P1} (€)") %>' ToolTip="(J) Impegno %: J = I/H (H>0)" Font-Size="0.9em" />
<asp:Label runat="server" ID="lblRatioMoney" Text='<%# Eval("ratio_money","{0:P1} (€)") %>' ToolTip="(J) Impegno %: J = I/H (H>0)" Font-Size="0.9em" Visible='<%# canSeeAdvData(Eval("idxFase")) %>' />
<br />
<asp:Label runat="server" ID="lblRatioTime" Text='<%# Eval("ratio_time","{0:P1} (h)") %>' ToolTip="(J) Impegno %: J = I/H (H>0)" Font-Size="0.9em" ForeColor="#696969" />
<asp:Label runat="server" ID="lblRatioTime" Text='<%# Eval("ratio_time","{0:P1} (h)") %>' ToolTip="(J) Impegno %: J = I/H (H>0)" Font-Size="0.9em" ForeColor="#696969" Visible='<%# canSeeAdvData(Eval("idxFase")) %>' />
</EditItemTemplate>
<FooterTemplate>
</FooterTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="% IMP (K)" SortExpression="ratioNetto_money" ItemStyle-HorizontalAlign="Right">
<ItemTemplate>
<asp:Label runat="server" ID="lblRatioNettoMoney" Text='<%# Eval("ratioNetto_money","{0:P1} (€)") %>' ToolTip="(K) Impegno %: J = I/G (G>0)" Font-Size="0.9em" />
<asp:Label runat="server" ID="lblRatioNettoMoney" Text='<%# Eval("ratioNetto_money","{0:P1} (€)") %>' ToolTip="(K) Impegno %: J = I/G (G>0)" Font-Size="0.9em" Visible='<%# canSeeAdvData(Eval("idxFase")) %>' />
</ItemTemplate>
<EditItemTemplate>
<asp:Label runat="server" ID="lblRatioNettoMoney" Text='<%# Eval("ratioNetto_money","{0:P1} (€)") %>' ToolTip="(K) Impegno %: J = I/G (G>0)" Font-Size="0.9em" />
<asp:Label runat="server" ID="lblRatioNettoMoney" Text='<%# Eval("ratioNetto_money","{0:P1} (€)") %>' ToolTip="(K) Impegno %: J = I/G (G>0)" Font-Size="0.9em" Visible='<%# canSeeAdvData(Eval("idxFase")) %>' />
</EditItemTemplate>
<FooterTemplate>
</FooterTemplate>
@@ -843,6 +843,35 @@ namespace PROJ_ETS.WebUserControls
grView.DataBind();
}
/// <summary>
/// determina se possa vedere dati avanzati (economici tipicamente) dato idx fase
/// </summary>
/// <param name="idxFase">idx fase interessata... </param>
/// <returns></returns>
public bool canSeeAdvData(object _idxFase)
{
bool answ = false;
int idxFase = 0;
try
{
idxFase = Convert.ToInt32(_idxFase);
}
catch
{ }
// se è POWER* o PM PUO' vedere...
if(utils.obj.isPowerUser || utils.obj.isPowerReader || utils.obj.isPM)
{
answ = true;
}
else if(utils.obj.isCC && utils.obj.isCurrentCC(idxFase))
{
// controllo SE sia sua la commessa...
answ = true;
}
return answ;
}
#endregion
}
@@ -1,6 +1,8 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_datiComm.ascx.cs" Inherits="PROJ_ETS.WebUserControls.mod_datiComm" %>
<%@ Register Src="mod_navDettComm.ascx" TagName="mod_navDettComm" TagPrefix="uc1" %>
<%@ Register Src="~/WebUserControls/mod_labelsComm.ascx" TagPrefix="uc1" TagName="mod_labelsComm" %>
<div class="divSx">
<asp:FormView ID="frmView" runat="server" DataKeyNames="idxFase" DataSourceID="ods">
@@ -34,6 +36,12 @@
</asp:RadioButtonList>
</div>
</div>
<div class="clearDiv padStd" style="height: 50px; border-top: 1px dotted #CDCDCD; width: 250px;">
<asp:Label ID="lblLabels" runat="server" Text="Labels assegnate" AssociatedControlID="mod_labelsComm" />
<div class="bordoGrigio" style="border-width: 1px; min-height: 5em;">
<uc1:mod_labelsComm runat="server" ID="mod_labelsComm" idxFase='<%# Eval("idxFase") %>' delEnabled="false" />
</div>
</div>
</div>
<div class="divSx" style="min-width: 250px; padding: 0px 2px; border-right: 1px solid #CDCDCD; min-height: 250px; height: 100%;">
<div class="clearDiv padStd" style="height: 50px;">
@@ -162,6 +170,12 @@
</asp:RadioButtonList>
</div>
</div>
<div class="clearDiv padStd" style="height: 50px; border-top: 1px dotted #CDCDCD; width: 250px;">
<asp:Label ID="lblLabels" runat="server" Text="Labels assegnate" AssociatedControlID="mod_labelsComm" />
<div class="bordoGrigio" style="border-width: 1px; min-height: 5em;">
<uc1:mod_labelsComm runat="server" ID="mod_labelsComm" idxFase='<%# Eval("idxFase") %>' delEnabled="true" />
</div>
</div>
</div>
<div class="divSx" style="min-width: 250px; padding: 0px 2px; border-right: 1px solid #CDCDCD; min-height: 250px; height: 100%;">
<div class="clearDiv padStd" style="height: 50px;">
@@ -305,7 +319,7 @@
<uc1:mod_navDettComm ID="mod_navDettComm1" runat="server" btn2disable="1" />
<br />
<asp:Button runat="server" ID="btnEmailCC" Text="Notifica CC" CssClass="btnEmail" Width="250px" OnClick="btnEmailCC_Click" />
<asp:Button runat="server" ID="btnEmailCC" Text="Notifica CC" CssClass="btnEmail" Width="250px" OnClick="btnEmailCC_Click" />
<asp:Label runat="server" ID="lblEmailCC" Text="..." />
</div>
<asp:ObjectDataSource ID="odsCC" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="ETS_Data.DS_utilsProjEtsTableAdapters.v_selCCTableAdapter"></asp:ObjectDataSource>
@@ -1,14 +1,27 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_labelsComm.ascx.cs" Inherits="PROJ_ETS.WebUserControls.mod_labelsComm" %>
<div class="clearDiv divSx cCent" runat="server" id="divModLabels" style="background-color: #d8ffFF; width: 100%;">
<asp:Label runat="server" ID="lblBtns" AssociatedControlID="lbtAddLabel" Text="&nbsp;" Font-Size="0.8em" />
<asp:DropDownList runat="server" ID="ddlSelLabel" DataSourceID="odsLabel" DataTextField="CodLabel" DataValueField="CodLabel">
</asp:DropDownList>
<asp:LinkButton runat="server" ID="lbtAddLabel" ToolTip="Aggiungi a selezionati" OnClick="lbtAddLabel_Click"><i class="fa fa-plus-square"></i> ADD</asp:LinkButton>
<%--<asp:LinkButton runat="server" ID="lbtResetLabels" ToolTip="Reset/SVuota selezionati" OnClick="lbtResetLabels_Click"><i class="fa fa-recycle"></i> RES</asp:LinkButton>--%>
</div>
<asp:ObjectDataSource runat="server" ID="odsLabel" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="ETS_Data.Ds_ProjEtsTableAdapters.AnagLabelsTableAdapter"></asp:ObjectDataSource>
<div class="clearDiv">
<asp:Repeater ID="repLabels" runat="server" DataSourceID="ods">
<ItemTemplate>
<span class="lblBox"><%# Eval("CodLabel") %>&nbsp;<asp:LinkButton runat="server" ID="lbtDel" Visible='<%# Convert.ToBoolean(hfDelEnabled.Value) %>' CommandArgument='<%# Eval("CodLabel") %>' OnClick="lbtDel_Click" OnClientClick="return confirm('Confermi eliminazione record?')"><i class="fa fa-minus-square"></i></asp:LinkButton>&nbsp;</span>
</ItemTemplate>
<SeparatorTemplate></SeparatorTemplate>
</asp:Repeater>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByIdxFase" TypeName="ETS_Data.Ds_ProjEtsTableAdapters.LabelsCommTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="hfIdxFase" DefaultValue="0" Name="idxFase" PropertyName="Value" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
<%--<span class="lblBox">AAA</span> <span class="lblBox">BBB</span> <span class="lblBox">CCC</span>--%>
</div>
<asp:HiddenField runat="server" ID="hfIdxFase" />
<asp:Repeater ID="repLabels" runat="server" DataSourceID="ods">
<ItemTemplate>
<span class="lblBox"><%# Eval("CodLabel") %></span>
</ItemTemplate>
<SeparatorTemplate> </SeparatorTemplate>
</asp:Repeater>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByIdxFase" TypeName="ETS_Data.Ds_ProjEtsTableAdapters.LabelsCommTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="hfIdxFase" DefaultValue="0" Name="idxFase" PropertyName="Value" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
<%--<span class="lblBox">AAA</span> <span class="lblBox">BBB</span> <span class="lblBox">CCC</span>--%>
<asp:HiddenField runat="server" ID="hfDelEnabled" />
@@ -1,4 +1,5 @@
using System;
using ETS_Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
@@ -11,9 +12,12 @@ namespace PROJ_ETS.WebUserControls
{
protected void Page_Load(object sender, EventArgs e)
{
divModLabels.Visible = delEnabled;
lblBtns.Visible = !delEnabled;
}
/// <summary>
/// idx fase di cui mostrare dettaglio etichette
/// </summary>
public int idxFase
{
get
@@ -32,5 +36,55 @@ namespace PROJ_ETS.WebUserControls
hfIdxFase.Value = value.ToString();
}
}
/// <summary>
/// abilitazione o meno all'eliminazione dei tags
/// </summary>
public bool delEnabled
{
get
{
bool answ = false;
try
{
answ = Convert.ToBoolean(hfDelEnabled.Value);
}
catch
{ }
return answ;
}
set
{
hfDelEnabled.Value = value.ToString();
divModLabels.Visible = value;
}
}
protected void lbtAddLabel_Click(object sender, EventArgs e)
{
// UPSERT...
DataProxy_ProjEts.DP.taL2C.UpsertQuery(idxFase, ddlSelLabel.SelectedValue);
repLabels.DataBind();
}
protected void lbtResetLabels_Click(object sender, EventArgs e)
{
DataProxy_ProjEts.DP.taL2C.deleteByFase(idxFase);
repLabels.DataBind();
}
protected void lbtDel_Click(object sender, EventArgs e)
{
try
{
// recupero argomento
LinkButton lb = (LinkButton)sender;
//lb.CommandArgument
DataProxy_ProjEts.DP.taL2C.Delete(idxFase, lb.CommandArgument);
}
catch
{ }
repLabels.DataBind();
}
}
}
@@ -13,13 +13,49 @@ namespace PROJ_ETS.WebUserControls {
public partial class mod_labelsComm {
/// <summary>
/// hfIdxFase control.
/// divModLabels 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 hfIdxFase;
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divModLabels;
/// <summary>
/// lblBtns 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.Label lblBtns;
/// <summary>
/// ddlSelLabel 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.DropDownList ddlSelLabel;
/// <summary>
/// lbtAddLabel 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.LinkButton lbtAddLabel;
/// <summary>
/// odsLabel 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 odsLabel;
/// <summary>
/// repLabels control.
@@ -38,5 +74,23 @@ namespace PROJ_ETS.WebUserControls {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
/// <summary>
/// hfIdxFase 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 hfIdxFase;
/// <summary>
/// hfDelEnabled 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 hfDelEnabled;
}
}
@@ -144,7 +144,6 @@ public partial class mod_login : System.Web.UI.UserControl
else
{
lblMessage.Text = "Accesso fallito<br>key foce login non valida!!! tentativo registrata!!!";
//mandaEmail(_fromEmail, _adminEmail, "Attenzione: tentativo di accesso non autorizzato!", String.Format("Tentativo di forcing user non autorizzato!<br>L'utente {0} ha tentato di accedere a {1} forzando l'utente ma la sua key autorizzativa e' sbagliata...", Page.User.Identity.Name, user_std.UtSn.Traduci(SteamWare.memLayer.ML.confReadString("defaultApp"))));
string _rigaLog = String.Format("User {0}\t tried to force user - wrong password - he tried to log as \t {1}\\{2}", Page.User.Identity.Name, dominio.Text, user.Text);
lg.Warn(_rigaLog);
if (Login_Error != null)
@@ -155,7 +154,6 @@ public partial class mod_login : System.Web.UI.UserControl
}
else
{
//mandaEmail(_fromEmail, _adminEmail, "Attenzione: tentativo di accesso non autorizzato!", String.Format("Tentativo di forcing user non autorizzato!<br>L'utente {0} ha tentato di accedere a {1} forzando l'utente ma la funzione e' disabilitata...", Page.User.Identity.Name, user_std.UtSn.Traduci(SteamWare.memLayer.ML.confReadString("defaultApp"))));
string _rigaLog = String.Format("User {0}\t tried to force user - access disabled - he tried to log as \t {1}\\{2}", Page.User.Identity.Name, dominio.Text, user.Text);
lg.Warn(_rigaLog);
if (Login_Error != null)
@@ -237,7 +237,6 @@ namespace PROJ_ETS.WebUserControls
break;
case tipoSpostamento.moveRA:
//enableBtnSposta = true;
//testoBtn = traduci("moveRA");
//cssBtn = "btnBlu ui-corner-all shadowBox btnEditBig";
break;
default:
@@ -3,14 +3,14 @@
<div class="filtro_1 fontPiccolo ui-corner-all shadowBox" style="white-space: nowrap; height: 2.5em; padding: 4px;">
<uc1:mod_navigaWeek ID="mod_navigaWeek1" runat="server" />
<div class="divSx" style="padding: 0px; margin-right: 4px; height: 2em;">
<asp:Button runat="server" ID="btnAddNew" Text="Aggiungi Commesse" ToolTip="Mostra pannello Aggiungi Commesse" CssClass="btnNew" OnClick="btnAddNew_Click" Visible='<%# isWritable() && isPowerUser %>' />
<div class="divSx" style="padding: 0; margin-right: 4px; height: 2em;">
<asp:Button runat="server" ID="btnAddNew" Text="Aggiungi Commesse" ToolTip="Mostra pannello Aggiungi Commesse" CssClass="btnNew" OnClick="btnAddNew_Click" Visible='<%# isWritable() && (ETS_Data.utils.obj.isPowerUser || ETS_Data.utils.obj.isPM) %>' />
</div>
<div class="divSx" style="padding: 0px; margin-right: 4px; height: 2em;">
<asp:Button runat="server" ID="btnCloneWeek" Text="Copia Week" ToolTip="Copia le Commesse dalla settimana precedente" CssClass="btnNew" OnClick="btnCloneWeek_Click" Visible='<%# isWritable() && isPowerUser %>' />
<div class="divSx" style="padding: 0; margin-right: 4px; height: 2em;">
<asp:Button runat="server" ID="btnCloneWeek" Text="Copia Week" ToolTip="Copia le Commesse dalla settimana precedente" CssClass="btnNew" OnClick="btnCloneWeek_Click" Visible='<%# isWritable() && ETS_Data.utils.obj.isPowerUser %>' />
</div>
<div class="divSx" style="padding: 0px; margin-right: 4px; height: 2em;">
<asp:Button runat="server" ID="btnReleaseWeek" Text="Rilascia Week" ToolTip="Rilascia il piano settimanale copiando in GPW lo schema delle ore a progetto indicate per la settimana" CssClass="btnNew" OnClick="btnReleaseWeek_Click" Visible='<%# isWritable() && isPowerUser %>' />
<div class="divSx" style="padding: 0; margin-right: 4px; height: 2em;">
<asp:Button runat="server" ID="btnReleaseWeek" Text="Rilascia Week" ToolTip="Rilascia il piano settimanale copiando in GPW lo schema delle ore a progetto indicate per la settimana" CssClass="btnNew" OnClick="btnReleaseWeek_Click" Visible='<%# isWritable() && ETS_Data.utils.obj.isPowerUser %>' />
</div>
</div>
<div class="clearDiv">
@@ -135,8 +135,8 @@ namespace PROJ_ETS.WebUserControls
// aggiunta commesse e clona seguono stessa regola di visibilità e abilitazione...
btnAddNew.Enabled = cudEnabled;
btnCloneWeek.Enabled = cudEnabled;
btnAddNew.Visible = isWritable() && isPowerUser;
btnCloneWeek.Visible = isWritable() && isPowerUser;
btnAddNew.Visible = isWritable() && (utils.obj.isPowerUser || utils.obj.isPM);
btnCloneWeek.Visible = isWritable() && utils.obj.isPowerUser;
fixBtnAddNewComm();
if (!cudEnabled)
{
@@ -153,7 +153,7 @@ namespace PROJ_ETS.WebUserControls
btnCloneWeek.ToolTip = "Copia le Commesse dalla settimana precedente";
}
// rilascio / congelamento ore in GPW ha sua regola (NON lo mostra direttamente se "scaduto")
btnReleaseWeek.Visible = isWritable() && isPowerUser && cudEnabled;
btnReleaseWeek.Visible = isWritable() && utils.obj.isPowerUser && cudEnabled;
// a seconda che sia stata rilasciata o meno la settimana mostro sblocco o rilascio settimana...
if (isReleased)
{
@@ -217,6 +217,7 @@ namespace PROJ_ETS.WebUserControls
/// </summary>
private void caricaDatiBlocco()
{
unlockRes();
int totCelle = 0;
int idxDip = 0;
// recupero il numero di TUTTE le celle
@@ -230,7 +231,7 @@ namespace PROJ_ETS.WebUserControls
tabCommShort = DataProxy_ProjEts.DP.taSelCom.getCommShort(); // leggo tutte commesse formato short (nickname...)
// calcolo il primo dip
idxDip = tabBaz[0].idxDipendente;
// calcolo num celel totali
// calcolo num celle totali
totCelle = tabBaz.Rows.Count;
tabBazSingle = DataProxy_ProjEts.DP.taBaz.getByAnnoSettDip(anno, settimana, idxDip);
// calcolo numero commesse!
@@ -300,6 +301,18 @@ namespace PROJ_ETS.WebUserControls
}
}
}
/// <summary>
/// sblocca le risorse scadute (= lock da oltre tempo max)
/// </summary>
private void unlockRes()
{
int minBlockEditRes = utils.obj.confReadInt("minBlockEditRes");
if (minBlockEditRes > 0)
{
DataProxy_ProjEts.DP.taTLB.unlockExpired(minBlockEditRes);
}
}
/// <summary>
/// disegna la riga di intestazione/chiusura x dipendenti
/// </summary>
@@ -318,10 +331,19 @@ namespace PROJ_ETS.WebUserControls
{
cell = new TableCell();
cell.CssClass = "cBia cCent";
// se è ultima riga...
if (showOre && numDip > 0 && numComm > 0)
{
cell.Text = string.Format("{0:0#} h</br>{1}", oreTotDip[pos_x], schemaOreDip[pos_x]);
cell.ToolTip = "";
cell.Text = string.Format("<b>{0:0#} h</b></br>{1}", oreTotDip[pos_x], schemaOreDip[pos_x]);
if (userIsLocked(tabD2ATR[pos_x].idxDipendente))
{
cell.ToolTip = string.Format("LOCK: {0} in modifica", lockedBy(tabD2ATR[pos_x].idxDipendente));
}
else
{
//cell.ToolTip = "";
cell.ToolTip = schemaOreDip[pos_x];
}
// SE sono 40h coloro di verde!!!
if (oreTotDip[pos_x] == 40)
{
@@ -364,13 +386,13 @@ namespace PROJ_ETS.WebUserControls
/// controlla abilitazione edit x celle e cancellazione, ovvero
/// - cudEnabled (controllo periodo scaduto e permette sett future)
/// - isWritable (utente con permessi RW = S)
/// - utente poweruser oppure settimana non rialasciata x utente CC
/// - utente PowerUser/ProjectManager oppure settimana non rilasciata (x utente CapoComm)
/// </summary>
protected bool editEnabled
{
get
{
return cudEnabled && isWritable() && (isPowerUser || !isReleased);
return cudEnabled && isWritable() && (utils.obj.isPowerUser || utils.obj.isPM || !isReleased);
}
}
/// <summary>
@@ -393,7 +415,7 @@ namespace PROJ_ETS.WebUserControls
if (showOre)
{
// controllo edit è abilitato
if (editEnabled && (isPowerUser || isCurrentCC(tabBazSingle[pos_y].idxFase)))
if (editEnabled && (utils.obj.isPowerUser || utils.obj.isPM || utils.obj.isCurrentCC(tabBazSingle[pos_y].idxFase)))
{
// aggiungo button x fare elemento cliccabile
LinkButton lnkbDel = new LinkButton();
@@ -488,6 +510,9 @@ namespace PROJ_ETS.WebUserControls
// salvo valori
IdxDipSel = Convert.ToInt32(valori[0]);
IdxFaseSel = Convert.ToInt32(valori[1]);
// blocco dip!
DataProxy_ProjEts.DP.taTLB.lockDip(IdxDipSel, user_std.UtSn.NomeCognome);
// continuo
rigaBaz = (Ds_ProjEts.BazaarRisorseRow)tabBaz.Select(string.Format("idxDipendente={0} AND idxFase={1}", IdxDipSel, IdxFaseSel))[0];
rigaDip = (Ds_ProjEts.DipendentiRow)tabDip.Select(string.Format("idxDipendente={0}", IdxDipSel))[0];
rigaComm = (DS_utilsProjEts.v_selCommesseRow)tabComm.Select(string.Format("value = {0}", IdxFaseSel))[0];
@@ -518,16 +543,25 @@ namespace PROJ_ETS.WebUserControls
cell = new TableCell();
cell.CssClass = TabellaRisorse[pos_x, pos_y].Css;
// controllo edit è abilitato
if (editEnabled && (isPowerUser || isCurrentCC(TabellaRisorse[pos_x, pos_y].IdxFase)))
if (editEnabled && (utils.obj.isPowerUser || utils.obj.isPM || utils.obj.isCurrentCC(TabellaRisorse[pos_x, pos_y].IdxFase)))
{
// aggiungo button x fare elemento cliccabile
LinkButton lnkb = new LinkButton();
lnkb.ToolTip = TabellaRisorse[pos_x, pos_y].ToolTip;
lnkb.Text = TabellaRisorse[pos_x, pos_y].Label;
lnkb.CssClass = "openDiag"; // server x far si che apra il dialog modale...
lnkb.Click += new EventHandler(lnkb_Click);
lnkb.CommandArgument = string.Format("{0}#{1}", TabellaRisorse[pos_x, pos_y].IdxDipendente, TabellaRisorse[pos_x, pos_y].IdxFase);
lnkb.Enabled = cudEnabled && isWritable();
// controllo che user NON sia locked...
if (!userIsLocked(TabellaRisorse[pos_x, pos_y].IdxDipendente) || lockedByMe(TabellaRisorse[pos_x, pos_y].IdxDipendente))
{
lnkb.CssClass = "openDiag"; // server x far si che apra il dialog modale...
lnkb.Click += new EventHandler(lnkb_Click);
lnkb.CommandArgument = string.Format("{0}#{1}", TabellaRisorse[pos_x, pos_y].IdxDipendente, TabellaRisorse[pos_x, pos_y].IdxFase);
lnkb.Enabled = cudEnabled && isWritable();
}
else
{
lnkb.Enabled = lockedByMe(TabellaRisorse[pos_x, pos_y].IdxDipendente);
//lnkb.Enabled = false;
}
cell.Controls.Add(lnkb);
}
else
@@ -540,6 +574,18 @@ namespace PROJ_ETS.WebUserControls
{
cell.CssClass = "selCel";
}
// altrimenti controllo se la COLONNA di un dip bloccato, nel caso SEGNALO e blocco....
else if (userIsLocked(TabellaRisorse[pos_x, pos_y].IdxDipendente))
{
if (lockedByMe(TabellaRisorse[pos_x, pos_y].IdxDipendente))
{
cell.CssClass = "myLock";
}
else
{
cell.CssClass = "lockCol";
}
}
// carico in cella di tabella il linkButton
riga.Cells.Add(cell);
}
@@ -549,6 +595,48 @@ namespace PROJ_ETS.WebUserControls
// metto ultima riga con indicazione valori NUMERICI del totale ore x dipendente
setupRigaDip(true);
}
/// <summary>
/// verifica se utente sia locked
/// </summary>
/// <param name="IdxDipendente"></param>
/// <returns></returns>
protected bool userIsLocked(int IdxDipendente)
{
return DataProxy_ProjEts.DP.taTLB.getByDip(IdxDipendente).Rows.Count > 0;
}
/// <summary>
/// verifica se sia io a tenere in lock...
/// </summary>
/// <param name="IdxDipendente"></param>
/// <returns></returns>
protected bool lockedByMe(int IdxDipendente)
{
bool answ = false;
try
{
// controllo: SE sono io che ho bloccato allora NON vale blocco x ME...
answ = DataProxy_ProjEts.DP.taTLB.getByDip(IdxDipendente)[0].LockedBy == user_std.UtSn.NomeCognome;
}
catch
{ }
return answ;
}
/// <summary>
/// restituisce nome di chi ha lock su risorsa (dipendente)...
/// </summary>
/// <param name="IdxDipendente"></param>
/// <returns></returns>
protected string lockedBy(int IdxDipendente)
{
string answ = "ND";
try
{
answ = DataProxy_ProjEts.DP.taTLB.getByDip(IdxDipendente)[0].LockedBy;
}
catch
{ }
return answ;
}
/// <summary>
/// gestione visualizzaizone pannello elenco commesse da inserire
@@ -577,7 +665,7 @@ namespace PROJ_ETS.WebUserControls
/// <param name="e"></param>
protected void btnReleaseWeek_Click(object sender, EventArgs e)
{
// controllo se la settimana è rialsciata o meno e di conseguenza opero...
// controllo se la settimana è rilasciata o meno e di conseguenza opero...
if (isReleased)
{
// sblocco
@@ -627,7 +715,7 @@ namespace PROJ_ETS.WebUserControls
/// <returns></returns>
public string trimChar(object stringaIn, object maxChar)
{
return utils.obj.trimChar(stringaIn, maxChar);
return utils.trimChar(stringaIn, maxChar);
}
/// <summary>
@@ -715,6 +803,8 @@ namespace PROJ_ETS.WebUserControls
{
allocazione = Convert.ToInt32(txtAllocazione.Text.Trim());
DataProxy_ProjEts.DP.taBaz.updateQuery(anno, settimana, IdxDipSel, IdxFaseSel, allocazione);
// sblocco dip!
DataProxy_ProjEts.DP.taTLB.unlockDip(IdxDipSel);
}
catch
{ }
@@ -727,6 +817,9 @@ namespace PROJ_ETS.WebUserControls
protected void btnCancel_Click(object sender, EventArgs e)
{
// sblocco dip!
DataProxy_ProjEts.DP.taTLB.unlockDip(IdxDipSel);
// resetto
lblOut.Text = "";
IdxDipSel = 0;
IdxFaseSel = 0;
@@ -782,71 +875,6 @@ namespace PROJ_ETS.WebUserControls
return answ;
}
/// <summary>
/// risponde alla domanda se l'utente sia PowerUser
/// </summary>
/// <returns></returns>
public bool isPowerUser
{
get
{
return user_std.UtSn.userHasRight("PowerUser");
}
}
/// <summary>
/// risponde alla domanda se l'utente sia PowerReader
/// </summary>
/// <returns></returns>
public bool isPowerReader
{
get
{
return user_std.UtSn.userHasRight("PowerReader");
}
}
/// <summary>
/// risponde alla domanda se l'utente sia User
/// </summary>
/// <returns></returns>
public bool isUser
{
get
{
return user_std.UtSn.userHasRight("User");
}
}
/// <summary>
/// risponde alla domanda se l'utente sia CapoCommessa
/// </summary>
/// <returns></returns>
public bool isCC
{
get
{
return user_std.UtSn.userHasRight("CC");
}
}
/// <summary>
/// risponde alla domanda se l'utente sia CC della commessa indicata dalla fase
/// </summary>
/// <param name="idxFase"></param>
/// <returns></returns>
public bool isCurrentCC(int idxFase)
{
bool answ = false;
string CapoCommessa = "";
try
{
CapoCommessa = DataProxy_ProjEts.DP.taDC.GetData(idxFase)[0].CapoCommessa;
}
catch
{ }
if (user_std.UtSn.currUserNomeCognome == CapoCommessa || user_std.UtSn.currUserCognomeNome == CapoCommessa)
{
answ = true;
}
return answ;
}
/// <summary>
/// indica se la settimana sia già stata rilasciata (c'è record in tab ReleasedWeek e quindi è stato esportato su GPW)
/// </summary>
public bool isReleased
@@ -104,7 +104,7 @@ namespace PROJ_ETS.WebUserControls
// calcolo num celle totali
totCelle = tabIR.Rows.Count;
// a secondo del ruolo utente (PowerUser|PowerReader oppure CC) determino quali commesse siano visibili
if (isCC && !(isPowerReader || isPowerUser))
if (utils.obj.isCC && !(utils.obj.isPowerReader || utils.obj.isPowerUser))
{
tabIRPareto = DataProxy_ProjEts.DP.taIR.getFullWeekParetoCC(anno, settimana, user_std.UtSn.currUserNomeCognome);
}
@@ -381,6 +381,7 @@ namespace PROJ_ETS.WebUserControls
answ = user_std.UtSn.isPageWriteEnabled(_paginaCorrente);
return answ;
}
#if false
/// <summary>
/// risponde alla domanda se l'utente sia PowerUser
/// </summary>
@@ -425,5 +426,17 @@ namespace PROJ_ETS.WebUserControls
return user_std.UtSn.userHasRight("CC");
}
}
/// <summary>
/// risponde alla domanda se l'utente sia ProjectManager
/// </summary>
/// <returns></returns>
public bool isPM
{
get
{
return user_std.UtSn.userHasRight("PM");
}
}
#endif
}
}
@@ -112,7 +112,7 @@ namespace PROJ_ETS.WebUserControls
// calcolo num celle totali
totCelle = tabIR.Rows.Count;
// a secondo del ruolo utente (PowerUser|PowerReader oppure CC) determino quali commesse siano visibili
if (isCC && !(isPowerReader || isPowerUser))
if (utils.obj.isCC && !(utils.obj.isPowerReader || utils.obj.isPowerUser))
{
tabIRPareto = DataProxy_ProjEts.DP.taIR.getBazWeekParetoCC(anno, settimana, user_std.UtSn.currUserNomeCognome);
}
@@ -481,6 +481,7 @@ namespace PROJ_ETS.WebUserControls
answ = user_std.UtSn.isPageWriteEnabled(_paginaCorrente);
return answ;
}
#if false
/// <summary>
/// risponde alla domanda se l'utente sia PowerUser
/// </summary>
@@ -525,5 +526,17 @@ namespace PROJ_ETS.WebUserControls
return user_std.UtSn.userHasRight("CC");
}
}
/// <summary>
/// risponde alla domanda se l'utente sia ProjectManager
/// </summary>
/// <returns></returns>
public bool isPM
{
get
{
return user_std.UtSn.userHasRight("PM");
}
}
#endif
}
}
Binary file not shown.
Binary file not shown.
+17 -7
View File
@@ -14,7 +14,8 @@
<section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah" />
</sectionGroup>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
</configSections>
<connectionStrings>
<add name="ETS_Data.Properties.Settings.ETS_WSConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ETS_WS;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
<add name="ETS_Data.Properties.Settings.ETS_AnagraficaConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ETS_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
@@ -31,6 +32,7 @@
<add key="minRev" value="245" />
<add key="stdEmail" value="info@steamware.net" />
<add key="_safePages" value="Default.aspx#unauthorized.aspx#forceUser.aspx#login.aspx#test.aspx#Test.aspx" />
<add key="testMode" value="true" />
<!--area gestione auth cookie-->
<add key="enableCookie" value="true" />
<add key="cookieDayExp" value="6" />
@@ -59,13 +61,21 @@
<add key="soglia4" value="40" />
<add key="char2showComm" value="30" />
<add key="separatoreTrim" value="..." />
<add key="minBlockEditRes" value="10" />
<!--gestione email assegnazione BAZ->GPW-->
<add key="emailBaz_subject" value="PROJ-ETS: programma impegni settimanale (Bazaar)" />
<add key="emailBaz_body_Head" value="Assegnazione progetti per la settimana" />
<add key="emailBaz_body_Link" value="QUI potrai verificare la programmazione settimanale completa" />
<add key="emailBaz_body_Firma" value="Attenzione: la presente email sostituisce eventuali precedenti invii per la settimana in oggetto." />
<add key="maxCharNomeComm" value="60" />
<!--Gestione email-->
<add key="_fromEmail" value="GPW@steamware.net" />
<add key="_smtpCli" value="10.74.82.254" />
<add key="_emailUser" value="" />
<add key="_emailPwd" value="" />
<add key="_enableSSL" value="false" />
<!--Gestione mail assengazione commessa a CC-->
<!--Gestione mail assegnazione commessa a CC-->
<add key="baseUrl" value="http://iis01/PROJ-ETS" />
<add key="destCcProjEmail" value="samuele@steamware.net" />
<add key="emailCC_subject" value="Notifica assegnazione Commessa Proj-ETS" />
@@ -120,11 +130,11 @@
<add name="Bazaar" type="System.Web.XmlSiteMapProvider" siteMapFile="Bazaar.sitemap" />
</providers>
</siteMap>
</system.web>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
Binary file not shown.
+2 -2
View File
@@ -5,7 +5,7 @@
using System.Reflection;
[assembly: AssemblyVersion("2.2.1.163")]
[assembly: AssemblyFileVersion("2.2.1.163")]
[assembly: AssemblyVersion("2.2.3.164")]
[assembly: AssemblyFileVersion("2.2.3.164")]
[assembly: AssemblyCopyright("Steamware © 2013-2016")]
[assembly: AssemblyCompany("Steamware")]
+2 -2
View File
@@ -6,8 +6,8 @@
using System.Reflection;
[assembly: AssemblyVersion("2.2.1.<#= this.RevisionNumber #>")]
[assembly: AssemblyFileVersion("2.2.1.<#= this.RevisionNumber #>")]
[assembly: AssemblyVersion("2.2.3.<#= this.RevisionNumber #>")]
[assembly: AssemblyFileVersion("2.2.3.<#= this.RevisionNumber #>")]
[assembly: AssemblyCopyright("Steamware © 2013-<#= DateTime.Now.Year #>")]
[assembly: AssemblyCompany("Steamware")]
<#+
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.