traduzioni MAG
This commit is contained in:
@@ -1,55 +1,54 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_ArtOut.ascx.cs" Inherits="MP_MAG.WebUserControls.cmp_ArtOut" %>
|
||||
|
||||
<div class="card border border-warning rounded">
|
||||
<div class="card-header bg-warning text-light">
|
||||
<div class="row text-left">
|
||||
<div class="col-12">
|
||||
<h5>Articoli Producibili</h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body small px-0 py-1 text-left">
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="CodArt" DataSourceID="odsArtOut" CssClass="table table-striped table-condensed table-sm small" AllowPaging="True" OnSelectedIndexChanged="grView_SelectedIndexChanged">
|
||||
<HeaderStyle CssClass="default" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<SelectedRowStyle CssClass="table-warning" />
|
||||
<EmptyDataTemplate>
|
||||
Nessun Risultato
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
<asp:LinkButton ID="lbtReset" runat="server" OnClick="lbtReset_Click" CssClass="btn btn-sm btn-warning" ToolTip="Reset"><i class="fas fa-sync"></i></asp:LinkButton>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbtSel" runat="server" CausesValidation="False" CommandName="Select" Text="Seleziona" CssClass="btn btn-sm btn-warning" Visible='<%# codArtOk(Eval("CodArt")) %>'><i class="fas fa-search"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Articolo" SortExpression="CodArt">
|
||||
<ItemTemplate>
|
||||
<div class="row">
|
||||
<div class="col-6 font-weight-bold">
|
||||
<asp:Label ID="Label2" runat="server" Text='<%# Eval("CodArt") %>' />
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<asp:Label ID="Label4" runat="server" Text='<%# Eval("CodArtExt") %>' />
|
||||
</div>
|
||||
<div class="col-12 small">
|
||||
<i>
|
||||
<asp:Label ID="Label5" runat="server" Text='<%# Eval("DescrArt") %>' /></i>
|
||||
</div>
|
||||
<div class="card-header bg-warning text-light">
|
||||
<div class="row text-left">
|
||||
<div class="col-12">
|
||||
<h5>Articoli Producibili</h5>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="odsArtOut" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByHashList" TypeName="MagData.DS_MagTableAdapters.AnagArtTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfHashList" DefaultValue="#" Name="elLotti" PropertyName="Value" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:HiddenField runat="server" ID="hfHashList" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body small px-0 py-1 text-left">
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="CodArt" DataSourceID="odsArtOut" CssClass="table table-striped table-condensed table-sm small" AllowPaging="True" OnSelectedIndexChanged="grView_SelectedIndexChanged">
|
||||
<HeaderStyle CssClass="default" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<SelectedRowStyle CssClass="table-warning" />
|
||||
<EmptyDataTemplate>
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
<asp:LinkButton ID="lbtReset" runat="server" OnClick="lbtReset_Click" CssClass="btn btn-sm btn-warning" ToolTip="Reset"><i class="fas fa-sync"></i></asp:LinkButton>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbtSel" runat="server" CausesValidation="False" CommandName="Select" Text="Seleziona" CssClass="btn btn-sm btn-warning" Visible='<%# codArtOk(Eval("CodArt")) %>'><i class="fas fa-search"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Articolo" SortExpression="CodArt">
|
||||
<ItemTemplate>
|
||||
<div class="row">
|
||||
<div class="col-6 font-weight-bold">
|
||||
<asp:Label ID="Label2" runat="server" Text='<%# Eval("CodArt") %>' />
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<asp:Label ID="Label4" runat="server" Text='<%# Eval("CodArtExt") %>' />
|
||||
</div>
|
||||
<div class="col-12 small">
|
||||
<i>
|
||||
<asp:Label ID="Label5" runat="server" Text='<%# Eval("DescrArt") %>' /></i>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="odsArtOut" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByHashList" TypeName="MagData.DS_MagTableAdapters.AnagArtTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfHashList" DefaultValue="#" Name="elLotti" PropertyName="Value" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:HiddenField runat="server" ID="hfHashList" />
|
||||
</div>
|
||||
</div>
|
||||
<asp:HiddenField runat="server" ID="hfJsonLotti" />
|
||||
<asp:HiddenField runat="server" ID="hfJsonLotti" />
|
||||
+40
-40
@@ -1,53 +1,53 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 MP_MAG.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class cmp_ArtOut
|
||||
{
|
||||
public partial class cmp_ArtOut
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo grView.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
/// <summary>
|
||||
/// grView control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsArtOut.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsArtOut;
|
||||
/// <summary>
|
||||
/// odsArtOut control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsArtOut;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfHashList.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfHashList;
|
||||
/// <summary>
|
||||
/// hfHashList control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfHashList;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfJsonLotti.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfJsonLotti;
|
||||
}
|
||||
/// <summary>
|
||||
/// hfJsonLotti control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfJsonLotti;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,96 +1,95 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_LottiOut.ascx.cs" Inherits="MP_MAG.WebUserControls.cmp_LottiOut" %>
|
||||
|
||||
|
||||
<div class="card border border-success rounded">
|
||||
<div class="card-header bg-success text-light">
|
||||
<div class="row text-left">
|
||||
<div class="col-12">
|
||||
<h5>Elenco Lotti OUT</h5>
|
||||
</div>
|
||||
<div class="card-header bg-success text-light">
|
||||
<div class="row text-left">
|
||||
<div class="col-12">
|
||||
<h5>Elenco Lotti OUT</h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body small px-0 py-1 text-left">
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="Lotto" DataSourceID="odsLottiOut" CssClass="table table-striped table-condensed table-sm small" AllowPaging="True" OnSelectedIndexChanged="grView_SelectedIndexChanged">
|
||||
<HeaderStyle CssClass="default" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<SelectedRowStyle CssClass="table-info" />
|
||||
<EmptyDataTemplate>
|
||||
Nessun Risultato
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
<asp:LinkButton ID="lbtReset" runat="server" OnClick="lbtReset_Click" CssClass="btn btn-sm btn-primary" ToolTip="Reset"><i class="fas fa-sync"></i></asp:LinkButton>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbtSel" runat="server" CausesValidation="False" CommandName="Select" Text="Seleziona" CssClass="btn btn-sm btn-info" Visible='<%# codArtOk(Eval("CodArt")) %>'><i class="fas fa-search"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton ID="lbtUpdate" runat="server" CausesValidation="False" CommandName="Update" Text="Update" CssClass="btn btn-sm btn-success"><i class="fas fa-check"></i></asp:LinkButton>
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Lotto" SortExpression="Lotto">
|
||||
<ItemTemplate>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<b>
|
||||
<asp:Label ID="lblLotto" runat="server" Text='<%# Eval("Lotto") %>' /></b>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<asp:Label ID="lblTipoLotto" runat="server" Text='<%# Eval("TipoLotto") %>' ToolTip='<%# Eval("Origine") %>' />
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# Eval("CodStato") %>' ToolTip='<%# Eval("DescStato") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="NumUdc" HeaderText="#" SortExpression="NumUdc" />
|
||||
<asp:TemplateField HeaderText="Articolo" SortExpression="CodArt">
|
||||
<ItemTemplate>
|
||||
<div class="row">
|
||||
<div class="col-12 font-weight-bold">
|
||||
<asp:Label ID="Label2" runat="server" Text='<%# Eval("CodArt") %>' ToolTip='<%# Eval("CodArtExt") %>' />
|
||||
</div>
|
||||
<div class="col-12 small">
|
||||
<i>
|
||||
<asp:Label ID="Label5" runat="server" Text='<%# Eval("DescrArt") + " | " + Eval("CodArtExt") %>' /></i>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Qta" SortExpression="QtaOrig">
|
||||
<EditItemTemplate>
|
||||
<b>
|
||||
<asp:Label ID="Label9" runat="server" Text='<%# Eval("QtaCurr", "{0:N0}") %>' ToolTip="Qta corrente" /></b>
|
||||
/
|
||||
<div class="card-body small px-0 py-1 text-left">
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="Lotto" DataSourceID="odsLottiOut" CssClass="table table-striped table-condensed table-sm small" AllowPaging="True" OnSelectedIndexChanged="grView_SelectedIndexChanged">
|
||||
<HeaderStyle CssClass="default" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<SelectedRowStyle CssClass="table-info" />
|
||||
<EmptyDataTemplate>
|
||||
<%: traduci("NoRecord") %>
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
<asp:LinkButton ID="lbtReset" runat="server" OnClick="lbtReset_Click" CssClass="btn btn-sm btn-primary" ToolTip="Reset"><i class="fas fa-sync"></i></asp:LinkButton>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbtSel" runat="server" CausesValidation="False" CommandName="Select" Text="Seleziona" CssClass="btn btn-sm btn-info" Visible='<%# codArtOk(Eval("CodArt")) %>'><i class="fas fa-search"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton ID="lbtUpdate" runat="server" CausesValidation="False" CommandName="Update" Text="Update" CssClass="btn btn-sm btn-success"><i class="fas fa-check"></i></asp:LinkButton>
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Lotto" SortExpression="Lotto">
|
||||
<ItemTemplate>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<b>
|
||||
<asp:Label ID="lblLotto" runat="server" Text='<%# Eval("Lotto") %>' /></b>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<asp:Label ID="lblTipoLotto" runat="server" Text='<%# Eval("TipoLotto") %>' ToolTip='<%# Eval("Origine") %>' />
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# Eval("CodStato") %>' ToolTip='<%# Eval("DescStato") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="NumUdc" HeaderText="#" SortExpression="NumUdc" />
|
||||
<asp:TemplateField HeaderText="Articolo" SortExpression="CodArt">
|
||||
<ItemTemplate>
|
||||
<div class="row">
|
||||
<div class="col-12 font-weight-bold">
|
||||
<asp:Label ID="Label2" runat="server" Text='<%# Eval("CodArt") %>' ToolTip='<%# Eval("CodArtExt") %>' />
|
||||
</div>
|
||||
<div class="col-12 small">
|
||||
<i>
|
||||
<asp:Label ID="Label5" runat="server" Text='<%# Eval("DescrArt") + " | " + Eval("CodArtExt") %>' /></i>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Qta" SortExpression="QtaOrig">
|
||||
<EditItemTemplate>
|
||||
<b>
|
||||
<asp:Label ID="Label9" runat="server" Text='<%# Eval("QtaCurr", "{0:N0}") %>' ToolTip="Qta corrente" /></b>
|
||||
/
|
||||
<asp:TextBox ID="txtQtaOrig" runat="server" Text='<%# Bind("QtaOrig", "{0:N0}") %>' ToolTip="Qta orig" Width="5em" />
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<b>
|
||||
<asp:Label ID="Label9" runat="server" Text='<%# Eval("QtaCurr", "{0:N0}") %>' ToolTip="Qta corrente" /></b>
|
||||
/
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<b>
|
||||
<asp:Label ID="Label9" runat="server" Text='<%# Eval("QtaCurr", "{0:N0}") %>' ToolTip="Qta corrente" /></b>
|
||||
/
|
||||
<asp:Label ID="Label6" runat="server" Text='<%# Eval("QtaOrig", "{0:N0}") %>' ToolTip="Qta orig" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Data" SortExpression="DtCrea">
|
||||
<ItemTemplate>
|
||||
<div>
|
||||
<asp:Label ID="Label7" runat="server" Text='<%# Eval("DtCrea", "{0:yyyy.MM.dd}") %>' />
|
||||
</div>
|
||||
<div class="small">
|
||||
<i>
|
||||
<asp:Label ID="Label8" runat="server" Text='<%# Eval("Note") %>' /></i>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Att" SortExpression="Attivo">
|
||||
<ItemTemplate>
|
||||
<asp:CheckBox ID="CheckBox1" runat="server" Checked='<%# Eval("Attivo") %>' Enabled="false" ToolTip='<%# Eval("DtMod", "mod: {0:yyyy.MM.dd HH:mm:ss}") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<%--<asp:TemplateField ShowHeader="False">
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Data" SortExpression="DtCrea">
|
||||
<ItemTemplate>
|
||||
<div>
|
||||
<asp:Label ID="Label7" runat="server" Text='<%# Eval("DtCrea", "{0:yyyy.MM.dd}") %>' />
|
||||
</div>
|
||||
<div class="small">
|
||||
<i>
|
||||
<asp:Label ID="Label8" runat="server" Text='<%# Eval("Note") %>' /></i>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Att" SortExpression="Attivo">
|
||||
<ItemTemplate>
|
||||
<asp:CheckBox ID="CheckBox1" runat="server" Checked='<%# Eval("Attivo") %>' Enabled="false" ToolTip='<%# Eval("DtMod", "mod: {0:yyyy.MM.dd HH:mm:ss}") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<%--<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
@@ -100,24 +99,23 @@
|
||||
<asp:LinkButton ID="lbtCancel" runat="server" CausesValidation="False" CommandName="Cancel" Text="Cancel" CssClass="btn btn-sm btn-danger"><i class="fas fa-ban"></i></asp:LinkButton>
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>--%>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="odsLottiOut" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getBuiltByHashList" TypeName="MagData.DS_MagTableAdapters.ElencoLottiTableAdapter" UpdateMethod="updateQty" FilterExpression="CodStato = '{0}'">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfHashList" DefaultValue="#" Name="elLotti" PropertyName="Value" Type="String" />
|
||||
</SelectParameters>
|
||||
<FilterParameters>
|
||||
<asp:ControlParameter ControlID="hfCodStato" DefaultValue="#" PropertyName="Value" Type="String" />
|
||||
</FilterParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="Original_Lotto" Type="String" />
|
||||
<asp:Parameter Name="QtaOrig" Type="Decimal" />
|
||||
<asp:Parameter Name="NumUdc" Type="Int32" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="odsLottiOut" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getBuiltByHashList" TypeName="MagData.DS_MagTableAdapters.ElencoLottiTableAdapter" UpdateMethod="updateQty" FilterExpression="CodStato = '{0}'">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfHashList" DefaultValue="#" Name="elLotti" PropertyName="Value" Type="String" />
|
||||
</SelectParameters>
|
||||
<FilterParameters>
|
||||
<asp:ControlParameter ControlID="hfCodStato" DefaultValue="#" PropertyName="Value" Type="String" />
|
||||
</FilterParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="Original_Lotto" Type="String" />
|
||||
<asp:Parameter Name="QtaOrig" Type="Decimal" />
|
||||
<asp:Parameter Name="NumUdc" Type="Int32" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
</div>
|
||||
<asp:HiddenField runat="server" ID="hfHashList" />
|
||||
<asp:HiddenField runat="server" ID="hfCodStato" />
|
||||
<asp:HiddenField runat="server" ID="hfJsonLotti" />
|
||||
|
||||
<asp:HiddenField runat="server" ID="hfJsonLotti" />
|
||||
+48
-48
@@ -1,62 +1,62 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 MP_MAG.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class cmp_LottiOut
|
||||
{
|
||||
public partial class cmp_LottiOut
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo grView.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
/// <summary>
|
||||
/// grView control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsLottiOut.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsLottiOut;
|
||||
/// <summary>
|
||||
/// odsLottiOut control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsLottiOut;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfHashList.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfHashList;
|
||||
/// <summary>
|
||||
/// hfHashList control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfHashList;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfCodStato.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfCodStato;
|
||||
/// <summary>
|
||||
/// hfCodStato control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfCodStato;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfJsonLotti.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfJsonLotti;
|
||||
}
|
||||
/// <summary>
|
||||
/// hfJsonLotti control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfJsonLotti;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
<asp:BoundField DataField="CodArtExt" HeaderText="CodArtExt" SortExpression="CodArtExt" />--%>
|
||||
</Columns>
|
||||
<EmptyDataTemplate>
|
||||
Nessun Risultato
|
||||
<%: traduci("NoRecord") %>
|
||||
</EmptyDataTemplate>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource runat="server" ID="ods" OldValuesParameterFormatString="original_{0}" SelectMethod="getByOdl" TypeName="MagData.DS_MagTableAdapters.ElencoUdcTableAdapter">
|
||||
|
||||
+14
-14
@@ -1,10 +1,10 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 MP_MAG.WebUserControls
|
||||
@@ -15,29 +15,29 @@ namespace MP_MAG.WebUserControls
|
||||
{
|
||||
|
||||
/// <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 hfIdxODL.
|
||||
/// hfIdxODL 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.HiddenField hfIdxODL;
|
||||
}
|
||||
|
||||
@@ -3,27 +3,27 @@
|
||||
<%@ Register Src="~/WebUserControls/cmp_numRow.ascx" TagPrefix="uc1" TagName="cmp_numRow" %>
|
||||
|
||||
<div class="card border border-info rounded">
|
||||
<div class="card-header bg-info text-light">
|
||||
<div class="row">
|
||||
<div class="col-1 text-right">
|
||||
<i class="fas fa-angle-double-right"></i>
|
||||
</div>
|
||||
<div class="col-11">
|
||||
<h5>Lotti Componenti</h5>
|
||||
</div>
|
||||
<div class="card-header bg-info text-light">
|
||||
<div class="row">
|
||||
<div class="col-1 text-right">
|
||||
<i class="fas fa-angle-double-right"></i>
|
||||
</div>
|
||||
<div class="col-11">
|
||||
<h5>Lotti Componenti</h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body px-0">
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="Lotto" DataSourceID="ods" CssClass="table table-striped table-condensed table-sm small" AllowPaging="True">
|
||||
<HeaderStyle CssClass="default" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<SelectedRowStyle CssClass="table-info" />
|
||||
<EmptyDataTemplate>
|
||||
Nessun Risultato
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<%--<asp:TemplateField ShowHeader="False">
|
||||
<div class="card-body px-0">
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="Lotto" DataSourceID="ods" CssClass="table table-striped table-condensed table-sm small" AllowPaging="True">
|
||||
<HeaderStyle CssClass="default" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<SelectedRowStyle CssClass="table-info" />
|
||||
<EmptyDataTemplate>
|
||||
<%: traduci("NoRecord") %>
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<%--<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
<asp:LinkButton ID="lbtReset" runat="server" OnClick="lbtReset_Click" CssClass="btn btn-sm btn-primary" Visible="true" ToolTip="Reset"><i class="fas fa-sync"></i></asp:LinkButton>
|
||||
</HeaderTemplate>
|
||||
@@ -31,65 +31,65 @@
|
||||
<asp:LinkButton ID="lbtSel" runat="server" CausesValidation="False" CommandName="Select" Text="Seleziona" CssClass="btn btn-sm btn-info"><i class="fas fa-search"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>--%>
|
||||
<asp:BoundField DataField="Lotto" HeaderText="Lotto" ReadOnly="True" SortExpression="Lotto" />
|
||||
<asp:TemplateField HeaderText="Tipo" SortExpression="TipoLotto">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label3" runat="server" Text='<%# Eval("TipoLotto") %>' ToolTip='<%# Eval("Origine") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Articolo" SortExpression="CodArt">
|
||||
<ItemTemplate>
|
||||
<div class="row">
|
||||
<div class="col-6 font-weight-bold">
|
||||
<asp:Label ID="Label2" runat="server" Text='<%# Eval("CodArt") %>' />
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<asp:Label ID="Label4" runat="server" Text='<%# Eval("CodArtExt") %>' />
|
||||
</div>
|
||||
<div class="col-12 small">
|
||||
<i>
|
||||
<asp:Label ID="Label5" runat="server" Text='<%# Eval("DescrArt") %>' /></i>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Cod" SortExpression="CodStato">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# Eval("CodStato") %>' ToolTip='<%# Eval("DescStato") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Data" SortExpression="DtCrea">
|
||||
<ItemTemplate>
|
||||
<div>
|
||||
<asp:Label ID="Label7" runat="server" Text='<%# Eval("DtCrea", "{0:yyyy.MM.dd}") %>' />
|
||||
</div>
|
||||
<div class="small">
|
||||
<i>
|
||||
<asp:Label ID="Label8" runat="server" Text='<%# Eval("Note") %>' /></i>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Qta" SortExpression="QtaOrig">
|
||||
<ItemTemplate>
|
||||
<b>
|
||||
<asp:Label ID="Label9" runat="server" Text='<%# Eval("QtaCurr", "{0:N0}") %>' /></b>
|
||||
/
|
||||
<asp:BoundField DataField="Lotto" HeaderText="Lotto" ReadOnly="True" SortExpression="Lotto" />
|
||||
<asp:TemplateField HeaderText="Tipo" SortExpression="TipoLotto">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label3" runat="server" Text='<%# Eval("TipoLotto") %>' ToolTip='<%# Eval("Origine") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Articolo" SortExpression="CodArt">
|
||||
<ItemTemplate>
|
||||
<div class="row">
|
||||
<div class="col-6 font-weight-bold">
|
||||
<asp:Label ID="Label2" runat="server" Text='<%# Eval("CodArt") %>' />
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<asp:Label ID="Label4" runat="server" Text='<%# Eval("CodArtExt") %>' />
|
||||
</div>
|
||||
<div class="col-12 small">
|
||||
<i>
|
||||
<asp:Label ID="Label5" runat="server" Text='<%# Eval("DescrArt") %>' /></i>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Cod" SortExpression="CodStato">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# Eval("CodStato") %>' ToolTip='<%# Eval("DescStato") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Data" SortExpression="DtCrea">
|
||||
<ItemTemplate>
|
||||
<div>
|
||||
<asp:Label ID="Label7" runat="server" Text='<%# Eval("DtCrea", "{0:yyyy.MM.dd}") %>' />
|
||||
</div>
|
||||
<div class="small">
|
||||
<i>
|
||||
<asp:Label ID="Label8" runat="server" Text='<%# Eval("Note") %>' /></i>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Qta" SortExpression="QtaOrig">
|
||||
<ItemTemplate>
|
||||
<b>
|
||||
<asp:Label ID="Label9" runat="server" Text='<%# Eval("QtaCurr", "{0:N0}") %>' /></b>
|
||||
/
|
||||
<asp:Label ID="Label6" runat="server" Text='<%# Eval("QtaOrig", "{0:N0}") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="NumUdc" HeaderText="#" SortExpression="NumUdc" />
|
||||
<asp:TemplateField HeaderText="Attivo" SortExpression="Attivo">
|
||||
<ItemTemplate>
|
||||
<asp:CheckBox ID="CheckBox1" runat="server" Checked='<%# Eval("Attivo") %>' Enabled="false" ToolTip='<%# Eval("DtMod", "mod: {0:yyyy.MM.dd HH:mm:ss}") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getAncestor" TypeName="MagData.DS_MagTableAdapters.ElencoLottiTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfLotto" DefaultValue="#" Name="LottoOut" PropertyName="Value" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:HiddenField runat="server" ID="hfLotto" />
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="NumUdc" HeaderText="#" SortExpression="NumUdc" />
|
||||
<asp:TemplateField HeaderText="Attivo" SortExpression="Attivo">
|
||||
<ItemTemplate>
|
||||
<asp:CheckBox ID="CheckBox1" runat="server" Checked='<%# Eval("Attivo") %>' Enabled="false" ToolTip='<%# Eval("DtMod", "mod: {0:yyyy.MM.dd HH:mm:ss}") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getAncestor" TypeName="MagData.DS_MagTableAdapters.ElencoLottiTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfLotto" DefaultValue="#" Name="LottoOut" PropertyName="Value" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:HiddenField runat="server" ID="hfLotto" />
|
||||
</div>
|
||||
</div>
|
||||
+32
-32
@@ -1,44 +1,44 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 MP_MAG.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class cmp_dettLotti
|
||||
{
|
||||
public partial class cmp_dettLotti
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo grView.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
/// <summary>
|
||||
/// grView control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ods.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
/// <summary>
|
||||
/// ods control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfLotto.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfLotto;
|
||||
}
|
||||
/// <summary>
|
||||
/// hfLotto control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfLotto;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,92 +2,92 @@
|
||||
<%@ Register Src="~/WebUserControls/cmp_numRow.ascx" TagPrefix="uc1" TagName="cmp_numRow" %>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h4>LOTTI PRODOTTI</h4>
|
||||
</div>
|
||||
<div class="card-body px-0">
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="Lotto" DataSourceID="ods" CssClass="table table-striped table-condensed table-sm small" AllowPaging="True" OnSelectedIndexChanged="grView_SelectedIndexChanged">
|
||||
<HeaderStyle CssClass="default" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<SelectedRowStyle CssClass="table-info" />
|
||||
<EmptyDataTemplate>
|
||||
Nessun Risultato
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
<asp:LinkButton ID="lbtReset" runat="server" OnClick="lbtReset_Click" CssClass="btn btn-sm btn-primary" Visible="true" ToolTip="Reset"><i class="fas fa-sync"></i></asp:LinkButton>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbtSel" runat="server" CausesValidation="False" CommandName="Select" Text="Seleziona" CssClass="btn btn-sm btn-info"><i class="fas fa-search"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="Lotto" HeaderText="Lotto" ReadOnly="True" SortExpression="Lotto" />
|
||||
<asp:TemplateField HeaderText="Tipo" SortExpression="TipoLotto">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label3" runat="server" Text='<%# Eval("TipoLotto") %>' ToolTip='<%# Eval("Origine") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Articolo" SortExpression="CodArt">
|
||||
<ItemTemplate>
|
||||
<div class="row">
|
||||
<div class="col-6 font-weight-bold">
|
||||
<asp:Label ID="Label2" runat="server" Text='<%# Eval("CodArt") %>' />
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<asp:Label ID="Label4" runat="server" Text='<%# Eval("CodArtExt") %>' />
|
||||
</div>
|
||||
<div class="col-12 small">
|
||||
<i>
|
||||
<asp:Label ID="Label5" runat="server" Text='<%# Eval("DescrArt") %>' /></i>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Cod" SortExpression="CodStato">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# Eval("CodStato") %>' ToolTip='<%# Eval("DescStato") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Data" SortExpression="DtCrea">
|
||||
<ItemTemplate>
|
||||
<div>
|
||||
<asp:Label ID="Label7" runat="server" Text='<%# Eval("DtCrea", "{0:yyyy.MM.dd}") %>' />
|
||||
</div>
|
||||
<div class="small">
|
||||
<i>
|
||||
<asp:Label ID="Label8" runat="server" Text='<%# Eval("Note") %>' /></i>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Qta" SortExpression="QtaOrig">
|
||||
<ItemTemplate>
|
||||
<b>
|
||||
<asp:Label ID="Label9" runat="server" Text='<%# Eval("QtaCurr", "{0:N0}") %>' /></b>
|
||||
/
|
||||
<asp:Label ID="Label6" runat="server" Text='<%# Eval("QtaOrig", "{0:N0}") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="NumUdc" HeaderText="#" SortExpression="NumUdc" />
|
||||
<asp:TemplateField HeaderText="Attivo" SortExpression="Attivo">
|
||||
<ItemTemplate>
|
||||
<asp:CheckBox ID="CheckBox1" runat="server" Checked='<%# Eval("Attivo") %>' Enabled="false" ToolTip='<%# Eval("DtMod", "mod: {0:yyyy.MM.dd HH:mm:ss}") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getBySearch" TypeName="MagData.DS_MagTableAdapters.ElencoLottiTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter DefaultValue="*" Name="SearchVal" SessionField="valoreSearch" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
<div class="card-footer py-1">
|
||||
<div class="row small">
|
||||
<div class="col text-right">
|
||||
<uc1:cmp_numRow runat="server" ID="cmp_numRow" />
|
||||
</div>
|
||||
<div class="card-header">
|
||||
<h4>LOTTI PRODOTTI</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body px-0">
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="Lotto" DataSourceID="ods" CssClass="table table-striped table-condensed table-sm small" AllowPaging="True" OnSelectedIndexChanged="grView_SelectedIndexChanged">
|
||||
<HeaderStyle CssClass="default" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<SelectedRowStyle CssClass="table-info" />
|
||||
<EmptyDataTemplate>
|
||||
<%: traduci("NoRecord") %>
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
<asp:LinkButton ID="lbtReset" runat="server" OnClick="lbtReset_Click" CssClass="btn btn-sm btn-primary" Visible="true" ToolTip="Reset"><i class="fas fa-sync"></i></asp:LinkButton>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbtSel" runat="server" CausesValidation="False" CommandName="Select" Text="Seleziona" CssClass="btn btn-sm btn-info"><i class="fas fa-search"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="Lotto" HeaderText="Lotto" ReadOnly="True" SortExpression="Lotto" />
|
||||
<asp:TemplateField HeaderText="Tipo" SortExpression="TipoLotto">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label3" runat="server" Text='<%# Eval("TipoLotto") %>' ToolTip='<%# Eval("Origine") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Articolo" SortExpression="CodArt">
|
||||
<ItemTemplate>
|
||||
<div class="row">
|
||||
<div class="col-6 font-weight-bold">
|
||||
<asp:Label ID="Label2" runat="server" Text='<%# Eval("CodArt") %>' />
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<asp:Label ID="Label4" runat="server" Text='<%# Eval("CodArtExt") %>' />
|
||||
</div>
|
||||
<div class="col-12 small">
|
||||
<i>
|
||||
<asp:Label ID="Label5" runat="server" Text='<%# Eval("DescrArt") %>' /></i>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Cod" SortExpression="CodStato">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# Eval("CodStato") %>' ToolTip='<%# Eval("DescStato") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Data" SortExpression="DtCrea">
|
||||
<ItemTemplate>
|
||||
<div>
|
||||
<asp:Label ID="Label7" runat="server" Text='<%# Eval("DtCrea", "{0:yyyy.MM.dd}") %>' />
|
||||
</div>
|
||||
<div class="small">
|
||||
<i>
|
||||
<asp:Label ID="Label8" runat="server" Text='<%# Eval("Note") %>' /></i>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Qta" SortExpression="QtaOrig">
|
||||
<ItemTemplate>
|
||||
<b>
|
||||
<asp:Label ID="Label9" runat="server" Text='<%# Eval("QtaCurr", "{0:N0}") %>' /></b>
|
||||
/
|
||||
<asp:Label ID="Label6" runat="server" Text='<%# Eval("QtaOrig", "{0:N0}") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="NumUdc" HeaderText="#" SortExpression="NumUdc" />
|
||||
<asp:TemplateField HeaderText="Attivo" SortExpression="Attivo">
|
||||
<ItemTemplate>
|
||||
<asp:CheckBox ID="CheckBox1" runat="server" Checked='<%# Eval("Attivo") %>' Enabled="false" ToolTip='<%# Eval("DtMod", "mod: {0:yyyy.MM.dd HH:mm:ss}") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getBySearch" TypeName="MagData.DS_MagTableAdapters.ElencoLottiTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter DefaultValue="*" Name="SearchVal" SessionField="valoreSearch" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
<div class="card-footer py-1">
|
||||
<div class="row small">
|
||||
<div class="col text-right">
|
||||
<uc1:cmp_numRow runat="server" ID="cmp_numRow" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
+32
-32
@@ -1,44 +1,44 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 MP_MAG.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class cmp_elencoLotti
|
||||
{
|
||||
public partial class cmp_elencoLotti
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo grView.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
/// <summary>
|
||||
/// grView control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ods.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
/// <summary>
|
||||
/// ods control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo cmp_numRow.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::MP_MAG.WebUserControls.cmp_numRow cmp_numRow;
|
||||
}
|
||||
/// <summary>
|
||||
/// cmp_numRow control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::MP_MAG.WebUserControls.cmp_numRow cmp_numRow;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<SelectedRowStyle CssClass="table-info" />
|
||||
<EmptyDataTemplate>
|
||||
Nessun Risultato trovato
|
||||
<%: traduci("NoRecord") %> trovato
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
|
||||
Reference in New Issue
Block a user