Aggiunta data osolescenza in articoli
This commit is contained in:
parent
b99fbbd77f
commit
f06dfba2cc
@ -59,7 +59,7 @@ namespace VirtualTask.Controllers
|
|||||||
{
|
{
|
||||||
string data = response.Content.ReadAsStringAsync().Result;
|
string data = response.Content.ReadAsStringAsync().Result;
|
||||||
modelList = JsonConvert.DeserializeObject<List<Articoli>>(data);
|
modelList = JsonConvert.DeserializeObject<List<Articoli>>(data);
|
||||||
//modelList = modelList.Where(x => x.tcdatobs == null).ToList();
|
modelList = modelList.Where(x => x.DataObso == null).ToList();
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(searchString))
|
if (!string.IsNullOrEmpty(searchString))
|
||||||
{
|
{
|
||||||
@ -305,6 +305,7 @@ namespace VirtualTask.Controllers
|
|||||||
|
|
||||||
token = helper.GetStringValue("tok");
|
token = helper.GetStringValue("tok");
|
||||||
|
|
||||||
|
|
||||||
apiUrl = helper.GetStringValue("apiUrl");
|
apiUrl = helper.GetStringValue("apiUrl");
|
||||||
admin = helper.GetStringValue("admin");
|
admin = helper.GetStringValue("admin");
|
||||||
ViewBag.Admin = admin;
|
ViewBag.Admin = admin;
|
||||||
|
|||||||
@ -63,5 +63,7 @@ namespace VirtualTask.Models
|
|||||||
|
|
||||||
[Display(Name = "Descrizione suppl.")]
|
[Display(Name = "Descrizione suppl.")]
|
||||||
public string? Desc_sup { get; set; }
|
public string? Desc_sup { get; set; }
|
||||||
|
public DateTime? DataObso { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -46,7 +46,6 @@
|
|||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th hidden>Azienda</th>
|
|
||||||
<th>Cod. Articolo</th>
|
<th>Cod. Articolo</th>
|
||||||
<th>Descrizione</th>
|
<th>Descrizione</th>
|
||||||
<th>Quantità</th>
|
<th>Quantità</th>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user