COmpletata gestione spezzoni x editing e display dettaglio

This commit is contained in:
Samuele Locatelli
2024-08-02 08:50:44 +02:00
parent 305f65180a
commit 5b1a067fc3
8 changed files with 39 additions and 15 deletions
+17 -10
View File
@@ -1,20 +1,27 @@
@if (CurrRecord != null)
{
<div class="row g-1">
<div class="col-md-8">
<div class="col-md-9">
<div class="input-group">
<div class="form-floating">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" @bind="@CurrRecord.IsRemn">
@* <label class="form-check-label">Spezzone</label> *@
<div class="form-floating" title="Spezzone">
<div class="form-control">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" @bind="@CurrRecord.IsRemn">
</div>
</div>
<label class="small">Spezzone</label>
<label class="small">Spezz.</label>
@* <div class="form-control">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" @bind="@(IsAcquisto)">
</div>
<div class="form-floating">
</div>
<label class="small">Acqusito</label> *@
</div>
<div class="form-floating" title="Giacenza">
<input type="text" class="form-control" @bind="@CurrRecord.QtyAvail">
<label class="small">Giacenza</label>
<label class="small">Giac.</label>
</div>
<div class="form-floating">
<div class="form-floating w-25">
<input type="text" class="form-control" @bind="@CurrRecord.Note">
<label class="small">Note</label>
</div>
@@ -24,7 +31,7 @@
</div>
</div>
</div>
<div class="col-md-4">
<div class="col-md-3">
<div class="d-flex">
<div class="input-group">
@if (CurrRecord.MaterialNav.IsWall)
+6
View File
@@ -51,6 +51,12 @@ namespace MagMan.UI.Components
}
}
protected bool IsAcquisto
{
get => !(CurrRecord!.IsRemn);
set => CurrRecord!.IsRemn = !value;
}
#endregion Protected Methods
#region Private Properties
+11
View File
@@ -60,6 +60,7 @@
</th>
<th class="text-end">Qty <Sorter ParamName="Qty" IsAsc="@sortAsc" CurrParam="@sortField" sortReq="SortRequested"></Sorter></th>
<th>ID <Sorter ParamName="RawItemId" IsAsc="@sortAsc" CurrParam="@sortField" sortReq="SortRequested"></Sorter></th>
<th>A/S <Sorter ParamName="IsRemn" IsAsc="@sortAsc" CurrParam="@sortField" sortReq="SortRequested"></Sorter></th>
<th>Note <Sorter ParamName="Note" IsAsc="@sortAsc" CurrParam="@sortField" sortReq="SortRequested"></Sorter></th>
<th>Posizione <Sorter ParamName="Location" IsAsc="@sortAsc" CurrParam="@sortField" sortReq="SortRequested"></Sorter></th>
@if (MaterialSel.IsWall)
@@ -109,6 +110,16 @@
}
&nbsp;@item.RawItemId
</td>
<td>
@if(item.IsRemn)
{
<i class="fas fa-cut"></i>
}
else
{
<i class="fas fa-tree"></i>
}
</td>
<td>
@item.Note
</td>
+1 -1
View File
@@ -57,7 +57,7 @@ namespace MagMan.UI.Components
}
protected string remnMessage
{
get => showRemn ? "Mostra Spezzoni" : "Solo Acquisto";
get => "Mostra Spezzoni";// showRemn ? "Mostra Spezzoni" : "Solo Acquisto";
}
[Inject]
+1 -1
View File
@@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Version>1.0.2408.0119</Version>
<Version>1.0.2408.0208</Version>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>MagMan - Wood Warehouse Management System</i>
<h4>Versione: 1.0.2408.0119</h4>
<h4>Versione: 1.0.2408.0208</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
1.0.2408.0119
1.0.2408.0208
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>1.0.2408.0119</version>
<version>1.0.2408.0208</version>
<url>http://nexus.steamware.net/repository/SWS/MagMan/stable/0/MagMan.UI.zip</url>
<changelog>http://nexus.steamware.net/repository/SWS/MagMan/stable/0/ChangeLog.html</changelog>
<mandatory>false</mandatory>