TAB3:
- in conferma pezzi mostra pannello conferma
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
@if (odlOk)
|
||||
{
|
||||
<div class="@ConfCssWidth">
|
||||
<button class="btn btn-lg @ConfBg py-2 px-2 text-nowrap text-truncate" style="width: 100%" @onclick="()=>ToggleConfProd()">
|
||||
<button class="btn btn-lg @ConfBg py-2 px-2 text-nowrap text-truncate" style="width: 100%" @onclick="() => ToggleConfProd()">
|
||||
<span>@ConfTitle</span><i class="fa-solid @ConfTitleIcon ps-1"></i>
|
||||
</button>
|
||||
</div>
|
||||
@@ -80,90 +80,99 @@
|
||||
{
|
||||
<div class="cardBg bg-dark bg-gradient p-2 mt-2 border border-success border-2">
|
||||
<div class="d-flex justify-content-between">
|
||||
<div class="col-6">
|
||||
<div class="p-1">
|
||||
<div class="ps-1 fw-bold" style="font-size: 1.3rem;">Pz CONFERMATI <small>(prod. tot.)</small></div>
|
||||
<div class="rounded">
|
||||
<input class="form-control border-0 fw-bold" style="font-size: 1.5rem; background-color: #fff3cd; color: #000" aria-label="Floating label select example" @bind="numPzProdotti2Rec" @onblur="() => setConfirmBtn(true)" @onfocus="() => setConfirmBtn(false)" />
|
||||
</div>
|
||||
@if (isProcessing)
|
||||
{
|
||||
<div class="col-12">
|
||||
<LoadingData Title="Processing Dati Conferma" DisplayMode="LoadingData.SpinMode.BounceLine" DisplaySize="LoadingData.CtrlSize.Large"></LoadingData>
|
||||
</div>
|
||||
<div class="p-1">
|
||||
@if (enablePzProdLasciati)
|
||||
{
|
||||
<div class="ps-1 fw-bold" style="font-size: 1.3rem;">Pz LASCIATI <small>(prodotti)</small></div>
|
||||
<div class="bg-secondary rounded">
|
||||
<input class="form-control text-light bg-secondary border-0" style="font-size: 1.5rem;" aria-label="Floating label select example" @bind="numPzLasciati" @onblur="() => setConfirmBtn(true)" @onfocus="() => setConfirmBtn(false)" />
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="col-6">
|
||||
<div class="p-1">
|
||||
<div class="ps-1 fw-bold" style="font-size: 1.3rem;">Pz CONFERMATI <small>(prod. tot.)</small></div>
|
||||
<div class="rounded">
|
||||
<input class="form-control border-0 fw-bold" style="font-size: 1.5rem; background-color: #fff3cd; color: #000" aria-label="Floating label select example" @bind="numPzProdotti2Rec" @onblur="() => setConfirmBtn(true)" @onfocus="() => setConfirmBtn(false)" />
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<label class="btn btn-dark text-light btn-lg w-100" Visible="false"> </label>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<div style="display: flex; flex-direction: column; justify-content: space-between; height: 100%;">
|
||||
<div class="p-1" style="font-size: 1.4rem">
|
||||
<div class="d-flex justify-content-between lh-sm text-success">
|
||||
@if (lblPz2RecBuoni > 0)
|
||||
{
|
||||
<span>Pz Buoni</span>
|
||||
<span class="fw-bold">@lblPz2RecBuoni</span>
|
||||
}
|
||||
else
|
||||
{
|
||||
<span class="text-secondary">Pz Buoni</span>
|
||||
<span class="text-secondary">@lblPz2RecBuoni</span>
|
||||
}
|
||||
</div>
|
||||
<div class="d-flex justify-content-between lh-sm text-danger">
|
||||
@if (lblPz2RecScarto > 0)
|
||||
{
|
||||
<span>Pz scarto</span>
|
||||
<span>@lblPz2RecScarto</span>
|
||||
}
|
||||
else
|
||||
{
|
||||
<span class="text-secondary">Pz scarto</span>
|
||||
<span class="text-secondary">@lblPz2RecScarto</span>
|
||||
}
|
||||
</div>
|
||||
<div class="d-flex justify-content-between lh-sm text-info">
|
||||
@if (lblCicliRilavorati > 0)
|
||||
{
|
||||
<span>Cicli Rilav.</span>
|
||||
<span>@lblCicliRilavorati</span>
|
||||
}
|
||||
else
|
||||
{
|
||||
<span class="text-secondary">Cicli Rilav.</span>
|
||||
<span class="text-secondary">@lblCicliRilavorati</span>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-center h-100 d-flex flex-column align-items-center flex-nowrap justify-content-end">
|
||||
@($"{dtReqUpdate:HH:mm:ss} | {dtReqUpdate:ddd yyyy.MM.dd}")
|
||||
</div>
|
||||
<div class="p-1">
|
||||
@if (showConfirm && lblPz2RecBuoni >= 0)
|
||||
@if (enablePzProdLasciati)
|
||||
{
|
||||
<button class="btn btn-success text-light btn-lg w-100 h-100" @onclick="SalvaConfPz"><i class="fa-regular fa-floppy-disk"></i></button>
|
||||
}
|
||||
else if (showConfirm && lblPz2RecBuoni < 0 && !chkPzBuoniNeg)
|
||||
{
|
||||
<button class="btn btn-success text-light btn-lg w-100 h-100" @onclick="SalvaConfPz"><i class="fa-regular fa-floppy-disk"></i></button>
|
||||
}
|
||||
else if (showConfirm && lblPz2RecBuoni < 0 && chkPzBuoniNeg)
|
||||
{
|
||||
<div class="btn btn-danger btn-lg text-light fw-bold text-center w-100 h-100">Pezzi buoni negativi!</div>
|
||||
<div class="ps-1 fw-bold" style="font-size: 1.3rem;">Pz LASCIATI <small>(prodotti)</small></div>
|
||||
<div class="bg-secondary rounded">
|
||||
<input class="form-control text-light bg-secondary border-0" style="font-size: 1.5rem;" aria-label="Floating label select example" @bind="numPzLasciati" @onblur="() => setConfirmBtn(true)" @onfocus="() => setConfirmBtn(false)" />
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<btn class="btn btn-info btn-lg w-100 h-100" disabled>Completare le modifiche!</btn>
|
||||
<label class="btn btn-dark text-light btn-lg w-100" Visible="false"> </label>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<div style="display: flex; flex-direction: column; justify-content: space-between; height: 100%;">
|
||||
<div class="p-1" style="font-size: 1.4rem">
|
||||
<div class="d-flex justify-content-between lh-sm text-success">
|
||||
@if (lblPz2RecBuoni > 0)
|
||||
{
|
||||
<span>Pz Buoni</span>
|
||||
<span class="fw-bold">@lblPz2RecBuoni</span>
|
||||
}
|
||||
else
|
||||
{
|
||||
<span class="text-secondary">Pz Buoni</span>
|
||||
<span class="text-secondary">@lblPz2RecBuoni</span>
|
||||
}
|
||||
</div>
|
||||
<div class="d-flex justify-content-between lh-sm text-danger">
|
||||
@if (lblPz2RecScarto > 0)
|
||||
{
|
||||
<span>Pz scarto</span>
|
||||
<span>@lblPz2RecScarto</span>
|
||||
}
|
||||
else
|
||||
{
|
||||
<span class="text-secondary">Pz scarto</span>
|
||||
<span class="text-secondary">@lblPz2RecScarto</span>
|
||||
}
|
||||
</div>
|
||||
<div class="d-flex justify-content-between lh-sm text-info">
|
||||
@if (lblCicliRilavorati > 0)
|
||||
{
|
||||
<span>Cicli Rilav.</span>
|
||||
<span>@lblCicliRilavorati</span>
|
||||
}
|
||||
else
|
||||
{
|
||||
<span class="text-secondary">Cicli Rilav.</span>
|
||||
<span class="text-secondary">@lblCicliRilavorati</span>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-center h-100 d-flex flex-column align-items-center flex-nowrap justify-content-end">
|
||||
@($"{dtReqUpdate:HH:mm:ss} | {dtReqUpdate:ddd yyyy.MM.dd}")
|
||||
</div>
|
||||
<div class="p-1">
|
||||
@if (showConfirm && lblPz2RecBuoni >= 0)
|
||||
{
|
||||
<button class="btn btn-success text-light btn-lg w-100 h-100" @onclick="SalvaConfPz"><i class="fa-regular fa-floppy-disk"></i></button>
|
||||
}
|
||||
else if (showConfirm && lblPz2RecBuoni < 0 && !chkPzBuoniNeg)
|
||||
{
|
||||
<button class="btn btn-success text-light btn-lg w-100 h-100" @onclick="SalvaConfPz"><i class="fa-regular fa-floppy-disk"></i></button>
|
||||
}
|
||||
else if (showConfirm && lblPz2RecBuoni < 0 && chkPzBuoniNeg)
|
||||
{
|
||||
<div class="btn btn-danger btn-lg text-light fw-bold text-center w-100 h-100">Pezzi buoni negativi!</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<btn class="btn btn-info btn-lg w-100 h-100" disabled>Completare le modifiche!</btn>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
@@ -181,7 +190,7 @@
|
||||
<div class="d-flex align-items-center text-center justify-content-center">
|
||||
@if (isProcessing)
|
||||
{
|
||||
<i class="fa-solid fa-spinner span fs-1 py-1"></i>
|
||||
<i class="fa-solid fa-circle-notch fa-spin fs-1 py-1"></i>
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -198,7 +207,7 @@
|
||||
<div class="text-dark d-flex align-items-center text-center justify-content-center">
|
||||
@if (isProcessing)
|
||||
{
|
||||
<i class="fa-solid fa-spinner span fs-1 py-1"></i>
|
||||
<i class="fa-solid fa-circle-notch fa-spin fs-1 py-1"></i>
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -215,7 +224,7 @@
|
||||
<div class="text-dark d-flex align-items-center text-center justify-content-center">
|
||||
@if (isProcessing)
|
||||
{
|
||||
<i class="fa-solid fa-spinner span fs-1 py-1"></i>
|
||||
<i class="fa-solid fa-circle-notch fa-spin fs-1 py-1"></i>
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -232,7 +241,7 @@
|
||||
<div class="text-dark d-flex align-items-center text-center justify-content-center">
|
||||
@if (isProcessing)
|
||||
{
|
||||
<i class="fa-solid fa-spinner span fs-1 py-1"></i>
|
||||
<i class="fa-solid fa-circle-notch fa-spin fs-1 py-1"></i>
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -249,7 +258,7 @@
|
||||
<div class="text-dark d-flex align-items-center text-center justify-content-center">
|
||||
@if (isProcessing)
|
||||
{
|
||||
<i class="fa-solid fa-spinner span fs-1 py-1"></i>
|
||||
<i class="fa-solid fa-circle-notch fa-spin fs-1 py-1"></i>
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<Version>6.16.2506.3014</Version>
|
||||
<Version>6.16.2507.113</Version>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<RootNamespace>MP_TAB3</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>Modulo MAPOSPEC </i>
|
||||
<h4>Versione: 6.16.2506.3014</h4>
|
||||
<h4>Versione: 6.16.2507.113</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
6.16.2506.3014
|
||||
6.16.2507.113
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>6.16.2506.3014</version>
|
||||
<version>6.16.2507.113</version>
|
||||
<url>https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/MP-TAB3.zip</url>
|
||||
<changelog>https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using Microsoft.Data.SqlClient;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using MP.Data.DbModels;
|
||||
using MP.Core.Objects;
|
||||
using MP.Data.DbModels;
|
||||
using NLog;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -10,8 +10,6 @@ using System.Data;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using static MP.Core.Objects.Enums;
|
||||
using System.Drawing.Drawing2D;
|
||||
using ZXing;
|
||||
|
||||
namespace MP.Data.Controllers
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user