Merge branch 'ADM' into develop
This commit is contained in:
@@ -471,10 +471,8 @@
|
||||
<Content Include="images\view_m.png" />
|
||||
<Content Include="images\view_s.gif" />
|
||||
<Content Include="images\view_s.png" />
|
||||
<Content Include="libzstd.dll" />
|
||||
<Content Include="login.aspx" />
|
||||
<Content Include="menu.aspx" />
|
||||
<Content Include="mongocrypt.dll" />
|
||||
<Content Include="Planner.aspx" />
|
||||
<Content Include="Properties\PublishProfiles\IIS01.pubxml.user" />
|
||||
<Content Include="Properties\PublishProfiles\IIS02.pubxml.user" />
|
||||
@@ -512,8 +510,6 @@
|
||||
<Content Include="Content\bootstrap-reboot.css.map" />
|
||||
<Content Include="Content\bootstrap-grid.min.css.map" />
|
||||
<Content Include="Content\bootstrap-grid.css.map" />
|
||||
<Content Include="libmongocrypt.so" />
|
||||
<Content Include="libmongocrypt.dylib" />
|
||||
<Content Include="App_Readme\SteamWare_demo\example-NLog.config" />
|
||||
<Content Include="App_Readme\SteamWare_demo\example-app.config" />
|
||||
<None Include="Scripts\jquery-3.4.1.intellisense.js" />
|
||||
@@ -595,8 +591,6 @@
|
||||
<Content Include="Scripts\umd\popper-utils.min.js" />
|
||||
<Content Include="Scripts\umd\popper.js" />
|
||||
<Content Include="Scripts\umd\popper.min.js" />
|
||||
<Content Include="snappy32.dll" />
|
||||
<Content Include="snappy64.dll" />
|
||||
<Content Include="StoricoTC.aspx" />
|
||||
<Content Include="TechSheetMan.aspx" />
|
||||
<Content Include="test.aspx" />
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagPrefix="uc1" TagName="mod_menuBottom" %>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="it" xml:lang="it">
|
||||
<head runat="server">
|
||||
<title>Simplepage</title>
|
||||
<%--<link href="../Style.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="it" xml:lang="it">
|
||||
<head runat="server">
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom"
|
||||
TagPrefix="uc5" %>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="it" xml:lang="it">
|
||||
<head runat="server">
|
||||
<title>MP-ADM: <%: SteamWare.devicesAuthProxy.getPage(Request.Url) %></title>
|
||||
<link href="~/Content/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="it" xml:lang="it">
|
||||
<head runat="server">
|
||||
<title>Untitled Page</title>
|
||||
<%--<link href="~/Style.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_newPromessaODL.ascx.cs" Inherits="MP_ADM.WebUserControls.mod_newPromessaODL" %>
|
||||
|
||||
<div class="row my-2 textCondens font-weight-bold">
|
||||
<div class="row my-2 textCondens">
|
||||
<div class="col-4 pr-0">
|
||||
<div class="text-truncate">
|
||||
Articolo (ricerca + selezione)
|
||||
@@ -83,6 +83,14 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-2 pr-0 pl-1">
|
||||
<div class="text-truncate">
|
||||
DueDate
|
||||
</div>
|
||||
<div class="my-0">
|
||||
<asp:TextBox runat="server" ID="txtDueDate" CssClass="form form-control text-right" TextMode="Date" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-1 pr-0 pl-1">
|
||||
<div class="text-truncate">
|
||||
Priorita
|
||||
</div>
|
||||
@@ -90,7 +98,7 @@
|
||||
<asp:TextBox runat="server" ID="txtPrio" CssClass="form form-control text-right" TextMode="Number" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-2 pr-0 pl-1">
|
||||
<div class="col-1 pr-0 pl-1">
|
||||
<div class="text-truncate">
|
||||
Attivabile
|
||||
</div>
|
||||
|
||||
@@ -37,6 +37,7 @@ namespace MP_ADM.WebUserControls
|
||||
txtNumPz.Text = "1";
|
||||
txtPzPallet.Text = "1";
|
||||
txtPrio.Text = "1";
|
||||
txtDueDate.Text = $"{DateTime.Today}";
|
||||
// in base ad impostazione mostro TC come min:sec o min.cent
|
||||
divTCms.Visible = false;
|
||||
divTCmc.Visible = false;
|
||||
@@ -97,6 +98,7 @@ namespace MP_ADM.WebUserControls
|
||||
decimal TCiclo = 0;
|
||||
bool attiv = false;
|
||||
int prio = 0;
|
||||
DateTime dueDate = DateTime.Today;
|
||||
|
||||
try
|
||||
{
|
||||
@@ -128,24 +130,25 @@ namespace MP_ADM.WebUserControls
|
||||
pzPallet = Convert.ToInt32(txtPzPallet.Text.Trim());
|
||||
attiv = chkAttiv.Checked;
|
||||
int.TryParse(txtPrio.Text, out prio);
|
||||
DateTime.TryParse(txtDueDate.Text, out dueDate);
|
||||
|
||||
// controllo se sono in modalità EDIT faccio un update, altrimenti faccio un INSERT...
|
||||
if (memLayer.ML.isInSessionObject("idxProm2Edit"))
|
||||
{
|
||||
int idxProm = memLayer.ML.IntSessionObj("idxProm2Edit");
|
||||
DataLayerObj.taPODL.updateQuery(KeyReq, KeyReq, attiv, CodArticolo, Gruppo, IdxMacchina, numPezzi, TCiclo, DateTime.Now, prio, pzPallet, idxProm);
|
||||
DataLayerObj.taPODL.updateQuery(KeyReq, KeyReq, attiv, CodArticolo, Gruppo, IdxMacchina, numPezzi, TCiclo, dueDate, prio, pzPallet, idxProm);
|
||||
memLayer.ML.emptySessionVal("idxProm2Edit");
|
||||
}
|
||||
else
|
||||
{
|
||||
// 2018.09.25 --> inserisco PROMESSA ODL
|
||||
//MapoDb.DataLayerObj.taODL.InsertQuery(CodArticolo, MapoDb.DataLayer.MatrOpr, IdxMacchina, numPezzi, TCiclo, pzPallet, chkToAs400.Checked, txtCommessa.Text.Trim());
|
||||
DataLayerObj.taPODL.insertQuery(KeyReq, KeyReq, attiv, CodArticolo, Gruppo, IdxMacchina, numPezzi, TCiclo, DateTime.Now, prio, pzPallet, "");
|
||||
DataLayerObj.taPODL.insertQuery(KeyReq, KeyReq, attiv, CodArticolo, Gruppo, IdxMacchina, numPezzi, TCiclo, dueDate, prio, pzPallet, "");
|
||||
}
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
logger.lg.scriviLog(string.Format("Non sono riuscito ad inserire la PromessaODL con i seguenti parametri: {0} | {1} | {2} | {3} | {4} | {5} | {6} | {7} | {8}{9}{10}", KeyReq, attiv, CodArticolo, IdxMacchina, numPezzi, TCiclo, prio, pzPallet, memLayer.ML.IntSessionObj("idxProm2Edit"), Environment.NewLine, exc), tipoLog.EXCEPTION);
|
||||
logger.lg.scriviLog($"Non sono riuscito ad inserire la PromessaODL con i seguenti parametri: {KeyReq} | {attiv} | {CodArticolo} | {IdxMacchina} | {numPezzi} | {TCiclo} | {prio} | {pzPallet} | {dueDate} | {memLayer.ML.IntSessionObj("idxProm2Edit")}{Environment.NewLine}{exc}", tipoLog.EXCEPTION);
|
||||
memLayer.ML.emptySessionVal("idxProm2Edit");
|
||||
}
|
||||
// segnalo update
|
||||
@@ -284,6 +287,7 @@ namespace MP_ADM.WebUserControls
|
||||
}
|
||||
ddlMacchine.SelectedValue = rPODL.IdxMacchina;
|
||||
txtKeyExt.Text = rPODL.KeyRichiesta;
|
||||
txtDueDate.Text = $"{rPODL.DueDate:yyyy-MM-dd}";
|
||||
// svuoto se ci fosse cloning......
|
||||
memLayer.ML.emptySessionVal("idxProm2Clone");
|
||||
}
|
||||
|
||||
+36
-25
@@ -7,11 +7,13 @@
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MP_ADM.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_newPromessaODL {
|
||||
|
||||
namespace MP_ADM.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class mod_newPromessaODL
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtSearch.
|
||||
/// </summary>
|
||||
@@ -20,7 +22,7 @@ namespace MP_ADM.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtSearch;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ddlArticolo.
|
||||
/// </summary>
|
||||
@@ -29,7 +31,7 @@ namespace MP_ADM.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlArticolo;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsArticoli.
|
||||
/// </summary>
|
||||
@@ -38,7 +40,7 @@ namespace MP_ADM.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsArticoli;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ddlGruppi.
|
||||
/// </summary>
|
||||
@@ -47,7 +49,7 @@ namespace MP_ADM.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlGruppi;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsGruppi.
|
||||
/// </summary>
|
||||
@@ -56,7 +58,7 @@ namespace MP_ADM.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsGruppi;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ddlMacchine.
|
||||
/// </summary>
|
||||
@@ -65,7 +67,7 @@ namespace MP_ADM.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlMacchine;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsMacchine.
|
||||
/// </summary>
|
||||
@@ -74,7 +76,7 @@ namespace MP_ADM.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsMacchine;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtNumPz.
|
||||
/// </summary>
|
||||
@@ -83,7 +85,7 @@ namespace MP_ADM.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtNumPz;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divTCms.
|
||||
/// </summary>
|
||||
@@ -92,7 +94,7 @@ namespace MP_ADM.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divTCms;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtTCms.
|
||||
/// </summary>
|
||||
@@ -101,7 +103,7 @@ namespace MP_ADM.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtTCms;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divTCmc.
|
||||
/// </summary>
|
||||
@@ -110,7 +112,7 @@ namespace MP_ADM.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divTCmc;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtTCmc.
|
||||
/// </summary>
|
||||
@@ -119,7 +121,7 @@ namespace MP_ADM.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtTCmc;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtKeyExt.
|
||||
/// </summary>
|
||||
@@ -128,7 +130,16 @@ namespace MP_ADM.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtKeyExt;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtDueDate.
|
||||
/// </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.TextBox txtDueDate;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtPrio.
|
||||
/// </summary>
|
||||
@@ -137,7 +148,7 @@ namespace MP_ADM.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtPrio;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo chkAttiv.
|
||||
/// </summary>
|
||||
@@ -146,7 +157,7 @@ namespace MP_ADM.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.CheckBox chkAttiv;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtPzPallet.
|
||||
/// </summary>
|
||||
@@ -155,7 +166,7 @@ namespace MP_ADM.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtPzPallet;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtOk.
|
||||
/// </summary>
|
||||
@@ -164,7 +175,7 @@ namespace MP_ADM.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtOk;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtCancel.
|
||||
/// </summary>
|
||||
@@ -173,7 +184,7 @@ namespace MP_ADM.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtCancel;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divTempi.
|
||||
/// </summary>
|
||||
@@ -182,7 +193,7 @@ namespace MP_ADM.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divTempi;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo grViewTempi.
|
||||
/// </summary>
|
||||
@@ -191,7 +202,7 @@ namespace MP_ADM.WebUserControls {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grViewTempi;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsTempi.
|
||||
/// </summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user