fix tolte tutte le virgole e i punti per migliaia

This commit is contained in:
zaccaria.majid
2023-11-28 12:43:34 +01:00
parent ee111d84c1
commit 60c64a925e
10 changed files with 24 additions and 40 deletions
+10 -10
View File
@@ -58,15 +58,15 @@ else
<div class="d-flex justify-content-around">
<div class="text-center text-success d-flex justify-content-between">
<div>
<i class="fa-regular fa-circle-check"></i>&nbsp; @($" {RecMSE.PezziConf:N0}") &nbsp;
<i class="fa-regular fa-circle-check"></i>&nbsp; @($" {RecMSE.PezziConf}") &nbsp;
</div>
<div class="text-danger">
+ &nbsp; @($" {0:N0}")
+ &nbsp; @($" {0}")
</div>
</div>
<div class="text-center text-warning ">
<div>
<i class="fa-solid fa-layer-group"></i>&nbsp; @($" {RecMSE.PezziProd:N0}")
<i class="fa-solid fa-layer-group"></i>&nbsp; @($" {RecMSE.PezziProd}")
</div>
</div>
</div>
@@ -111,16 +111,16 @@ else
<div class="col-4"><i class="fa-regular fa-circle-check"></i></div>
<div class="col-8 d-flex justify-content-between">
<div>
@($"{RecMSE.PezziConf:N0}")
@($"{RecMSE.PezziConf}")
</div>
<div class="text-danger">
+ &nbsp; @($" {0:N0}")
+ &nbsp; @($" {0}")
</div>
</div>
</div>
<div class="text-center text-warning d-flex justify-content-between">
<div class="col-4"><i class="fa-solid fa-layer-group"></i></div>
<div class="col-8">@($"{RecMSE.PezziProd:N0}")</div>
<div class="col-8">@($"{RecMSE.PezziProd}")</div>
</div>
<div class="text-center text-light d-flex justify-content-between">
<div class="col-4"><span>ART.</span></div>
@@ -153,20 +153,20 @@ else
<div class="col-4"><i class="fa-regular fa-circle-check"></i></div>
<div class="col-8 d-flex justify-content-between">
<div>
@($"{RecMSE.PezziConf:N0}")
@($"{RecMSE.PezziConf}")
</div>
<div class="text-danger">
+ &nbsp; @($" {0:N0}")
+ &nbsp; @($" {0}")
</div>
</div>
</div>
<div class="text-end text-warning d-flex justify-content-between">
<div class="col-4"><i class="fa-solid fa-layer-group"></i></div>
<div class="col-8">@($"{RecMSE.PezziProd:N0}")</div>
<div class="col-8">@($"{RecMSE.PezziProd}")</div>
</div>
<div class="text-end text-primary d-flex justify-content-between">
<div class="col-4"><i class="fa-brands fa-stack-overflow"></i></div>
<div class="col-8">@($"{RecMSE.extraVal:N0}")</div>
<div class="col-8">@($"{RecMSE.extraVal}")</div>
</div>
</div>
</div>
+2 -2
View File
@@ -336,7 +336,7 @@ namespace MP_TAB_SERV.Components
{
TimeSpan estDur = TimeSpan.FromMinutes((double)tcRichAttr * currPodl.NumPezzi);
string stima = estDur.TotalHours > 1 ? $"{estDur.TotalHours:N1} ore" : $"{estDur.TotalMinutes:N1} min";
if (!await JSRuntime.InvokeAsync<bool>("confirm", $"PODL: {currPodl.IdxPromessa}{Environment.NewLine}Art: [{currPodl.CodArticolo}] {currPodl.DescArticolo}{Environment.NewLine}Pezzi: {currPodl.NumPezzi:N0} * TCiclo: {tcRichAttr:N3}min{Environment.NewLine}Tempo stimato: {stima}{Environment.NewLine}{Environment.NewLine}Confermi la chiusura della fase di attrezzaggio?"))
if (!await JSRuntime.InvokeAsync<bool>("confirm", $"PODL: {currPodl.IdxPromessa}{Environment.NewLine}Art: [{currPodl.CodArticolo}] {currPodl.DescArticolo}{Environment.NewLine}Pezzi: {currPodl.NumPezzi} * TCiclo: {tcRichAttr:N3}min{Environment.NewLine}Tempo stimato: {stima}{Environment.NewLine}{Environment.NewLine}Confermi la chiusura della fase di attrezzaggio?"))
return;
// preparo gestione progress display
@@ -443,7 +443,7 @@ namespace MP_TAB_SERV.Components
TimeSpan estDur = TimeSpan.FromMinutes((double)tcRichAttr * currPodl.NumPezzi);
string stima = estDur.TotalHours > 1 ? $"{estDur.TotalHours:N1} ore" : $"{estDur.TotalMinutes:N1} min";
if (!await JSRuntime.InvokeAsync<bool>("confirm", $"PODL: {currPodl.IdxPromessa}{Environment.NewLine}Art: [{currPodl.CodArticolo}] {currPodl.DescArticolo}{Environment.NewLine}Pezzi: {currPodl.NumPezzi:N0} * TCiclo: {tcRichAttr:N3}min{Environment.NewLine}Tempo stimato: {stima}{Environment.NewLine}{Environment.NewLine}Confermi inizio della fase di attrezzaggio?"))
if (!await JSRuntime.InvokeAsync<bool>("confirm", $"PODL: {currPodl.IdxPromessa}{Environment.NewLine}Art: [{currPodl.CodArticolo}] {currPodl.DescArticolo}{Environment.NewLine}Pezzi: {currPodl.NumPezzi} * TCiclo: {tcRichAttr:N3}min{Environment.NewLine}Tempo stimato: {stima}{Environment.NewLine}{Environment.NewLine}Confermi inizio della fase di attrezzaggio?"))
return;
/***************************************************
+4 -4
View File
@@ -90,7 +90,7 @@
}
else
{
<span class="fw-bold" style="font-size: 3vh">@($"{numPzProdotti2Rec:N0}")</span>
<span class="fw-bold" style="font-size: 3vh">@numPzProdotti2Rec</span>
}
</div>
</div>
@@ -107,7 +107,7 @@
}
else
{
<span class="fw-bold" style="font-size: 3vh">@numPzProdotti.ToString("N0")</span>
<span class="fw-bold" style="font-size: 3vh">@numPzProdotti</span>
}
</div>
</div>
@@ -124,7 +124,7 @@
}
else
{
<span class="fw-bold" style="font-size: 3vh">@numPzScaConf.ToString("N0")</span>
<span class="fw-bold" style="font-size: 3vh">@numPzScaConf</span>
}
</div>
</div>
@@ -141,7 +141,7 @@
}
else
{
<span class="fw-bold" style="font-size: 3vh">@numPzBuoniConf.ToString("N0")</span>
<span class="fw-bold" style="font-size: 3vh">@numPzBuoniConf</span>
}
</div>
</div>
+1 -1
View File
@@ -179,7 +179,7 @@ namespace MP_TAB_SERV.Components
RecMSE = ListMSE.Find(x => x.IdxMacchina == IdxMaccSel);
}
// mostro output
lblOut = $"Confermata produzione {numPzConfermati - numPzLasciati} pezzi (+{numPzLasciati} pz lasciati, +{numPzScarto2Rec:N0} pz scarto) |{dtReqUpdate:HH:mm:ss} | {dtReqUpdate:ddd yyyy.MM.dd}";
lblOut = $"Confermata produzione {numPzConfermati - numPzLasciati} pezzi (+{numPzLasciati} pz lasciati, +{numPzScarto2Rec} pz scarto) |{dtReqUpdate:HH:mm:ss} | {dtReqUpdate:ddd yyyy.MM.dd}";
// cambio button conferma...
showInnov = false;
// sollevo evento!
+1 -1
View File
@@ -72,7 +72,7 @@ else
<td>
<div class="row">
<div class="col-12 col-lg-6 text-nowrap text-success">
Tot: @($"{item.NumPezzi:N0}")
Tot: @($"{item.NumPezzi}")
<div class="text-secondary textCondens">
@item.PzPallet pz/pal
</div>
+2 -18
View File
@@ -49,7 +49,7 @@
<span>Nr Pezzi lanciati</span>
</div>
<div class="text-center fw-bold">
<span>@($"{RecMSE.NumPezzi:N0}") pz.</span>
<span>@($"{RecMSE.NumPezzi}") pz.</span>
</div>
<div class="text-center small">
</div>
@@ -68,22 +68,6 @@
</div>
</div>
</div>
<div class="d-flex justify-content-between ">
<div class="col-3 p-1 flex-fill">
<div class="cardFullHeight p-1">
@@ -91,7 +75,7 @@
<span>Nr pezzi fatti</span>
</div>
<div class="text-center fw-bold">
<span>(@($"{RecMSE.PezziProd:N0}") pz.)</span>
<span>(@($"{RecMSE.PezziProd}") pz.)</span>
</div>
<div class="text-center small">
</div>
+1 -1
View File
@@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<Version>6.16.2311.2811</Version>
<Version>6.16.2311.2812</Version>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MP_TAB_SERV</RootNamespace>
</PropertyGroup>
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MAPOSPEC </i>
<h4>Versione: 6.16.2311.2811</h4>
<h4>Versione: 6.16.2311.2812</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2311.2811
6.16.2311.2812
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2311.2811</version>
<version>6.16.2311.2812</version>
<url>https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/MP-TAB-SERV.zip</url>
<changelog>https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/ChangeLog.html</changelog>
<mandatory>false</mandatory>