aggiunto metodo in dataservice x sessioni attive
+ display in pagina sessioni
This commit is contained in:
@@ -76,6 +76,13 @@ namespace MP.INVE.Data
|
||||
return result;
|
||||
}
|
||||
|
||||
public List<InventorySessionModel> InventSessCurrList()
|
||||
{
|
||||
List<InventorySessionModel> result = new List<InventorySessionModel>();
|
||||
result = dbController.InventSessCurrList();
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
#endregion Public Methods
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<RootNamespace>MP.INVE</RootNamespace>
|
||||
<Version>6.16.2211.1509</Version>
|
||||
<Version>6.16.2211.1510</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -2,6 +2,44 @@
|
||||
|
||||
<h3>Sessione</h3>
|
||||
|
||||
@code {
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Inventory Session Id</th>
|
||||
<th scope="col">Description</th>
|
||||
<th scope="col">Operatore</th>
|
||||
<th scope="col">Data inizio</th>
|
||||
<th scope="col">Data fine</th>
|
||||
<th scope="col">Trasferita</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@if (elencoSessioni != null)
|
||||
{
|
||||
@foreach (var item in elencoSessioni)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@item.InveSessID
|
||||
</td>
|
||||
<td>
|
||||
@item.Description
|
||||
</td>
|
||||
<td>
|
||||
@item.UserCrea
|
||||
</td>
|
||||
<td>
|
||||
@item.DtStart
|
||||
</td>
|
||||
<td>
|
||||
@item.DtEnd
|
||||
</td>
|
||||
<td>
|
||||
@item.Transferred
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using System.Net.Http;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
using Microsoft.AspNetCore.Components.Web.Virtualization;
|
||||
using Microsoft.JSInterop;
|
||||
using MP.INVE;
|
||||
using MP.INVE.Shared;
|
||||
using MP.INVE.Components;
|
||||
using MP.Data.DatabaseModels;
|
||||
using MP.INVE.Data;
|
||||
|
||||
namespace MP.INVE.Pages
|
||||
{
|
||||
public partial class Session
|
||||
{
|
||||
[Inject]
|
||||
private MiDataService MIDataservice { get; set; } = null!;
|
||||
|
||||
private List<InventorySessionModel>? elencoSessioni;
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
//await FilterChanged.InvokeAsync(actFilter);
|
||||
await Task.Delay(1);
|
||||
elencoSessioni = MIDataservice.InventSessCurrList();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>Modulo MAPOINVE </i>
|
||||
<h4>Versione: 6.16.2211.1509</h4>
|
||||
<h4>Versione: 6.16.2211.1510</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
6.16.2211.1509
|
||||
6.16.2211.1510
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>6.16.2211.1509</version>
|
||||
<version>6.16.2211.1510</version>
|
||||
<url>https://nexus.steamware.net/repository/SWS/MP-INVE/stable/LAST/MP.INVE.zip</url>
|
||||
<changelog>https://nexus.steamware.net/repository/SWS/MP-INVE/stable/LAST/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
Reference in New Issue
Block a user