Merge branch 'develop'
This commit is contained in:
Vendored
+1
-1
@@ -11,7 +11,7 @@ pipeline {
|
||||
steps {
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=261']) {
|
||||
withEnv(['NEXT_BUILD_NUMBER=262']) {
|
||||
// env.versionNumber = VersionNumber(versionNumberString : '1.8.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
|
||||
env.versionNumber = VersionNumber(versionNumberString : '1.8.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
env.APP_NAME = 'CMS-SC'
|
||||
|
||||
@@ -7,334 +7,339 @@
|
||||
<%@ Register Src="~/WebUserControls/mod_noteItem.ascx" TagPrefix="uc1" TagName="mod_noteItem" %>
|
||||
|
||||
<div class="filtro_1">
|
||||
<div class="row ">
|
||||
<div class="col-12 fontCond">
|
||||
<div class="d-flex">
|
||||
<div class="p-2">
|
||||
<uc1:mod_periodoAnalisi runat="server" ID="mod_periodoAnalisi" />
|
||||
<div class="row ">
|
||||
<div class="col-12 fontCond">
|
||||
<div class="d-flex">
|
||||
<div class="p-2">
|
||||
<uc1:mod_periodoAnalisi runat="server" ID="mod_periodoAnalisi" />
|
||||
</div>
|
||||
<div class="p-2">
|
||||
<uc1:mod_filtro ID="mf_tipoFiltro" runat="server" changeCheckEnabled="false" changeCheckVisible="false" />
|
||||
<asp:ObjectDataSource ID="odsTipoFiltro" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByUrl" TypeName="XPS_data.DS_utilityTableAdapters.v_selFiltriTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="lblPag" DefaultValue="*" Name="url" PropertyName="Text" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:Label runat="server" ID="lblPag" Visible="false" />
|
||||
</div>
|
||||
<div class="p-2">
|
||||
<asp:CheckBox runat="server" ID="chkUrgenti" Checked="false" Text="Solo URGENTI" AutoPostBack="true" />
|
||||
</div>
|
||||
<div class="p-2">
|
||||
<asp:CheckBox runat="server" ID="chkConfermati" Checked="false" Text="Solo CONFERMATI" AutoPostBack="true" />
|
||||
</div>
|
||||
<div class="p-2">
|
||||
<asp:CheckBox runat="server" ID="chkNote" Checked="false" Text="Solo CON Note" AutoPostBack="true" />
|
||||
</div>
|
||||
<div class="p-2">
|
||||
<uc1:mod_filtro ID="mf_ciclo" runat="server" descrFiltro="CICLO" />
|
||||
</div>
|
||||
<div class="p-2">
|
||||
<uc1:mod_filtro ID="mf_clienti" runat="server" descrFiltro="CLIENTE" dlWidth="20em" />
|
||||
<asp:ObjectDataSource ID="odsFiltroClienti" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="GetData" TypeName="XPS_data.DS_utilityTableAdapters.v_selClientiTableAdapter"></asp:ObjectDataSource>
|
||||
</div>
|
||||
<div class="p-2">
|
||||
<asp:LinkButton ID="btnShowNew" runat="server" OnClick="btnShowNew_Click" CssClass="styleBtnComposito" CausesValidation="false">
|
||||
<asp:Label ID="lblReset" runat="server" Text="..." />
|
||||
</asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="p-2">
|
||||
<uc1:mod_filtro ID="mf_tipoFiltro" runat="server" changeCheckEnabled="false" changeCheckVisible="false" />
|
||||
<asp:ObjectDataSource ID="odsTipoFiltro" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByUrl" TypeName="XPS_data.DS_utilityTableAdapters.v_selFiltriTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="lblPag" DefaultValue="*" Name="url" PropertyName="Text" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:Label runat="server" ID="lblPag" Visible="false" />
|
||||
<div class="col-12">
|
||||
<asp:Panel ID="pnlNew" runat="server" Visible="false" BackColor="#CCCCFF">
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Label ID="lblCli" runat="server" />
|
||||
</td>
|
||||
<td colspan="3">
|
||||
<uc1:mod_filtro ID="mf_cliNew" runat="server" changeCheckEnabled="false" changeCheckVisible="false" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="lblCicloEqua" runat="server" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:DropDownList runat="server" ID="ddlCiclo" DataSourceID="odsValLav" DataTextField="label" DataValueField="value">
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsValLav" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="GetData" TypeName="XPS_data.DS_utilityTableAdapters.v_selAnagLavTableAdapter"></asp:ObjectDataSource>
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="lblDescr" runat="server" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="txtDescr" runat="server"></asp:TextBox><asp:RequiredFieldValidator ID="rfvDescr" runat="server" ErrorMessage="!!!" ControlToValidate="txtDescr" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Label ID="lblNumDDT" runat="server" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="txtDDT" runat="server"></asp:TextBox><asp:RequiredFieldValidator ID="rfvDDT" runat="server" ErrorMessage="!!!" ControlToValidate="txtDDT" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="lblDataDDT" runat="server" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="txtDataDDT" runat="server"></asp:TextBox><asp:RequiredFieldValidator ID="rfvDataDDT" runat="server" ErrorMessage="!!!" ControlToValidate="txtDataDDT" />
|
||||
<asp:CalendarExtender ID="CalendarExtender1" runat="server" FirstDayOfWeek="Monday" TargetControlID="txtDataDDT" Format="dd/MM/yyyy"></asp:CalendarExtender>
|
||||
</td>
|
||||
<td colspan="2">
|
||||
<asp:Label ID="lblEmailNotifica" runat="server" />
|
||||
<asp:CheckBox runat="server" ID="chkReqEmail" Checked="false" />
|
||||
</td>
|
||||
<td colspan="2" align="right">
|
||||
<asp:LinkButton ID="btnNewComm" runat="server" OnClick="btnNewComm_Click" CssClass="styleBtnComposito" CausesValidation="true"></asp:LinkButton><asp:Label ID="Label2" runat="server" Text="..." />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</asp:Panel>
|
||||
</div>
|
||||
<div class="p-2">
|
||||
<asp:CheckBox runat="server" ID="chkUrgenti" Checked="false" Text="Solo URGENTI" AutoPostBack="true" />
|
||||
</div>
|
||||
<div class="p-2">
|
||||
<asp:CheckBox runat="server" ID="chkConfermati" Checked="false" Text="Solo CONFERMATI" AutoPostBack="true" />
|
||||
</div>
|
||||
<div class="p-2">
|
||||
<asp:CheckBox runat="server" ID="chkNote" Checked="false" Text="Solo CON Note" AutoPostBack="true" />
|
||||
</div>
|
||||
<div class="p-2">
|
||||
<uc1:mod_filtro ID="mf_ciclo" runat="server" descrFiltro="CICLO" />
|
||||
</div>
|
||||
<div class="p-2">
|
||||
<uc1:mod_filtro ID="mf_clienti" runat="server" descrFiltro="CLIENTE" dlWidth="20em" />
|
||||
<asp:ObjectDataSource ID="odsFiltroClienti" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="GetData" TypeName="XPS_data.DS_utilityTableAdapters.v_selClientiTableAdapter"></asp:ObjectDataSource>
|
||||
</div>
|
||||
<div class="p-2">
|
||||
<asp:LinkButton ID="btnShowNew" runat="server" OnClick="btnShowNew_Click" CssClass="styleBtnComposito" CausesValidation="false">
|
||||
<asp:Label ID="lblReset" runat="server" Text="..." />
|
||||
</asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<asp:Panel ID="pnlNew" runat="server" Visible="false" BackColor="#CCCCFF">
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Label ID="lblCli" runat="server" />
|
||||
</td>
|
||||
<td colspan="3">
|
||||
<uc1:mod_filtro ID="mf_cliNew" runat="server" changeCheckEnabled="false" changeCheckVisible="false" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="lblCicloEqua" runat="server" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:DropDownList runat="server" ID="ddlCiclo" DataSourceID="odsValLav" DataTextField="label" DataValueField="value">
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsValLav" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="GetData" TypeName="XPS_data.DS_utilityTableAdapters.v_selAnagLavTableAdapter"></asp:ObjectDataSource>
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="lblDescr" runat="server" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="txtDescr" runat="server"></asp:TextBox><asp:RequiredFieldValidator ID="rfvDescr" runat="server" ErrorMessage="!!!" ControlToValidate="txtDescr" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Label ID="lblNumDDT" runat="server" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="txtDDT" runat="server"></asp:TextBox><asp:RequiredFieldValidator ID="rfvDDT" runat="server" ErrorMessage="!!!" ControlToValidate="txtDDT" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label ID="lblDataDDT" runat="server" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="txtDataDDT" runat="server"></asp:TextBox><asp:RequiredFieldValidator ID="rfvDataDDT" runat="server" ErrorMessage="!!!" ControlToValidate="txtDataDDT" />
|
||||
<asp:CalendarExtender ID="CalendarExtender1" runat="server" FirstDayOfWeek="Monday" TargetControlID="txtDataDDT" Format="dd/MM/yyyy"></asp:CalendarExtender>
|
||||
</td>
|
||||
<td colspan="2">
|
||||
<asp:Label ID="lblEmailNotifica" runat="server" />
|
||||
<asp:CheckBox runat="server" ID="chkReqEmail" Checked="false" />
|
||||
</td>
|
||||
<td colspan="2" align="right">
|
||||
<asp:LinkButton ID="btnNewComm" runat="server" OnClick="btnNewComm_Click" CssClass="styleBtnComposito" CausesValidation="true"></asp:LinkButton><asp:Label ID="Label2" runat="server" Text="..." />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</asp:Panel>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div id="divDet" runat="server" class="col-sm-0">
|
||||
<asp:Panel ID="pnlSetDueDate" Visible="false" runat="server">
|
||||
<div class="card">
|
||||
<div class="card-header text-center">
|
||||
<b>
|
||||
<asp:Label runat="server" ID="lblDataPrev" Text="..." /></b>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-6 pr-0 text-center">
|
||||
<asp:TextBox ID="txtDueDate" runat="server" Text="..." CssClass="form-control form-control-sm" />
|
||||
<asp:RequiredFieldValidator ID="rfvDueDate" runat="server" ErrorMessage="!!!" ControlToValidate="txtDueDate" Display="Dynamic" />
|
||||
<asp:CalendarExtender ID="ce_DueDate" runat="server" FirstDayOfWeek="Monday" TargetControlID="txtDueDate" Format="dd/MM/yy"></asp:CalendarExtender>
|
||||
</div>
|
||||
<div class="col-6 text-center">
|
||||
<asp:DropDownList runat="server" ID="ddlOra" CssClass="form-control form-control-sm">
|
||||
<asp:ListItem Value="9">09:00</asp:ListItem>
|
||||
<asp:ListItem Value="14">14:00</asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row text-center">
|
||||
<div class="col-6 pr-0 text-center">
|
||||
<asp:TextBox runat="server" ID="txtQuota" CssClass="form-control form-control-sm" ToolTip="Riempimento cesta / carico"></asp:TextBox>
|
||||
</div>
|
||||
<div class="col-6 text-center text-success" style="font-size: 1.5em;">
|
||||
<small>
|
||||
<asp:Label runat="server" ID="lblCarico">X</asp:Label></small><i class="fa fa-th-large"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row text-center">
|
||||
<div class="col-6">
|
||||
<asp:Button ID="btnOk" runat="server" OnClick="btnOk_Click" CssClass="btn btn-sm btn-success form-control" />
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<asp:Button ID="btnCancel" runat="server" OnClick="btnCancel_Click" CssClass="btn btn-sm btn-warning form-control" />
|
||||
</div>
|
||||
<asp:ConfirmButtonExtender ID="cbeOkDueDate" runat="server" ConfirmText="..." TargetControlID="btnOk"></asp:ConfirmButtonExtender>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
<asp:Panel ID="pnlCambiaStato" Visible="false" runat="server">
|
||||
<div class="notaMargine">
|
||||
<div style="text-align: center;">
|
||||
<asp:Label runat="server" ID="lblImpostaStato" Text="..." /><br />
|
||||
<asp:DropDownList runat="server" ID="ddlStato2Set" DataSourceID="odsStati" DataTextField="label" DataValueField="value" CssClass="btn btn-light my-2">
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsStati" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByPiorita" TypeName="XPS_data.DS_utilityTableAdapters.v_selStatiTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:Parameter DefaultValue="0" Name="PrioritaStatoMin" Type="Int32" />
|
||||
<asp:Parameter DefaultValue="0" Name="PrioritaStatoMax" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
<div class="row text-center">
|
||||
<div class="col-6">
|
||||
<asp:Button ID="btnOkStati" runat="server" OnClick="btnOkStati_Click" CssClass="btn btn-sm btn-success form-control" />
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<asp:Button ID="btnCancelStati" runat="server" OnClick="btnCancelStati_Click" CssClass="btn btn-sm btn-warning form-control" />
|
||||
</div>
|
||||
<asp:ConfirmButtonExtender ID="cbeOkStati" runat="server" ConfirmText="..." TargetControlID="btnOkStati"></asp:ConfirmButtonExtender>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
<asp:Panel ID="pnlLogStati" Visible="false" runat="server">
|
||||
<uc2:mod_logStati ID="mod_logStati1" runat="server" />
|
||||
</asp:Panel>
|
||||
<uc1:mod_impegniSched runat="server" ID="mod_impegniSched" Visible="false" />
|
||||
<uc1:mod_noteItem runat="server" ID="mod_noteItem" Visible="false" enableClose="false" />
|
||||
</div>
|
||||
<div id="divMain" runat="server" class="col-sm-12">
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataSourceID="ods" DataKeyNames="Cod" AllowPaging="True" AllowSorting="True" Width="100%" OnSelectedIndexChanged="grView_SelectedIndexChanged" OnDataBound="grView_DataBound" OnRowUpdating="grView_RowUpdating" OnPageIndexChanged="grView_PageIndexChanged" OnSorted="grView_Sorted" CssClass="table table-striped table-sm fontCond">
|
||||
<EditRowStyle CssClass="ctrEditRowStyle" />
|
||||
<SelectedRowStyle CssClass="ctrSelRowStyle" />
|
||||
<FooterStyle CssClass="ctrFooter" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<EmptyDataRowStyle CssClass="ctrRowStyle" />
|
||||
<EmptyDataTemplate>
|
||||
<asp:Label runat="server" ID="lblNoRecord" Text='<%# traduci("noRecord") %>' />
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
<asp:LinkButton ID="btnReset" runat="server" OnClick="btnReset_Click" CssClass="styleBtnComposito" Visible="false">
|
||||
<i class="fa fa-refresh fa-2x" aria-hidden="true"></i>
|
||||
<asp:Label ID="lblReset" runat="server" Text='<%# traduci("Reset") %>' />
|
||||
</asp:LinkButton>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<div class="text-left text-nowrap">
|
||||
<asp:LinkButton runat="server" ID="lbSelect" CssClass="btn btn-sm btn-outline-secondary" CausesValidation="False" CommandName="Select" ToolTip='<%# traduci("Select") %>'><i class="fa fa-search fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbtAddNote" CssClass="btn btn-sm btn-outline-info" CausesValidation="False" CommandName="Select" OnClick="lbtAddNote_Click" ToolTip='<%# traduci("AddNote") %>'><i class="fa fa-commenting fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbSetStato" CssClass="btn btn-sm btn-outline-info" CausesValidation="False" CommandName="Select" OnClick="lbSetStato_Click" ToolTip='<%# traduci("setStatoObjXps")%>' Visible='<%# isSetStatoVisible(Eval("CodStato")) %>'><i class="fa fa-magic fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbEdit" CssClass="btn btn-sm btn-outline-dark" CausesValidation="False" CommandName="Edit" ToolTip='<%# traduci("Edit") %>' Visible='<%# isEditVisible(Eval("CodStato")) %>'><i class="fa fa-pencil fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbAccetta" CssClass="btn btn-sm btn-outline-success" CausesValidation="False" CommandName="Update" OnClick="lbAccetta_Click" ToolTip='<%# traduci("AccettaObjXps")%>' Visible='<%# isAccettVisible(Eval("CodStato")) %>'><i class="fa fa-check fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:ConfirmButtonExtender ID="cbeAccetta" runat="server" ConfirmText='<%# traduci("confermaAccettaObjXps")%>' TargetControlID="lbAccetta"></asp:ConfirmButtonExtender>
|
||||
<asp:LinkButton runat="server" ID="lbSchedulaTutto" CssClass="btn btn-sm btn-outline-success" CausesValidation="False" CommandName="Select" OnClick="lbSchedulaTutto_Click" ToolTip='<%# traduci("SchedulaObjXps")%>' Visible='<%# isSchedulaVisible(Eval("CodStato")) %>'><i class="fa fa-calendar fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbFattura" CssClass="btn btn-sm btn-outline-danger" CausesValidation="False" CommandName="Update" OnClick="lbFattura_Click" ToolTip='<%# traduci("FatturaObjXps")%>' Visible='<%# isFatturaVisible(Eval("CodStato")) %>'><i class="fa fa-file-text-o fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:ConfirmButtonExtender ID="cbeSchedula" runat="server" ConfirmText='<%# traduci("confermaFatturaObjXps")%>' TargetControlID="lbFattura"></asp:ConfirmButtonExtender>
|
||||
<asp:LinkButton runat="server" ID="lbtRemPriority" CssClass="btn btn-sm btn-outline-success" CausesValidation="False" CommandName="Update" OnClick="lbtRemPriority_Click" ToolTip='<%# traduci("RemPriority") %>' Visible='<%# !(bool)Eval("Confirmed") && (bool)Eval("Priority") %>'><i class="fa fa-exclamation-circle fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:ConfirmButtonExtender ID="cbeRemPrior" runat="server" ConfirmText='<%# traduci("confermaRichiestaRemPrior")%>' TargetControlID="lbtRemPriority"></asp:ConfirmButtonExtender>
|
||||
<asp:LinkButton runat="server" ID="lbtSetPriority" CssClass="btn btn-sm btn-outline-secondary" CausesValidation="False" CommandName="Update" OnClick="lbtSetPriority_Click" ToolTip='<%# traduci("SetPriority") %>' Visible='<%# !(bool)Eval("Confirmed") && !(bool)Eval("Priority") %>'><i class="fa fa-exclamation-circle fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:ConfirmButtonExtender ID="cbeSetPrior" runat="server" ConfirmText='<%# traduci("confermaRichiestaPrior")%>' TargetControlID="lbtSetPriority"></asp:ConfirmButtonExtender>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbUpdate" CssClass="btn btn-sm btn-outline-success" CausesValidation="False" CommandName="Update" ToolTip='<%# traduci("Update") %>'><i class="fa fa-check fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbCancel" CssClass="btn btn-sm btn-outline-danger" CausesValidation="False" CommandName="Cancel" ToolTip='<%# traduci("Cancel") %>'><i class="fa fa-ban fa-2x" aria-hidden="true"></i></asp:LinkButton>
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Cliente" SortExpression="Cliente">
|
||||
<EditItemTemplate>
|
||||
<asp:DropDownList runat="server" ID="ddlCodCliente" DataSourceID="odsFiltroClienti" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("CodCliente") %>' Width="20em" />
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblCodCliente" runat="server" Text='<%# Eval("Cliente") %>' CssClass='<%# checkCss(Eval("Priority"),Eval("Confirmed")) %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="email" SortExpression="emailReq" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton CssClass="btn btn-sm btn-outline-info" runat="server" Visible='<%# !Convert.ToBoolean(Eval("emailReq")) %>' ID="lbAddEmailReq" CausesValidation="False" CommandArgument='<%# Eval("Cod")%>' ToolTip='<%# traduci("addEmailReq") %>' OnClick="lbAddEmailReq_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("confermaAddEmail") %>'><i class="fa fa-plus fa-2x" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton CssClass="btn btn-sm btn-outline-danger" runat="server" Visible='<%# Convert.ToBoolean(Eval("emailReq")) %>' ID="lbRemEmailReq" CausesValidation="False" CommandArgument='<%# Eval("Cod")%>' ToolTip='<%# traduci("remEmailReq") %>' OnClick="lbRemEmailReq_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("confermaRemEmail") %>'><i class="fa fa-2x fa-minus" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton CssClass="btn btn-sm btn-outline-success" runat="server" Visible='<%# Convert.ToBoolean(Eval("emailReq")) && Eval("CodStato").ToString()=="05" %>' ID="lbtSendEmail" CausesValidation="False" CommandArgument='<%# Eval("Cod")%>' ToolTip='<%# traduci("sendEmailToClient") %>' OnClick="lbtSendEmail_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("confermaSendEmail") %>'><i class="fa fa-2x fa-envelope" aria-hidden="true"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="DDT" SortExpression="DDT">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblNumDDT" runat="server" Text='<%# Eval("DDT") %>' ToolTip='<%# Eval("Cod")%>' CssClass='<%# checkCss(Eval("Priority"),Eval("Confirmed")) %>' />
|
||||
<br />
|
||||
<asp:Label ID="lblDataDDT" runat="server" Text='<%# Eval("DataDDT", "{0:dd/MM/yy}") %>' />
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
num:
|
||||
<asp:TextBox ID="txtNumDDT" runat="server" Text='<%# Bind("DDT") %>' Width="5em" />
|
||||
<br />
|
||||
del:
|
||||
<asp:TextBox ID="txtDataDDT" runat="server" Text='<%# Bind("DataDDT", "{0:dd/MM/yy}") %>' Width="6em" />
|
||||
<asp:RequiredFieldValidator ID="rfvDataDDT" runat="server" ErrorMessage="!!!" ControlToValidate="txtDataDDT" />
|
||||
<asp:CalendarExtender ID="CalendarExtender1" runat="server" FirstDayOfWeek="Monday" TargetControlID="txtDataDDT" Format="dd/MM/yyyy"></asp:CalendarExtender>
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Note" SortExpression="Priority">
|
||||
<ItemTemplate>
|
||||
<div class="row text-center">
|
||||
<div class="col-4 pr-0">
|
||||
<asp:Label runat="server" ID="lblPrior" CssClass="text-danger text-center" Visible='<%# Eval("Priority") %>' ToolTip="Urgenza"><i class="fa fa-exclamation-triangle fa-2x" aria-hidden="true"></i></asp:Label>
|
||||
</div>
|
||||
<div class="col-4 px-0">
|
||||
<asp:Label runat="server" ID="lblNote" CssClass="text-warning text-center" Visible='<%# (int)Eval("NumNote") > 0 %>' ToolTip="Note associate"><i class="fa fa-commenting fa-2x" aria-hidden="true"></i></asp:Label>
|
||||
</div>
|
||||
<div class="col-4 pl-0">
|
||||
<asp:Label runat="server" ID="lblConf" CssClass="text-success text-center" Visible='<%# Eval("Confirmed") %>' ToolTip="Confermato"><i class="fa fa-thumbs-o-up fa-2x" aria-hidden="true"></i></asp:Label>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton CssClass="btn btn-sm btn-outline-dark" runat="server" ID="lbPrintScheda" CausesValidation="False" CommandArgument='<%# Eval("Cod")%>' ToolTip='<%# traduci("stampaBarcode") %>' OnClick="lbPrintScheda_Click"><i class="fa fa-barcode fa-2x" aria-hidden="true"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Ciclo" SortExpression="Ciclo">
|
||||
<EditItemTemplate>
|
||||
<asp:DropDownList runat="server" ID="ddlCiclo" DataSourceID="odsValLav" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("Ciclo") %>' />
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblCiclo" runat="server" Text='<%# Eval("Ciclo") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Stato" SortExpression="CodStato" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<div class="clearDiv" style="white-space: nowrap; margin: 0 0.2em; min-width: 10em;">
|
||||
<div class="divSx">
|
||||
<asp:LinkButton CssClass="btn btn-sm btn-outline-secondary" runat="server" ID="lbMostrLogStati" CausesValidation="False" CommandName="Select" OnClick="lbMostraLogStati_Click" ToolTip='<%# traduci("MostraLogStati")%>'><i class="fa fa-history fa-2x" aria-hidden="true"></i></asp:LinkButton>
|
||||
<%--<asp:LinkButton runat="server" ID="lbtSetProntoSped" CssClass="btn btn-sm btn-outline-success" CausesValidation="False" CommandName="Update" OnClick="lbtSetProntoSped_Click" ToolTip='<%# traduci("SetProntoSped") %>' Visible='<%# Eval("CodStato").ToString()=="04" %>'><i class="fa fa-check-circle fa-2x" aria-hidden="true"></i></asp:LinkButton>--%>
|
||||
<asp:LinkButton runat="server" ID="lbtSetSpedito" CssClass="btn btn-sm btn-outline-success" CausesValidation="False" CommandName="Update" OnClick="lbtSetSpedito_Click" ToolTip='<%# traduci("SetSpedito") %>' Visible='<%# Eval("CodStato").ToString()=="05" %>'><i class="fa fa-check-circle fa-2x" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:ConfirmButtonExtender ID="cbeSetSpedito" runat="server" ConfirmText='<%# traduci("confermaSetSpedito")%>' TargetControlID="lbtSetSpedito"></asp:ConfirmButtonExtender>
|
||||
</div>
|
||||
<div class="divDx">
|
||||
<asp:Image runat="server" ID="imgSemaforo" Visible='<%# isSemaforoVisibile(Eval("minCodStato"),Eval("maxCodStato")) %>' ImageUrl='<%# immagineDaStato(Eval("minCodStato"),Eval("maxCodStato")) %>' ToolTip='<%# toolTipDaStato(Eval("minCodStato"),Eval("maxCodStato")) %>' />
|
||||
</div>
|
||||
<div style="padding: 0 0.1em;">
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# Eval("Stato") %>' />
|
||||
<div style="font-size: smaller; color: #57aa57; white-space: nowrap;">
|
||||
<asp:Label ID="Label3" runat="server" Text='<%# Eval("maxStato", "--> {0}") %>' />
|
||||
<div id="divDet" runat="server" class="col-sm-0">
|
||||
<asp:Panel ID="pnlSetDueDate" Visible="false" runat="server">
|
||||
<div class="card">
|
||||
<div class="card-header text-center">
|
||||
<b>
|
||||
<asp:Label runat="server" ID="lblDataPrev" Text="..." /></b>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-6 pr-0 text-center">
|
||||
<asp:TextBox ID="txtDueDate" runat="server" Text="..." CssClass="form-control form-control-sm" />
|
||||
<asp:RequiredFieldValidator ID="rfvDueDate" runat="server" ErrorMessage="!!!" ControlToValidate="txtDueDate" Display="Dynamic" />
|
||||
<asp:CalendarExtender ID="ce_DueDate" runat="server" FirstDayOfWeek="Monday" TargetControlID="txtDueDate" Format="dd/MM/yy"></asp:CalendarExtender>
|
||||
</div>
|
||||
<div class="col-6 text-center">
|
||||
<asp:DropDownList runat="server" ID="ddlOra" CssClass="form-control form-control-sm">
|
||||
<asp:ListItem Value="9">09:00</asp:ListItem>
|
||||
<asp:ListItem Value="14">14:00</asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row text-center">
|
||||
<div class="col-6 pr-0 text-center">
|
||||
<asp:TextBox runat="server" ID="txtQuota" CssClass="form-control form-control-sm" ToolTip="Riempimento cesta / carico"></asp:TextBox>
|
||||
</div>
|
||||
<div class="col-6 text-center text-success" style="font-size: 1.5em;">
|
||||
<small>
|
||||
<asp:Label runat="server" ID="lblCarico">X</asp:Label></small><i class="fa fa-th-large"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row text-center">
|
||||
<div class="col-6">
|
||||
<asp:Button ID="btnOk" runat="server" OnClick="btnOk_Click" CssClass="btn btn-sm btn-success form-control" />
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<asp:Button ID="btnCancel" runat="server" OnClick="btnCancel_Click" CssClass="btn btn-sm btn-warning form-control" />
|
||||
</div>
|
||||
<asp:ConfirmButtonExtender ID="cbeOkDueDate" runat="server" ConfirmText="..." TargetControlID="btnOk"></asp:ConfirmButtonExtender>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Center"></ItemStyle>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="descrizione" SortExpression="descrizione">
|
||||
<EditItemTemplate>
|
||||
<asp:TextBox ID="lblDescrizione" runat="server" Text='<%# Bind("descrizione") %>' TextMode="MultiLine" Width="15em" Height="60px" />
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="txtDescrizione" runat="server" Text='<%# Eval("descrizione") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="Peso" HeaderText="Peso" SortExpression="Peso" ReadOnly="true" DataFormatString="{0:0.##} kg" ItemStyle-HorizontalAlign="Right" />
|
||||
<asp:BoundField DataField="Righe" HeaderText="Righe" SortExpression="Righe" ReadOnly="true" ItemStyle-HorizontalAlign="Center" />
|
||||
<asp:BoundField DataField="Qta" HeaderText="Qta" SortExpression="Qta" ReadOnly="true" ItemStyle-HorizontalAlign="Center" />
|
||||
<asp:BoundField DataField="Colli" HeaderText="Colli" SortExpression="Colli" ReadOnly="true" ItemStyle-HorizontalAlign="Center" />
|
||||
<asp:BoundField DataField="DataArrivo" HeaderText="DataArrivo" SortExpression="DataArrivo" ReadOnly="true" DataFormatString="{0:dd/MM/yy HH:mm}" ItemStyle-HorizontalAlign="Right" />
|
||||
<asp:BoundField DataField="DataPrevista" HeaderText="DataPrevista" SortExpression="DataPrevista" ReadOnly="true" DataFormatString="{0:dd/MM/yy HH:mm}" ItemStyle-HorizontalAlign="Right" />
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbDelete" CssClass="btn btn-sm btn-danger" CausesValidation="False" CommandName="Delete" ToolTip='<%# traduci("Delete") %>' Visible='<%# userCanDel(Eval("CodStato")) %>'><i class="fa fa-trash fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:ConfirmButtonExtender ID="cbeDelete" runat="server" ConfirmText='<%# traduci("confermaDel")%>' TargetControlID="lbDelete"></asp:ConfirmButtonExtender>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByCodFiltro" TypeName="XPS_data.DS_applicazioneTableAdapters.v_commesseTableAdapter" DeleteMethod="sp_delObj" FilterExpression=" ( Cliente LIKE '%{0}%' OR CodCliente LIKE '%{0}%' OR DDT LIKE '%{0}%' OR Descrizione LIKE '%{0}%' ) AND (Priority = {1} OR NOT {1}) AND (Confirmed = {2} OR NOT {2}) AND ((NumNote >= {3}) OR NOT {3}) " UpdateMethod="updateMag">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_Cod" Type="String" />
|
||||
</DeleteParameters>
|
||||
<FilterParameters>
|
||||
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="valoreCercato" />
|
||||
<asp:ControlParameter ControlID="chkUrgenti" PropertyName="checked" DefaultValue="0" />
|
||||
<asp:ControlParameter ControlID="chkConfermati" PropertyName="checked" DefaultValue="0" />
|
||||
<asp:ControlParameter ControlID="chkNote" PropertyName="checked" DefaultValue="0" />
|
||||
</FilterParameters>
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="mf_tipoFiltro" DefaultValue="*" Name="CodFiltro" PropertyName="Valore" Type="String" />
|
||||
<asp:SessionParameter SessionField="_inizio" DefaultValue="" Name="DataFiltro" Type="DateTime" />
|
||||
<asp:SessionParameter SessionField="_fine" DefaultValue="" Name="DataFiltroTo" Type="DateTime" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="Original_Cod" Type="String" />
|
||||
<asp:Parameter Name="CodCliente" Type="String" />
|
||||
<asp:Parameter Name="Ciclo" Type="String" />
|
||||
<asp:Parameter Name="DataDDT" Type="DateTime" />
|
||||
<asp:Parameter Name="DDT" Type="String" />
|
||||
<asp:SessionParameter Name="UserName" Type="String" SessionField="USER_NAME" />
|
||||
<asp:Parameter Name="descrizione" Type="String" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<div style="clear: both;">
|
||||
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" /><br />
|
||||
</asp:Panel>
|
||||
<asp:Panel ID="pnlCambiaStato" Visible="false" runat="server">
|
||||
<div class="notaMargine">
|
||||
<div style="text-align: center;">
|
||||
<asp:Label runat="server" ID="lblImpostaStato" Text="..." /><br />
|
||||
<asp:DropDownList runat="server" ID="ddlStato2Set" DataSourceID="odsStati" DataTextField="label" DataValueField="value" CssClass="btn btn-light my-2">
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsStati" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByPiorita" TypeName="XPS_data.DS_utilityTableAdapters.v_selStatiTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:Parameter DefaultValue="0" Name="PrioritaStatoMin" Type="Int32" />
|
||||
<asp:Parameter DefaultValue="0" Name="PrioritaStatoMax" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
<div class="row text-center">
|
||||
<div class="col-6">
|
||||
<asp:Button ID="btnOkStati" runat="server" OnClick="btnOkStati_Click" CssClass="btn btn-sm btn-success form-control" />
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<asp:Button ID="btnCancelStati" runat="server" OnClick="btnCancelStati_Click" CssClass="btn btn-sm btn-warning form-control" />
|
||||
</div>
|
||||
<asp:ConfirmButtonExtender ID="cbeOkStati" runat="server" ConfirmText="..." TargetControlID="btnOkStati"></asp:ConfirmButtonExtender>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
<asp:Panel ID="pnlLogStati" Visible="false" runat="server">
|
||||
<uc2:mod_logStati ID="mod_logStati1" runat="server" />
|
||||
</asp:Panel>
|
||||
<uc1:mod_impegniSched runat="server" ID="mod_impegniSched" Visible="false" />
|
||||
<uc1:mod_noteItem runat="server" ID="mod_noteItem" Visible="false" enableClose="false" />
|
||||
</div>
|
||||
<asp:Label ID="lblWarning" runat="server" Visible="false" CssClass="erroreMid" />
|
||||
</div>
|
||||
</div>
|
||||
<div id="divMain" runat="server" class="col-sm-12">
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataSourceID="ods" DataKeyNames="Cod" AllowPaging="True" AllowSorting="True" Width="100%" OnSelectedIndexChanged="grView_SelectedIndexChanged" OnDataBound="grView_DataBound" OnRowUpdating="grView_RowUpdating" OnPageIndexChanged="grView_PageIndexChanged" OnSorted="grView_Sorted" CssClass="table table-striped table-sm fontCond">
|
||||
<EditRowStyle CssClass="ctrEditRowStyle" />
|
||||
<SelectedRowStyle CssClass="ctrSelRowStyle" />
|
||||
<FooterStyle CssClass="ctrFooter" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<EmptyDataRowStyle CssClass="ctrRowStyle" />
|
||||
<EmptyDataTemplate>
|
||||
<asp:Label runat="server" ID="lblNoRecord" Text='<%# traduci("noRecord") %>' />
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
<asp:LinkButton ID="btnReset" runat="server" OnClick="btnReset_Click" CssClass="styleBtnComposito" Visible="false">
|
||||
<i class="fa fa-refresh fa-2x" aria-hidden="true"></i>
|
||||
<asp:Label ID="lblReset" runat="server" Text='<%# traduci("Reset") %>' />
|
||||
</asp:LinkButton>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<div class="text-left text-nowrap">
|
||||
<asp:LinkButton runat="server" ID="lbSelect" CssClass="btn btn-sm btn-outline-secondary" CausesValidation="False" CommandName="Select" ToolTip='<%# traduci("Select") %>'><i class="fa fa-search fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbtAddNote" CssClass="btn btn-sm btn-outline-info" CausesValidation="False" CommandName="Select" OnClick="lbtAddNote_Click" ToolTip='<%# traduci("AddNote") %>'><i class="fa fa-commenting fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbSetStato" CssClass="btn btn-sm btn-outline-info" CausesValidation="False" CommandName="Select" OnClick="lbSetStato_Click" ToolTip='<%# traduci("setStatoObjXps")%>' Visible='<%# isSetStatoVisible(Eval("CodStato")) %>'><i class="fa fa-magic fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbEdit" CssClass="btn btn-sm btn-outline-dark" CausesValidation="False" CommandName="Edit" ToolTip='<%# traduci("Edit") %>' Visible='<%# isEditVisible(Eval("CodStato")) %>'><i class="fa fa-pencil fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbAccetta" CssClass="btn btn-sm btn-outline-success" CausesValidation="False" CommandName="Update" OnClick="lbAccetta_Click" ToolTip='<%# traduci("AccettaObjXps")%>' Visible='<%# isAccettVisible(Eval("CodStato")) %>'><i class="fa fa-check fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:ConfirmButtonExtender ID="cbeAccetta" runat="server" ConfirmText='<%# traduci("confermaAccettaObjXps")%>' TargetControlID="lbAccetta"></asp:ConfirmButtonExtender>
|
||||
<asp:LinkButton runat="server" ID="lbSchedulaTutto" CssClass="btn btn-sm btn-outline-success" CausesValidation="False" CommandName="Select" OnClick="lbSchedulaTutto_Click" ToolTip='<%# traduci("SchedulaObjXps")%>' Visible='<%# isSchedulaVisible(Eval("CodStato")) %>'><i class="fa fa-calendar fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbFattura" CssClass="btn btn-sm btn-outline-danger" CausesValidation="False" CommandName="Update" OnClick="lbFattura_Click" ToolTip='<%# traduci("FatturaObjXps")%>' Visible='<%# isFatturaVisible(Eval("CodStato")) %>'><i class="fa fa-file-text-o fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:ConfirmButtonExtender ID="cbeSchedula" runat="server" ConfirmText='<%# traduci("confermaFatturaObjXps")%>' TargetControlID="lbFattura"></asp:ConfirmButtonExtender>
|
||||
<asp:LinkButton runat="server" ID="lbtRemPriority" CssClass="btn btn-sm btn-outline-success" CausesValidation="False" CommandName="Update" OnClick="lbtRemPriority_Click" ToolTip='<%# traduci("RemPriority") %>' Visible='<%# !(bool)Eval("Confirmed") && (bool)Eval("Priority") %>'><i class="fa fa-exclamation-circle fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:ConfirmButtonExtender ID="cbeRemPrior" runat="server" ConfirmText='<%# traduci("confermaRichiestaRemPrior")%>' TargetControlID="lbtRemPriority"></asp:ConfirmButtonExtender>
|
||||
<asp:LinkButton runat="server" ID="lbtSetPriority" CssClass="btn btn-sm btn-outline-secondary" CausesValidation="False" CommandName="Update" OnClick="lbtSetPriority_Click" ToolTip='<%# traduci("SetPriority") %>' Visible='<%# !(bool)Eval("Confirmed") && !(bool)Eval("Priority") %>'><i class="fa fa-exclamation-circle fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:ConfirmButtonExtender ID="cbeSetPrior" runat="server" ConfirmText='<%# traduci("confermaRichiestaPrior")%>' TargetControlID="lbtSetPriority"></asp:ConfirmButtonExtender>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbUpdate" CssClass="btn btn-sm btn-outline-success" CausesValidation="False" CommandName="Update" ToolTip='<%# traduci("Update") %>'><i class="fa fa-check fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbCancel" CssClass="btn btn-sm btn-outline-danger" CausesValidation="False" CommandName="Cancel" ToolTip='<%# traduci("Cancel") %>'><i class="fa fa-ban fa-2x" aria-hidden="true"></i></asp:LinkButton>
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Cliente" SortExpression="Cliente">
|
||||
<EditItemTemplate>
|
||||
<asp:DropDownList runat="server" ID="ddlCodCliente" DataSourceID="odsFiltroClienti" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("CodCliente") %>' Width="20em" />
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblCodCliente" runat="server" Text='<%# Eval("Cliente") %>' CssClass='<%# checkCss(Eval("Priority"),Eval("Confirmed")) %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="email" SortExpression="emailReq" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton CssClass="btn btn-sm btn-outline-info" runat="server" Visible='<%# !Convert.ToBoolean(Eval("emailReq")) %>' ID="lbAddEmailReq" CausesValidation="False" CommandArgument='<%# Eval("Cod")%>' ToolTip='<%# traduci("addEmailReq") %>' OnClick="lbAddEmailReq_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("confermaAddEmail") %>'><i class="fa fa-plus fa-2x" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton CssClass="btn btn-sm btn-outline-danger" runat="server" Visible='<%# Convert.ToBoolean(Eval("emailReq")) %>' ID="lbRemEmailReq" CausesValidation="False" CommandArgument='<%# Eval("Cod")%>' ToolTip='<%# traduci("remEmailReq") %>' OnClick="lbRemEmailReq_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("confermaRemEmail") %>'><i class="fa fa-2x fa-minus" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton CssClass="btn btn-sm btn-outline-success" runat="server" Visible='<%# Convert.ToBoolean(Eval("emailReq")) && Eval("CodStato").ToString()=="05" %>' ID="lbtSendEmail" CausesValidation="False" CommandArgument='<%# Eval("Cod")%>' ToolTip='<%# traduci("sendEmailToClient") %>' OnClick="lbtSendEmail_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("confermaSendEmail") %>'><i class="fa fa-2x fa-envelope" aria-hidden="true"></i></asp:LinkButton>
|
||||
<div runat="server" class="alert alert-success p-0 my-1" visible='<%# !string.IsNullOrEmpty(Eval("emailSent").ToString()) %>'>
|
||||
<i class="fa fa-envelope" aria-hidden="true"></i>
|
||||
<b>
|
||||
<asp:Label ID="lblEmailSent" runat="server" Text='<%# Eval("emailSent","{0:dd/MM/yy}") %>' ToolTip='<%# Eval("emailSent","Email inviata - {0:ddd dd/MM/yy HH:mm:ss}") %>' /></b>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="DDT" SortExpression="DDT">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblNumDDT" runat="server" Text='<%# Eval("DDT") %>' ToolTip='<%# Eval("Cod")%>' CssClass='<%# checkCss(Eval("Priority"),Eval("Confirmed")) %>' />
|
||||
<br />
|
||||
<asp:Label ID="lblDataDDT" runat="server" Text='<%# Eval("DataDDT", "{0:dd/MM/yy}") %>' />
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
num:
|
||||
<asp:TextBox ID="txtNumDDT" runat="server" Text='<%# Bind("DDT") %>' Width="5em" />
|
||||
<br />
|
||||
del:
|
||||
<asp:TextBox ID="txtDataDDT" runat="server" Text='<%# Bind("DataDDT", "{0:dd/MM/yy}") %>' Width="6em" />
|
||||
<asp:RequiredFieldValidator ID="rfvDataDDT" runat="server" ErrorMessage="!!!" ControlToValidate="txtDataDDT" />
|
||||
<asp:CalendarExtender ID="CalendarExtender1" runat="server" FirstDayOfWeek="Monday" TargetControlID="txtDataDDT" Format="dd/MM/yyyy"></asp:CalendarExtender>
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Note" SortExpression="Priority">
|
||||
<ItemTemplate>
|
||||
<div class="row text-center">
|
||||
<div class="col-4 pr-0">
|
||||
<asp:Label runat="server" ID="lblPrior" CssClass="text-danger text-center" Visible='<%# Eval("Priority") %>' ToolTip="Urgenza"><i class="fa fa-exclamation-triangle fa-2x" aria-hidden="true"></i></asp:Label>
|
||||
</div>
|
||||
<div class="col-4 px-0">
|
||||
<asp:Label runat="server" ID="lblNote" CssClass="text-warning text-center" Visible='<%# (int)Eval("NumNote") > 0 %>' ToolTip="Note associate"><i class="fa fa-commenting fa-2x" aria-hidden="true"></i></asp:Label>
|
||||
</div>
|
||||
<div class="col-4 pl-0">
|
||||
<asp:Label runat="server" ID="lblConf" CssClass="text-success text-center" Visible='<%# Eval("Confirmed") %>' ToolTip="Confermato"><i class="fa fa-thumbs-o-up fa-2x" aria-hidden="true"></i></asp:Label>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton CssClass="btn btn-sm btn-outline-dark" runat="server" ID="lbPrintScheda" CausesValidation="False" CommandArgument='<%# Eval("Cod")%>' ToolTip='<%# traduci("stampaBarcode") %>' OnClick="lbPrintScheda_Click"><i class="fa fa-barcode fa-2x" aria-hidden="true"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Ciclo" SortExpression="Ciclo">
|
||||
<EditItemTemplate>
|
||||
<asp:DropDownList runat="server" ID="ddlCiclo" DataSourceID="odsValLav" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("Ciclo") %>' />
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblCiclo" runat="server" Text='<%# Eval("Ciclo") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Stato" SortExpression="CodStato" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<div class="clearDiv" style="white-space: nowrap; margin: 0 0.2em; min-width: 10em;">
|
||||
<div class="divSx">
|
||||
<asp:LinkButton CssClass="btn btn-sm btn-outline-secondary" runat="server" ID="lbMostrLogStati" CausesValidation="False" CommandName="Select" OnClick="lbMostraLogStati_Click" ToolTip='<%# traduci("MostraLogStati")%>'><i class="fa fa-history fa-2x" aria-hidden="true"></i></asp:LinkButton>
|
||||
<%--<asp:LinkButton runat="server" ID="lbtSetProntoSped" CssClass="btn btn-sm btn-outline-success" CausesValidation="False" CommandName="Update" OnClick="lbtSetProntoSped_Click" ToolTip='<%# traduci("SetProntoSped") %>' Visible='<%# Eval("CodStato").ToString()=="04" %>'><i class="fa fa-check-circle fa-2x" aria-hidden="true"></i></asp:LinkButton>--%>
|
||||
<asp:LinkButton runat="server" ID="lbtSetSpedito" CssClass="btn btn-sm btn-outline-success" CausesValidation="False" CommandName="Update" OnClick="lbtSetSpedito_Click" ToolTip='<%# traduci("SetSpedito") %>' Visible='<%# Eval("CodStato").ToString()=="05" %>'><i class="fa fa-check-circle fa-2x" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:ConfirmButtonExtender ID="cbeSetSpedito" runat="server" ConfirmText='<%# traduci("confermaSetSpedito")%>' TargetControlID="lbtSetSpedito"></asp:ConfirmButtonExtender>
|
||||
</div>
|
||||
<div class="divDx">
|
||||
<asp:Image runat="server" ID="imgSemaforo" Visible='<%# isSemaforoVisibile(Eval("minCodStato"),Eval("maxCodStato")) %>' ImageUrl='<%# immagineDaStato(Eval("minCodStato"),Eval("maxCodStato")) %>' ToolTip='<%# toolTipDaStato(Eval("minCodStato"),Eval("maxCodStato")) %>' />
|
||||
</div>
|
||||
<div style="padding: 0 0.1em;">
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# Eval("Stato") %>' />
|
||||
<div style="font-size: smaller; color: #57aa57; white-space: nowrap;">
|
||||
<asp:Label ID="Label3" runat="server" Text='<%# Eval("maxStato", "--> {0}") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Center"></ItemStyle>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="descrizione" SortExpression="descrizione">
|
||||
<EditItemTemplate>
|
||||
<asp:TextBox ID="lblDescrizione" runat="server" Text='<%# Bind("descrizione") %>' TextMode="MultiLine" Width="15em" Height="60px" />
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="txtDescrizione" runat="server" Text='<%# Eval("descrizione") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="Peso" HeaderText="Peso" SortExpression="Peso" ReadOnly="true" DataFormatString="{0:0.##} kg" ItemStyle-HorizontalAlign="Right" />
|
||||
<asp:BoundField DataField="Righe" HeaderText="Righe" SortExpression="Righe" ReadOnly="true" ItemStyle-HorizontalAlign="Center" />
|
||||
<asp:BoundField DataField="Qta" HeaderText="Qta" SortExpression="Qta" ReadOnly="true" ItemStyle-HorizontalAlign="Center" />
|
||||
<asp:BoundField DataField="Colli" HeaderText="Colli" SortExpression="Colli" ReadOnly="true" ItemStyle-HorizontalAlign="Center" />
|
||||
<asp:BoundField DataField="DataArrivo" HeaderText="DataArrivo" SortExpression="DataArrivo" ReadOnly="true" DataFormatString="{0:dd/MM/yy HH:mm}" ItemStyle-HorizontalAlign="Right" />
|
||||
<asp:BoundField DataField="DataPrevista" HeaderText="DataPrevista" SortExpression="DataPrevista" ReadOnly="true" DataFormatString="{0:dd/MM/yy HH:mm}" ItemStyle-HorizontalAlign="Right" />
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbDelete" CssClass="btn btn-sm btn-danger" CausesValidation="False" CommandName="Delete" ToolTip='<%# traduci("Delete") %>' Visible='<%# userCanDel(Eval("CodStato")) %>'><i class="fa fa-trash fa-2x" aria-hidden="true"></i></asp:LinkButton><asp:ConfirmButtonExtender ID="cbeDelete" runat="server" ConfirmText='<%# traduci("confermaDel")%>' TargetControlID="lbDelete"></asp:ConfirmButtonExtender>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByCodFiltro" TypeName="XPS_data.DS_applicazioneTableAdapters.v_commesseTableAdapter" DeleteMethod="sp_delObj" FilterExpression=" ( Cliente LIKE '%{0}%' OR CodCliente LIKE '%{0}%' OR DDT LIKE '%{0}%' OR Descrizione LIKE '%{0}%' ) AND (Priority = {1} OR NOT {1}) AND (Confirmed = {2} OR NOT {2}) AND ((NumNote >= {3}) OR NOT {3}) " UpdateMethod="updateMag">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_Cod" Type="String" />
|
||||
</DeleteParameters>
|
||||
<FilterParameters>
|
||||
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="valoreCercato" />
|
||||
<asp:ControlParameter ControlID="chkUrgenti" PropertyName="checked" DefaultValue="0" />
|
||||
<asp:ControlParameter ControlID="chkConfermati" PropertyName="checked" DefaultValue="0" />
|
||||
<asp:ControlParameter ControlID="chkNote" PropertyName="checked" DefaultValue="0" />
|
||||
</FilterParameters>
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="mf_tipoFiltro" DefaultValue="*" Name="CodFiltro" PropertyName="Valore" Type="String" />
|
||||
<asp:SessionParameter SessionField="_inizio" DefaultValue="" Name="DataFiltro" Type="DateTime" />
|
||||
<asp:SessionParameter SessionField="_fine" DefaultValue="" Name="DataFiltroTo" Type="DateTime" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="Original_Cod" Type="String" />
|
||||
<asp:Parameter Name="CodCliente" Type="String" />
|
||||
<asp:Parameter Name="Ciclo" Type="String" />
|
||||
<asp:Parameter Name="DataDDT" Type="DateTime" />
|
||||
<asp:Parameter Name="DDT" Type="String" />
|
||||
<asp:SessionParameter Name="UserName" Type="String" SessionField="USER_NAME" />
|
||||
<asp:Parameter Name="descrizione" Type="String" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<div style="clear: both;">
|
||||
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" /><br />
|
||||
</div>
|
||||
<asp:Label ID="lblWarning" runat="server" Visible="false" CssClass="erroreMid" />
|
||||
</div>
|
||||
</div>
|
||||
+251
-249
@@ -1,554 +1,556 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace XPS.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_elencoComm {
|
||||
|
||||
namespace XPS.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class mod_elencoComm
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_periodoAnalisi.
|
||||
/// mod_periodoAnalisi control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::XPS.WebUserControls.mod_periodoAnalisi mod_periodoAnalisi;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mf_tipoFiltro.
|
||||
/// mf_tipoFiltro control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::XPS.WebUserControls.mod_filtro mf_tipoFiltro;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsTipoFiltro.
|
||||
/// odsTipoFiltro control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsTipoFiltro;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblPag.
|
||||
/// lblPag control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblPag;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo chkUrgenti.
|
||||
/// chkUrgenti control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.CheckBox chkUrgenti;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo chkConfermati.
|
||||
/// chkConfermati control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.CheckBox chkConfermati;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo chkNote.
|
||||
/// chkNote control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.CheckBox chkNote;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mf_ciclo.
|
||||
/// mf_ciclo control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::XPS.WebUserControls.mod_filtro mf_ciclo;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mf_clienti.
|
||||
/// mf_clienti control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::XPS.WebUserControls.mod_filtro mf_clienti;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsFiltroClienti.
|
||||
/// odsFiltroClienti control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsFiltroClienti;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo btnShowNew.
|
||||
/// btnShowNew control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton btnShowNew;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblReset.
|
||||
/// lblReset control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblReset;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo pnlNew.
|
||||
/// pnlNew control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Panel pnlNew;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblCli.
|
||||
/// lblCli control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblCli;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mf_cliNew.
|
||||
/// mf_cliNew control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::XPS.WebUserControls.mod_filtro mf_cliNew;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblCicloEqua.
|
||||
/// lblCicloEqua control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblCicloEqua;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ddlCiclo.
|
||||
/// ddlCiclo control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlCiclo;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsValLav.
|
||||
/// odsValLav control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsValLav;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblDescr.
|
||||
/// lblDescr control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblDescr;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtDescr.
|
||||
/// txtDescr control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtDescr;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo rfvDescr.
|
||||
/// rfvDescr control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvDescr;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblNumDDT.
|
||||
/// lblNumDDT control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblNumDDT;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtDDT.
|
||||
/// txtDDT control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtDDT;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo rfvDDT.
|
||||
/// rfvDDT control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvDDT;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblDataDDT.
|
||||
/// lblDataDDT control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblDataDDT;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtDataDDT.
|
||||
/// txtDataDDT control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtDataDDT;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo rfvDataDDT.
|
||||
/// rfvDataDDT control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvDataDDT;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo CalendarExtender1.
|
||||
/// CalendarExtender1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::AjaxControlToolkit.CalendarExtender CalendarExtender1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblEmailNotifica.
|
||||
/// lblEmailNotifica control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblEmailNotifica;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo chkReqEmail.
|
||||
/// chkReqEmail control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.CheckBox chkReqEmail;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo btnNewComm.
|
||||
/// btnNewComm control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton btnNewComm;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo Label2.
|
||||
/// Label2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label2;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divDet.
|
||||
/// divDet control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divDet;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo pnlSetDueDate.
|
||||
/// pnlSetDueDate control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Panel pnlSetDueDate;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblDataPrev.
|
||||
/// lblDataPrev control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblDataPrev;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtDueDate.
|
||||
/// txtDueDate control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtDueDate;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo rfvDueDate.
|
||||
/// rfvDueDate control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvDueDate;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ce_DueDate.
|
||||
/// ce_DueDate control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::AjaxControlToolkit.CalendarExtender ce_DueDate;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ddlOra.
|
||||
/// ddlOra control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlOra;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtQuota.
|
||||
/// txtQuota control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtQuota;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblCarico.
|
||||
/// lblCarico control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblCarico;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo btnOk.
|
||||
/// btnOk control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnOk;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo btnCancel.
|
||||
/// btnCancel control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnCancel;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo cbeOkDueDate.
|
||||
/// cbeOkDueDate control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::AjaxControlToolkit.ConfirmButtonExtender cbeOkDueDate;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo pnlCambiaStato.
|
||||
/// pnlCambiaStato control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Panel pnlCambiaStato;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblImpostaStato.
|
||||
/// lblImpostaStato control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblImpostaStato;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ddlStato2Set.
|
||||
/// ddlStato2Set control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlStato2Set;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsStati.
|
||||
/// odsStati control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsStati;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo btnOkStati.
|
||||
/// btnOkStati control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnOkStati;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo btnCancelStati.
|
||||
/// btnCancelStati control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnCancelStati;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo cbeOkStati.
|
||||
/// cbeOkStati control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::AjaxControlToolkit.ConfirmButtonExtender cbeOkStati;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo pnlLogStati.
|
||||
/// pnlLogStati control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Panel pnlLogStati;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_logStati1.
|
||||
/// mod_logStati1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::XPS.WebUserControls.mod_logStati mod_logStati1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_impegniSched.
|
||||
/// mod_impegniSched control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::XPS.WebUserControls.mod_impegniSched mod_impegniSched;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_noteItem.
|
||||
/// mod_noteItem control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::XPS.WebUserControls.mod_noteItem mod_noteItem;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divMain.
|
||||
/// divMain control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divMain;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo grView.
|
||||
/// grView control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// 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>
|
||||
/// Controllo ods.
|
||||
/// ods control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblNumRec.
|
||||
/// lblNumRec control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblNumRec;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblWarning.
|
||||
/// lblWarning control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblWarning;
|
||||
}
|
||||
|
||||
Generated
+45
-1
@@ -1809,6 +1809,8 @@ namespace XPS_data {
|
||||
|
||||
private global::System.Data.DataColumn columnemailReq;
|
||||
|
||||
private global::System.Data.DataColumn columnemailSent;
|
||||
|
||||
private global::System.Data.DataColumn columnPriority;
|
||||
|
||||
private global::System.Data.DataColumn columnConfirmed;
|
||||
@@ -2018,6 +2020,14 @@ namespace XPS_data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public global::System.Data.DataColumn emailSentColumn {
|
||||
get {
|
||||
return this.columnemailSent;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public global::System.Data.DataColumn PriorityColumn {
|
||||
@@ -2109,6 +2119,7 @@ namespace XPS_data {
|
||||
string minCodStato,
|
||||
string maxCodStato,
|
||||
bool emailReq,
|
||||
System.DateTime emailSent,
|
||||
bool Priority,
|
||||
bool Confirmed,
|
||||
int NumNote,
|
||||
@@ -2136,6 +2147,7 @@ namespace XPS_data {
|
||||
minCodStato,
|
||||
maxCodStato,
|
||||
emailReq,
|
||||
emailSent,
|
||||
Priority,
|
||||
Confirmed,
|
||||
NumNote,
|
||||
@@ -2190,6 +2202,7 @@ namespace XPS_data {
|
||||
this.columnminCodStato = base.Columns["minCodStato"];
|
||||
this.columnmaxCodStato = base.Columns["maxCodStato"];
|
||||
this.columnemailReq = base.Columns["emailReq"];
|
||||
this.columnemailSent = base.Columns["emailSent"];
|
||||
this.columnPriority = base.Columns["Priority"];
|
||||
this.columnConfirmed = base.Columns["Confirmed"];
|
||||
this.columnNumNote = base.Columns["NumNote"];
|
||||
@@ -2241,6 +2254,8 @@ namespace XPS_data {
|
||||
base.Columns.Add(this.columnmaxCodStato);
|
||||
this.columnemailReq = new global::System.Data.DataColumn("emailReq", typeof(bool), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnemailReq);
|
||||
this.columnemailSent = new global::System.Data.DataColumn("emailSent", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnemailSent);
|
||||
this.columnPriority = new global::System.Data.DataColumn("Priority", typeof(bool), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnPriority);
|
||||
this.columnConfirmed = new global::System.Data.DataColumn("Confirmed", typeof(bool), null, global::System.Data.MappingType.Element);
|
||||
@@ -7973,6 +7988,22 @@ namespace XPS_data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public System.DateTime emailSent {
|
||||
get {
|
||||
try {
|
||||
return ((global::System.DateTime)(this[this.tablev_commesse.emailSentColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'emailSent\' in table \'v_commesse\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tablev_commesse.emailSentColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public bool Priority {
|
||||
@@ -8267,6 +8298,18 @@ namespace XPS_data {
|
||||
this[this.tablev_commesse.emailReqColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public bool IsemailSentNull() {
|
||||
return this.IsNull(this.tablev_commesse.emailSentColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public void SetemailSentNull() {
|
||||
this[this.tablev_commesse.emailSentColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public bool IsNumNoteNull() {
|
||||
@@ -13733,6 +13776,7 @@ SELECT IdxObj, CodTrattamento, Note FROM Tratt2Obj WHERE (CodTrattamento = @CodT
|
||||
tableMapping.ColumnMappings.Add("minCodStato", "minCodStato");
|
||||
tableMapping.ColumnMappings.Add("maxCodStato", "maxCodStato");
|
||||
tableMapping.ColumnMappings.Add("emailReq", "emailReq");
|
||||
tableMapping.ColumnMappings.Add("emailSent", "emailSent");
|
||||
tableMapping.ColumnMappings.Add("Priority", "Priority");
|
||||
tableMapping.ColumnMappings.Add("Confirmed", "Confirmed");
|
||||
tableMapping.ColumnMappings.Add("NumNote", "NumNote");
|
||||
@@ -13753,7 +13797,7 @@ SELECT IdxObj, CodTrattamento, Note FROM Tratt2Obj WHERE (CodTrattamento = @CodT
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[7];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT * FROM v_commesse ORDER BY DataArrivo DESC";
|
||||
this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_commesse ORDER BY DataArrivo DESC";
|
||||
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[1].Connection = new global::System.Data.SqlClient.SqlConnection(global::XPS_data.Properties.Settings.Default.Equa_XPSConnectionString);
|
||||
|
||||
@@ -110,7 +110,7 @@ SELECT CodCliente, RagioneSociale, piva, email, indirizzo, cap, localita, provin
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="Equa_XPSConnectionString (Settings)" DbObjectName="Equa_XPS.dbo.stp_AnagCliUpdateEmail" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="UpdateEmail" Modifier="Public" Name="UpdateEmail" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="UpdateEmail">
|
||||
<DbSource ConnectionRef="Equa_XPSConnectionString (Settings)" DbObjectName="Equa_XPS.dbo.stp_AnagCliUpdateEmail" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="UpdateEmail" Modifier="Public" Name="UpdateEmail" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="UpdateEmail">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_AnagCliUpdateEmail</CommandText>
|
||||
@@ -122,7 +122,7 @@ SELECT CodCliente, RagioneSociale, piva, email, indirizzo, cap, localita, provin
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="Equa_XPSConnectionString (Settings)" DbObjectName="Equa_XPS.dbo.stp_AnagCliUpdate" DbObjectType="StoredProcedure" 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="GetDataBy" UserSourceName="updateQuery">
|
||||
<DbSource ConnectionRef="Equa_XPSConnectionString (Settings)" DbObjectName="Equa_XPS.dbo.stp_AnagCliUpdate" DbObjectType="StoredProcedure" 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">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_AnagCliUpdate</CommandText>
|
||||
@@ -252,7 +252,8 @@ SELECT IdxObj, CodTrattamento, Note FROM Tratt2Obj WHERE (CodTrattamento = @CodT
|
||||
<DbSource ConnectionRef="Equa_AnagraficaConnectionString (Settings)" DbObjectName="Equa_XPS.dbo.v_commesse" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT * FROM v_commesse ORDER BY DataArrivo DESC</CommandText>
|
||||
<CommandText>SELECT *
|
||||
FROM v_commesse ORDER BY DataArrivo DESC</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
@@ -280,6 +281,7 @@ SELECT IdxObj, CodTrattamento, Note FROM Tratt2Obj WHERE (CodTrattamento = @CodT
|
||||
<Mapping SourceColumn="minCodStato" DataSetColumn="minCodStato" />
|
||||
<Mapping SourceColumn="maxCodStato" DataSetColumn="maxCodStato" />
|
||||
<Mapping SourceColumn="emailReq" DataSetColumn="emailReq" />
|
||||
<Mapping SourceColumn="emailSent" DataSetColumn="emailSent" />
|
||||
<Mapping SourceColumn="Priority" DataSetColumn="Priority" />
|
||||
<Mapping SourceColumn="Confirmed" DataSetColumn="Confirmed" />
|
||||
<Mapping SourceColumn="NumNote" DataSetColumn="NumNote" />
|
||||
@@ -1421,6 +1423,7 @@ SELECT IdxLav, DescrLav, PesoUnit, RoundVal FROM AnagLav WHERE (IdxLav = @IdxLav
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="emailReq" msprop:Generator_ColumnVarNameInTable="columnemailReq" msprop:Generator_ColumnPropNameInRow="emailReq" msprop:Generator_ColumnPropNameInTable="emailReqColumn" msprop:Generator_UserColumnName="emailReq" type="xs:boolean" minOccurs="0" />
|
||||
<xs:element name="emailSent" msprop:Generator_ColumnVarNameInTable="columnemailSent" msprop:Generator_ColumnPropNameInRow="emailSent" msprop:Generator_ColumnPropNameInTable="emailSentColumn" msprop:Generator_UserColumnName="emailSent" type="xs:dateTime" minOccurs="0" />
|
||||
<xs:element name="Priority" msprop:Generator_ColumnVarNameInTable="columnPriority" msprop:Generator_ColumnPropNameInRow="Priority" msprop:Generator_ColumnPropNameInTable="PriorityColumn" msprop:Generator_UserColumnName="Priority" type="xs:boolean" />
|
||||
<xs:element name="Confirmed" msprop:Generator_ColumnVarNameInTable="columnConfirmed" msprop:Generator_ColumnPropNameInRow="Confirmed" msprop:Generator_ColumnPropNameInTable="ConfirmedColumn" msprop:Generator_UserColumnName="Confirmed" type="xs:boolean" />
|
||||
<xs:element name="NumNote" msprop:Generator_ColumnVarNameInTable="columnNumNote" msprop:Generator_ColumnPropNameInRow="NumNote" msprop:Generator_ColumnPropNameInTable="NumNoteColumn" msprop:Generator_UserColumnName="NumNote" type="xs:int" minOccurs="0" />
|
||||
@@ -2033,7 +2036,7 @@ SELECT IdxLav, DescrLav, PesoUnit, RoundVal FROM AnagLav WHERE (IdxLav = @IdxLav
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="ImpegniSchedulati" msprop:Generator_TableClassName="ImpegniSchedulatiDataTable" msprop:Generator_TableVarName="tableImpegniSchedulati" msprop:Generator_TablePropName="ImpegniSchedulati" msprop:Generator_RowDeletingName="ImpegniSchedulatiRowDeleting" msprop:Generator_RowChangingName="ImpegniSchedulatiRowChanging" msprop:Generator_RowEvHandlerName="ImpegniSchedulatiRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpegniSchedulatiRowDeleted" msprop:Generator_UserTableName="ImpegniSchedulati" msprop:Generator_RowChangedName="ImpegniSchedulatiRowChanged" msprop:Generator_RowEvArgName="ImpegniSchedulatiRowChangeEvent" msprop:Generator_RowClassName="ImpegniSchedulatiRow">
|
||||
<xs:element name="ImpegniSchedulati" msprop:Generator_TableClassName="ImpegniSchedulatiDataTable" msprop:Generator_TableVarName="tableImpegniSchedulati" msprop:Generator_RowChangedName="ImpegniSchedulatiRowChanged" msprop:Generator_TablePropName="ImpegniSchedulati" msprop:Generator_RowDeletingName="ImpegniSchedulatiRowDeleting" msprop:Generator_RowChangingName="ImpegniSchedulatiRowChanging" msprop:Generator_RowEvHandlerName="ImpegniSchedulatiRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpegniSchedulatiRowDeleted" msprop:Generator_RowClassName="ImpegniSchedulatiRow" msprop:Generator_UserTableName="ImpegniSchedulati" msprop:Generator_RowEvArgName="ImpegniSchedulatiRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="DueDate" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnDueDate" msprop:Generator_ColumnPropNameInRow="DueDate" msprop:Generator_ColumnPropNameInTable="DueDateColumn" msprop:Generator_UserColumnName="DueDate" type="xs:dateTime" />
|
||||
@@ -2051,7 +2054,7 @@ SELECT IdxLav, DescrLav, PesoUnit, RoundVal FROM AnagLav WHERE (IdxLav = @IdxLav
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagLav" msprop:Generator_TableClassName="AnagLavDataTable" msprop:Generator_TableVarName="tableAnagLav" msprop:Generator_TablePropName="AnagLav" msprop:Generator_RowDeletingName="AnagLavRowDeleting" msprop:Generator_RowChangingName="AnagLavRowChanging" msprop:Generator_RowEvHandlerName="AnagLavRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagLavRowDeleted" msprop:Generator_UserTableName="AnagLav" msprop:Generator_RowChangedName="AnagLavRowChanged" msprop:Generator_RowEvArgName="AnagLavRowChangeEvent" msprop:Generator_RowClassName="AnagLavRow">
|
||||
<xs:element name="AnagLav" msprop:Generator_TableClassName="AnagLavDataTable" msprop:Generator_TableVarName="tableAnagLav" msprop:Generator_RowChangedName="AnagLavRowChanged" msprop:Generator_TablePropName="AnagLav" msprop:Generator_RowDeletingName="AnagLavRowDeleting" msprop:Generator_RowChangingName="AnagLavRowChanging" msprop:Generator_RowEvHandlerName="AnagLavRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagLavRowDeleted" msprop:Generator_RowClassName="AnagLavRow" msprop:Generator_UserTableName="AnagLav" msprop:Generator_RowEvArgName="AnagLavRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxLav" msprop:Generator_ColumnVarNameInTable="columnIdxLav" msprop:Generator_ColumnPropNameInRow="IdxLav" msprop:Generator_ColumnPropNameInTable="IdxLavColumn" msprop:Generator_UserColumnName="IdxLav">
|
||||
@@ -2135,10 +2138,10 @@ SELECT IdxLav, DescrLav, PesoUnit, RoundVal FROM AnagLav WHERE (IdxLav = @IdxLav
|
||||
</xs:element>
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<msdata:Relationship name="FK_Tratt2Obj_AnagTrattamenti" msdata:parent="AnagTrattamenti" msdata:child="Tratt2Obj" msdata:parentkey="CodTrattamento" msdata:childkey="CodTrattamento" msprop:Generator_UserChildTable="Tratt2Obj" msprop:Generator_ChildPropName="GetTratt2ObjRows" msprop:Generator_UserRelationName="FK_Tratt2Obj_AnagTrattamenti" msprop:Generator_ParentPropName="AnagTrattamentiRow" msprop:Generator_RelationVarName="relationFK_Tratt2Obj_AnagTrattamenti" msprop:Generator_UserParentTable="AnagTrattamenti" />
|
||||
<msdata:Relationship name="FK_Tratt2Obj_IstObj" msdata:parent="IstObj" msdata:child="Tratt2Obj" msdata:parentkey="IdxObj" msdata:childkey="IdxObj" msprop:Generator_UserChildTable="Tratt2Obj" msprop:Generator_ChildPropName="GetTratt2ObjRows" msprop:Generator_UserRelationName="FK_Tratt2Obj_IstObj" msprop:Generator_ParentPropName="IstObjRow" msprop:Generator_RelationVarName="relationFK_Tratt2Obj_IstObj" msprop:Generator_UserParentTable="IstObj" />
|
||||
<msdata:Relationship name="FK_IstObj_AnagClienti" msdata:parent="AnagClienti" msdata:child="IstObj" msdata:parentkey="CodCliente" msdata:childkey="CodCliente" msprop:Generator_UserChildTable="IstObj" msprop:Generator_ChildPropName="GetIstObjRows" msprop:Generator_UserRelationName="FK_IstObj_AnagClienti" msprop:Generator_ParentPropName="AnagClientiRow" msprop:Generator_RelationVarName="relationFK_IstObj_AnagClienti" msprop:Generator_UserParentTable="AnagClienti" />
|
||||
<msdata:Relationship name="FK_TransizioneEventiStati_Eventi" msdata:parent="Eventi" msdata:child="TraEv2Stati" msdata:parentkey="CodEvento" msdata:childkey="CodEvento" msprop:Generator_UserChildTable="TraEv2Stati" msprop:Generator_ChildPropName="GetTraEv2StatiRows" msprop:Generator_UserRelationName="FK_TransizioneEventiStati_Eventi" msprop:Generator_ParentPropName="EventiRow" msprop:Generator_RelationVarName="relationFK_TransizioneEventiStati_Eventi" msprop:Generator_UserParentTable="Eventi" />
|
||||
<msdata:Relationship name="FK_Tratt2Obj_AnagTrattamenti" msdata:parent="AnagTrattamenti" msdata:child="Tratt2Obj" msdata:parentkey="CodTrattamento" msdata:childkey="CodTrattamento" msprop:Generator_UserChildTable="Tratt2Obj" msprop:Generator_ChildPropName="GetTratt2ObjRows" msprop:Generator_UserRelationName="FK_Tratt2Obj_AnagTrattamenti" msprop:Generator_RelationVarName="relationFK_Tratt2Obj_AnagTrattamenti" msprop:Generator_UserParentTable="AnagTrattamenti" msprop:Generator_ParentPropName="AnagTrattamentiRow" />
|
||||
<msdata:Relationship name="FK_Tratt2Obj_IstObj" msdata:parent="IstObj" msdata:child="Tratt2Obj" msdata:parentkey="IdxObj" msdata:childkey="IdxObj" msprop:Generator_UserChildTable="Tratt2Obj" msprop:Generator_ChildPropName="GetTratt2ObjRows" msprop:Generator_UserRelationName="FK_Tratt2Obj_IstObj" msprop:Generator_RelationVarName="relationFK_Tratt2Obj_IstObj" msprop:Generator_UserParentTable="IstObj" msprop:Generator_ParentPropName="IstObjRow" />
|
||||
<msdata:Relationship name="FK_IstObj_AnagClienti" msdata:parent="AnagClienti" msdata:child="IstObj" msdata:parentkey="CodCliente" msdata:childkey="CodCliente" msprop:Generator_UserChildTable="IstObj" msprop:Generator_ChildPropName="GetIstObjRows" msprop:Generator_UserRelationName="FK_IstObj_AnagClienti" msprop:Generator_RelationVarName="relationFK_IstObj_AnagClienti" msprop:Generator_UserParentTable="AnagClienti" msprop:Generator_ParentPropName="AnagClientiRow" />
|
||||
<msdata:Relationship name="FK_TransizioneEventiStati_Eventi" msdata:parent="Eventi" msdata:child="TraEv2Stati" msdata:parentkey="CodEvento" msdata:childkey="CodEvento" msprop:Generator_UserChildTable="TraEv2Stati" msprop:Generator_ChildPropName="GetTraEv2StatiRows" msprop:Generator_UserRelationName="FK_TransizioneEventiStati_Eventi" msprop:Generator_RelationVarName="relationFK_TransizioneEventiStati_Eventi" msprop:Generator_UserParentTable="Eventi" msprop:Generator_ParentPropName="EventiRow" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:schema>
|
||||
+236
-207
@@ -5,225 +5,254 @@ using SteamWare;
|
||||
|
||||
namespace XPS_data
|
||||
{
|
||||
/// <summary>
|
||||
/// Summary description for XPS
|
||||
/// </summary>
|
||||
public class XPS
|
||||
{
|
||||
#region classe principale
|
||||
|
||||
/// <summary>
|
||||
/// avvio classe
|
||||
/// modalità utente XPS Equa
|
||||
/// </summary>
|
||||
protected XPS()
|
||||
public enum modoXPS_Equa
|
||||
{
|
||||
avvioTA();
|
||||
setupConnectionStringBase();
|
||||
}
|
||||
/// <summary>
|
||||
/// avvia table adapters
|
||||
/// </summary>
|
||||
private void avvioTA()
|
||||
{
|
||||
// avvio i table adapters...
|
||||
taObj = new DS_applicazioneTableAdapters.IstObjTableAdapter();
|
||||
taSP = new DS_applicazioneTableAdapters.SP();
|
||||
taSchedaIdent = new DS_applicazioneTableAdapters.sp_schedaIdentTableAdapter();
|
||||
taDdt = new DS_applicazioneTableAdapters.sp_ddtTableAdapter();
|
||||
taRec4day = new DS_applicazioneTableAdapters.sp_rec4DayTableAdapter();
|
||||
taComm = new DS_applicazioneTableAdapters.v_commesseTableAdapter();
|
||||
taAnCli = new DS_applicazioneTableAdapters.AnagClientiTableAdapter();
|
||||
taAnLav = new DS_applicazioneTableAdapters.AnagLavTableAdapter();
|
||||
taNote = new DS_XPSTableAdapters.NoteTableAdapter();
|
||||
}
|
||||
/// <summary>
|
||||
/// effettua setup dei connection strings da web.config delal singola applicazione
|
||||
/// </summary>
|
||||
protected virtual void setupConnectionStringBase()
|
||||
{
|
||||
string connString = memLayer.ML.confReadString("XPSConnectionString");
|
||||
// connections strings del db
|
||||
taObj.Connection.ConnectionString = connString;
|
||||
//taSP.Connection.ConnectionString = connString;
|
||||
taSchedaIdent.Connection.ConnectionString = connString;
|
||||
taDdt.Connection.ConnectionString = connString;
|
||||
taRec4day.Connection.ConnectionString = connString;
|
||||
taComm.Connection.ConnectionString = connString;
|
||||
taAnCli.Connection.ConnectionString = connString;
|
||||
taAnLav.Connection.ConnectionString = connString;
|
||||
taNote.Connection.ConnectionString = connString;
|
||||
}
|
||||
/// <summary>
|
||||
/// singleton classe
|
||||
/// </summary>
|
||||
public static XPS obj = new XPS();
|
||||
|
||||
#endregion
|
||||
|
||||
#region area pubblica
|
||||
|
||||
#region table adapters
|
||||
|
||||
public DS_applicazioneTableAdapters.IstObjTableAdapter taObj;
|
||||
public DS_applicazioneTableAdapters.SP taSP;
|
||||
public DS_applicazioneTableAdapters.sp_schedaIdentTableAdapter taSchedaIdent;
|
||||
public DS_applicazioneTableAdapters.sp_ddtTableAdapter taDdt;
|
||||
public DS_applicazioneTableAdapters.sp_rec4DayTableAdapter taRec4day;
|
||||
public DS_applicazioneTableAdapters.v_commesseTableAdapter taComm;
|
||||
public DS_applicazioneTableAdapters.AnagClientiTableAdapter taAnCli;
|
||||
public DS_applicazioneTableAdapters.AnagLavTableAdapter taAnLav;
|
||||
|
||||
public DS_XPSTableAdapters.NoteTableAdapter taNote;
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// restituisce l'url formattato del report x stampare etichette e moduli con barcode
|
||||
/// </summary>
|
||||
/// <param name="Cod"></param>
|
||||
/// <param name="tipoReport">tipo di report (label, module ...)</param>
|
||||
/// <param name="outputRich">tipo di output richiesto (PDF / anteprima)</param>
|
||||
/// <returns></returns>
|
||||
public string urlReport(object Cod, string tipoReport, string outputRich)
|
||||
{
|
||||
string url, urlFormat, opzPdf, nomeRep;
|
||||
try
|
||||
{
|
||||
urlFormat = SteamWare.memLayer.ML.confReadString("urlReporting");
|
||||
if (outputRich == "PDF")
|
||||
{
|
||||
opzPdf = SteamWare.memLayer.ML.confReadString("reportOpzPdf");
|
||||
}
|
||||
else
|
||||
{
|
||||
opzPdf = "";
|
||||
}
|
||||
if (tipoReport == "label")
|
||||
{
|
||||
nomeRep = SteamWare.memLayer.ML.confReadString("reportName_lbl");
|
||||
}
|
||||
else // (tipoReport == "module")
|
||||
{
|
||||
nomeRep = SteamWare.memLayer.ML.confReadString("reportName_mod");
|
||||
}
|
||||
url = string.Format(urlFormat, SteamWare.memLayer.ML.confReadString("reportingServerAddress"), SteamWare.memLayer.ML.confReadString("reportDir"), nomeRep, Cod, opzPdf);
|
||||
}
|
||||
catch
|
||||
{
|
||||
url = "";
|
||||
}
|
||||
return url;
|
||||
magazzino,
|
||||
spedizioni,
|
||||
segreteria,
|
||||
produzione,
|
||||
direzione
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce email dest da codCliente + check conf da web.config con forzatura a email interna
|
||||
/// Summary description for XPS
|
||||
/// </summary>
|
||||
/// <param name="CodCliente"></param>
|
||||
/// <returns></returns>
|
||||
public string getEmailDest(string CodCliente)
|
||||
public class XPS
|
||||
{
|
||||
string answ = "";
|
||||
if (memLayer.ML.CRS("_forcedDestEmail") != "")
|
||||
{
|
||||
answ = memLayer.ML.CRS("_forcedDestEmail");
|
||||
}
|
||||
else
|
||||
{
|
||||
answ = taAnCli.getByKey(CodCliente)[0].email;
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
/// <summary>
|
||||
/// Invio email cliente x merce pronta
|
||||
/// <paramref name="idxObj">Chiave Obj</paramref>
|
||||
/// </summary>
|
||||
public void sendEmailCliente(string idxObj)
|
||||
{
|
||||
// mi limito a mandare email e non segnalo altro... carico dati!
|
||||
logger.lg.scriviLog("Richiesto invio email...");
|
||||
int currState = 0;
|
||||
bool emailReq = false;
|
||||
string emailSent = "";
|
||||
string emailDest = "";
|
||||
string CodCliente = "";
|
||||
string ddt = "";
|
||||
string dataRif = "";
|
||||
string descr = "";
|
||||
string peso = "";
|
||||
DS_applicazione.IstObjRow rigaIstObj = null;
|
||||
#region Public Fields
|
||||
|
||||
// calcolo lo stato dell'oggetto...
|
||||
try
|
||||
{
|
||||
rigaIstObj = taObj.getByIdxObj(idxObj)[0];
|
||||
currState = Convert.ToInt32(rigaIstObj.CodStato);
|
||||
emailReq = rigaIstObj.emailReq;
|
||||
CodCliente = rigaIstObj.CodCliente;
|
||||
emailDest = getEmailDest(CodCliente);
|
||||
logger.lg.scriviLog(string.Format("Recuperati dati per invio email: {0} | {1} | {2}", idxObj, CodCliente, emailDest));
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
logger.lg.scriviLog(String.Format("Eccezione in recupero dati commessa x email: {0}", exc), tipoLog.EXCEPTION);
|
||||
}
|
||||
try
|
||||
{
|
||||
rigaIstObj = taObj.getByIdxObj(idxObj)[0];
|
||||
emailSent = rigaIstObj.emailSent.ToString("dd/MM/yy HH:mm");
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
logger.lg.scriviLog(String.Format("Eccezione in invio email: {0}", exc), tipoLog.EXCEPTION);
|
||||
}
|
||||
try
|
||||
{
|
||||
ddt = rigaIstObj.Nome;
|
||||
dataRif = rigaIstObj.DataRif.ToString("dd/MM/yy HH:mm");
|
||||
descr = rigaIstObj.Note;
|
||||
peso = rigaIstObj.Peso.ToString();
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
ddt = "n.d.";
|
||||
dataRif = "n.d.";
|
||||
descr = "n.d.";
|
||||
peso = "n.d.";
|
||||
logger.lg.scriviLog(String.Format("Eccezione in recupero dati x email: {0}", exc), tipoLog.EXCEPTION);
|
||||
}
|
||||
if (currState >= 5 && emailDest != "")
|
||||
{
|
||||
// invio email
|
||||
string subject = user_std.UtSn.Traduci("emailSubject"); // 'Notifica merce pronta'
|
||||
string bodyMsg = string.Format(user_std.UtSn.Traduci("emailBody"), ddt, dataRif, descr, peso); //'Attenzione, la merce relativa al DDT {0} del {1}, ({2}, peso {3} kg) è pronta per il ritiro presso EQUA s.p.a di Pedrengo'
|
||||
// se è forzato invio interno cambio subject e body...
|
||||
if (memLayer.ML.CRS("_forcedDestEmail") != "")
|
||||
/// <summary>
|
||||
/// singleton classe
|
||||
/// </summary>
|
||||
public static XPS obj = new XPS();
|
||||
|
||||
public DS_applicazioneTableAdapters.AnagClientiTableAdapter taAnCli;
|
||||
|
||||
public DS_applicazioneTableAdapters.AnagLavTableAdapter taAnLav;
|
||||
|
||||
public DS_applicazioneTableAdapters.v_commesseTableAdapter taComm;
|
||||
|
||||
public DS_applicazioneTableAdapters.sp_ddtTableAdapter taDdt;
|
||||
|
||||
public DS_XPSTableAdapters.NoteTableAdapter taNote;
|
||||
|
||||
public DS_applicazioneTableAdapters.IstObjTableAdapter taObj;
|
||||
|
||||
public DS_applicazioneTableAdapters.sp_rec4DayTableAdapter taRec4day;
|
||||
|
||||
public DS_applicazioneTableAdapters.sp_schedaIdentTableAdapter taSchedaIdent;
|
||||
|
||||
public DS_applicazioneTableAdapters.SP taSP;
|
||||
|
||||
#endregion Public Fields
|
||||
|
||||
#region Protected Constructors
|
||||
|
||||
/// <summary>
|
||||
/// avvio classe
|
||||
/// </summary>
|
||||
protected XPS()
|
||||
{
|
||||
DS_applicazione.v_commesseRow rigaComm = taComm.getByCod(idxObj)[0];
|
||||
subject += string.Format(" | cliente: {0}", rigaComm.Cliente);
|
||||
bodyMsg += string.Format("<br/><br/><a href=\"{0}detComm?CodDDT={1}\">Link diretto al DDT {2} - {3}</a>", memLayer.ML.CRS("mainSite"), rigaComm.Cod, rigaComm.DDT, rigaComm.descrizione);
|
||||
avvioTA();
|
||||
setupConnectionStringBase();
|
||||
}
|
||||
// invio email!
|
||||
bool fatto = gestEmail.geAuth.mandaEmail(memLayer.ML.confReadString("_emailUser"), emailDest, subject, bodyMsg);
|
||||
if (fatto)
|
||||
|
||||
#endregion Protected Constructors
|
||||
|
||||
#region Private Methods
|
||||
|
||||
/// <summary>
|
||||
/// avvia table adapters
|
||||
/// </summary>
|
||||
private void avvioTA()
|
||||
{
|
||||
// aggiorno stato obj
|
||||
taObj.updateEmailSent(idxObj);
|
||||
// avvio i table adapters...
|
||||
taObj = new DS_applicazioneTableAdapters.IstObjTableAdapter();
|
||||
taSP = new DS_applicazioneTableAdapters.SP();
|
||||
taSchedaIdent = new DS_applicazioneTableAdapters.sp_schedaIdentTableAdapter();
|
||||
taDdt = new DS_applicazioneTableAdapters.sp_ddtTableAdapter();
|
||||
taRec4day = new DS_applicazioneTableAdapters.sp_rec4DayTableAdapter();
|
||||
taComm = new DS_applicazioneTableAdapters.v_commesseTableAdapter();
|
||||
taAnCli = new DS_applicazioneTableAdapters.AnagClientiTableAdapter();
|
||||
taAnLav = new DS_applicazioneTableAdapters.AnagLavTableAdapter();
|
||||
taNote = new DS_XPSTableAdapters.NoteTableAdapter();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
/// <summary>
|
||||
/// effettua setup dei connection strings da web.config delal singola applicazione
|
||||
/// </summary>
|
||||
protected virtual void setupConnectionStringBase()
|
||||
{
|
||||
string connString = memLayer.ML.confReadString("XPSConnectionString");
|
||||
// connections strings del db
|
||||
taObj.Connection.ConnectionString = connString;
|
||||
//taSP.Connection.ConnectionString = connString;
|
||||
taSchedaIdent.Connection.ConnectionString = connString;
|
||||
taDdt.Connection.ConnectionString = connString;
|
||||
taRec4day.Connection.ConnectionString = connString;
|
||||
taComm.Connection.ConnectionString = connString;
|
||||
taAnCli.Connection.ConnectionString = connString;
|
||||
taAnLav.Connection.ConnectionString = connString;
|
||||
taNote.Connection.ConnectionString = connString;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
|
||||
#region Public Methods
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce email dest da codCliente + check conf da web.config con forzatura a email interna
|
||||
/// </summary>
|
||||
/// <param name="CodCliente"></param>
|
||||
/// <returns></returns>
|
||||
public string getEmailDest(string CodCliente)
|
||||
{
|
||||
string answ = "";
|
||||
if (memLayer.ML.CRS("_forcedDestEmail") != "")
|
||||
{
|
||||
answ = memLayer.ML.CRS("_forcedDestEmail");
|
||||
}
|
||||
else
|
||||
{
|
||||
answ = taAnCli.getByKey(CodCliente)[0].email;
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Invio email cliente x merce pronta
|
||||
/// <paramref name="idxObj">Chiave Obj</paramref>
|
||||
/// </summary>
|
||||
public void sendEmailCliente(string idxObj)
|
||||
{
|
||||
// mi limito a mandare email e non segnalo altro... carico dati!
|
||||
logger.lg.scriviLog("Richiesto invio email...");
|
||||
int currState = 0;
|
||||
bool emailReq = false;
|
||||
string emailDest = "";
|
||||
string CodCliente = "";
|
||||
string ddt = "";
|
||||
string dataRif = "";
|
||||
string descr = "";
|
||||
string peso = "";
|
||||
DS_applicazione.IstObjRow rigaIstObj = null;
|
||||
|
||||
// calcolo lo stato dell'oggetto...
|
||||
try
|
||||
{
|
||||
rigaIstObj = taObj.getByIdxObj(idxObj)[0];
|
||||
currState = Convert.ToInt32(rigaIstObj.CodStato);
|
||||
emailReq = rigaIstObj.emailReq;
|
||||
CodCliente = rigaIstObj.CodCliente;
|
||||
emailDest = getEmailDest(CodCliente);
|
||||
logger.lg.scriviLog(string.Format("Recuperati dati per invio email: {0} | {1} | {2}", idxObj, CodCliente, emailDest));
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
logger.lg.scriviLog(String.Format("Eccezione in recupero dati commessa x email: {0}", exc), tipoLog.EXCEPTION);
|
||||
}
|
||||
try
|
||||
{
|
||||
rigaIstObj = taObj.getByIdxObj(idxObj)[0];
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
logger.lg.scriviLog(String.Format("Eccezione in invio email: {0}", exc), tipoLog.EXCEPTION);
|
||||
}
|
||||
try
|
||||
{
|
||||
ddt = string.IsNullOrEmpty(rigaIstObj.Nome) ? "N.A." : rigaIstObj.Nome;
|
||||
descr = string.IsNullOrEmpty(rigaIstObj.Note) ? "N.A." : rigaIstObj.Note;
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
ddt = "n.d.";
|
||||
descr = "n.d.";
|
||||
logger.lg.scriviLog(String.Format("Eccezione in recupero dati x email: {0}", exc), tipoLog.EXCEPTION);
|
||||
}
|
||||
try
|
||||
{
|
||||
dataRif = rigaIstObj.DataRif.ToString("dd/MM/yy HH:mm");
|
||||
peso = rigaIstObj.Peso.ToString();
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
dataRif = "n.d.";
|
||||
peso = "n.d.";
|
||||
logger.lg.scriviLog(String.Format("Eccezione in recupero dati x email: {0}", exc), tipoLog.EXCEPTION);
|
||||
}
|
||||
if (currState >= 5 && emailDest != "")
|
||||
{
|
||||
// invio email
|
||||
|
||||
// 'Notifica merce pronta'
|
||||
string subject = user_std.UtSn.Traduci("emailSubject");
|
||||
|
||||
//'Attenzione, la merce relativa al DDT {0} del {1}, ({2}, peso {3} kg) è pronta per il ritiro presso EQUA s.p.a di Pedrengo'
|
||||
string bodyMsg = string.Format(user_std.UtSn.Traduci("emailBody"), ddt, dataRif, descr, peso);
|
||||
|
||||
// se è forzato invio interno cambio subject e body...
|
||||
if (memLayer.ML.CRS("_forcedDestEmail") != "")
|
||||
{
|
||||
DS_applicazione.v_commesseRow rigaComm = taComm.getByCod(idxObj)[0];
|
||||
subject += string.Format(" | cliente: {0}", rigaComm.Cliente);
|
||||
bodyMsg += string.Format("<br/><br/><a href=\"{0}detComm?CodDDT={1}\">Link diretto al DDT {2} - {3}</a>", memLayer.ML.CRS("mainSite"), rigaComm.Cod, rigaComm.DDT, rigaComm.descrizione);
|
||||
}
|
||||
// invio email!
|
||||
bool fatto = gestEmail.geAuth.mandaEmail(memLayer.ML.confReadString("_emailUser"), emailDest, subject, bodyMsg);
|
||||
if (fatto)
|
||||
{
|
||||
// aggiorno stato obj
|
||||
taObj.updateEmailSent(idxObj);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// restituisce l'url formattato del report x stampare etichette e moduli con barcode
|
||||
/// </summary>
|
||||
/// <param name="Cod"></param>
|
||||
/// <param name="tipoReport">tipo di report (label, module ...)</param>
|
||||
/// <param name="outputRich">tipo di output richiesto (PDF / anteprima)</param>
|
||||
/// <returns></returns>
|
||||
public string urlReport(object Cod, string tipoReport, string outputRich)
|
||||
{
|
||||
string url, urlFormat, opzPdf, nomeRep;
|
||||
try
|
||||
{
|
||||
urlFormat = SteamWare.memLayer.ML.confReadString("urlReporting");
|
||||
if (outputRich == "PDF")
|
||||
{
|
||||
opzPdf = SteamWare.memLayer.ML.confReadString("reportOpzPdf");
|
||||
}
|
||||
else
|
||||
{
|
||||
opzPdf = "";
|
||||
}
|
||||
if (tipoReport == "label")
|
||||
{
|
||||
nomeRep = SteamWare.memLayer.ML.confReadString("reportName_lbl");
|
||||
}
|
||||
else // (tipoReport == "module")
|
||||
{
|
||||
nomeRep = SteamWare.memLayer.ML.confReadString("reportName_mod");
|
||||
}
|
||||
url = string.Format(urlFormat, SteamWare.memLayer.ML.confReadString("reportingServerAddress"), SteamWare.memLayer.ML.confReadString("reportDir"), nomeRep, Cod, opzPdf);
|
||||
}
|
||||
catch
|
||||
{
|
||||
url = "";
|
||||
}
|
||||
return url;
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
}
|
||||
/// <summary>
|
||||
/// modalità utente XPS Equa
|
||||
/// </summary>
|
||||
public enum modoXPS_Equa
|
||||
{
|
||||
magazzino,
|
||||
spedizioni,
|
||||
segreteria,
|
||||
produzione,
|
||||
direzione
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user